Epacts can also be used to relate dates in the lunar calendar to dates in the common solar calendar.
Solar and lunar years A
solar calendar year has 365 days (366 days in
leap years). A
lunar calendar year has 12 lunar months which alternate between 30 and 29 days for a total of 354 days (in leap years, one of the lunar months has a day added; since a lunar year lasts a little over days, a leap year arises every second or third year rather than every fourth.) If a solar and lunar year start on the same day, then after one year the start of the solar year is 11 days after the start of the lunar year. These excess days are epacts, and have to be added to the lunar year to complete the solar year; or from the complementary perspective they are added to the day of the solar year to determine the day in the lunar year. After two years the difference is 22 days, and after 3 years, 33 days. Whenever the epact reaches or exceeds 30 days, an extra (embolismic or
intercalary) lunar month is inserted into the lunar calendar, and the epact is reduced by 30 days. The calculation of the epacts ignores solar leap years. This ignoring requires an extra day to be added to any lunar year that contains February 29, so that the next solar year begins the calculated number of days after the next lunar year.
19-year cycle The
solar calendar year is slightly shorter than days, while the
synodic month, on average, is slightly longer than days meaning both are non-integers. This gets corrected in the following way. Nineteen tropical years are deemed to be as long as 235 synodic months (
Metonic cycle). A cycle can last 6939 or 6940 full days, depending on whether there are 4 or 5 leap days in this 19-year period. After 19 years the lunations should fall the same way in the solar years, so the epact should repeat after 19 years. However, and this is not an integer multiple of the full cycle of 30 epact numbers ( not 0). So after 19 years the epact must be corrected by +1 in order for the cycle to repeat over 19 years. This is the ("leap of the moon"). The sequence number of the year in the 19-year cycle is called the
golden number. The extra 209 days fill 7 embolismic months, for a total of
Lilian (Gregorian) epacts When the
Gregorian calendar reform was
instituted in 1582, the lunar cycle previously used with the Julian calendar to complete the calculation of Easter dates was adjusted also, in accordance with a (modification of the) scheme devised by
Aloysius Lilius. There were two adjustments to the old lunar cycle: • a "solar equation", decrementing the epact by 1, whenever the Gregorian calendar drops a leap day (3 times in 400 calendar years), and • a "lunar equation", incrementing the epact by 1, 8 times in 2500 calendar years (7 times after an interval of 300 years, and the 8th time after an interval of 400 years). The revised "solar equation" was intended to adjust for the Gregorian change in the solar calendar, if they were applied at 1 January of the Julian calendar instead of the Gregorian calendar as the reformers implemented it; moreover the corrections to the solar calendar are leap days, whereas there are 30 epact values for a mean lunar month of and a bit: Therefore changing the epact by 1 day does not exactly compensate for a dropped leap day. The "lunar equation" only approximately adjusts for what had (by 1582) been seen after many centuries of recording, that the Moon moves a little faster than the expectation of the rate used for it in the old lunar cycle. By 1582 it was noted (for example, in the text of the bull
Inter gravissimas itself) that the new and full moons were at that point occurring "four days and something more" sooner than the old lunar cycle indicated. The explicit formula for the numerical value of the Gregorian epact can be derived from the solar and lunar equations. For a given year y, define, respectively, the century number C_y and the golden number G_y, \begin{align} C_y&=\lfloor y/100 \rfloor +1,\\ G_y&=y \mod 19 +1. \end{align} The epact E_y is then given by E_y=11 G_y -\left\lfloor \frac{3 C_y}{4} \right\rfloor + \left\lfloor \frac{ 8C_y+5}{25}\right\rfloor +27 \mod 30. For the century number C_y is . For the golden number G_y is . The Gregorian epact of is ( - + + 27) mod 30 = mod 30 = . == History ==