28Maths

Why we have leap years

A year is not a whole number of days. Run a calendar with no leap days, with a leap day every four years and with the rule of 1582, and see where the seasons end up. Then see the days that were skipped to fix it.

Open the almanac

A year is not a whole number of days

The Earth takes about 365 and a quarter days to go once round the Sun. A calendar year has to have a whole number of days. If the calendar ignores the extra quarter, the seasons slip out of place, a little more each year. Leap years are the fix, and the rule for them has changed once, in 1582.

Four pages try it: what happens with no leap days, what a leap day every four years does, why the century rule was added, and the days that were skipped when the calendar was changed. The sums are exact, but the model is simple: the year length is taken as an average. Without a script, each page shows one chart or table.

Page one

With no leap days

The time from one spring equinox to the next is about 365.2422 days. That is called the tropical year. A calendar of 365 days is a quarter of a day short each year, so after four years it is a whole day behind the seasons, and after a hundred years it is about 24 days behind.

Slide the years and watch where the spring equinox falls. It starts on 21 March. Without leap days it creeps later and later, until spring would begin in April, then May.

01326020406080100yearsdays off

After 100 years with no leap days. The spring equinox falls about 24 days later in the calendar, around 14 April.

Page two

Every four years

The Julian calendar added a leap day every fourth year. That gives an average year of 365.25 days, which is very close, but a little too long: 365.25 minus 365.2422 is 0.0078 of a day, about 11 minutes. Now the calendar runs ahead of the seasons, one day every 128 years or so.

Slide the years. It looks like nothing at first. After about 1,300 years the spring equinox has slid about 10 days earlier in the calendar. By 1582 the calendar was about 10 days off.

071304008001,2001,600yearsdays off

After 1,300 years of an average year of 365.25 days. The spring equinox falls about 10 days earlier in the calendar, around 11 March.

Page three

The century rule

In 1582 Pope Gregory XIII changed the rule. A year that divides by 4 is a leap year, except that a year that divides by 100 is not, unless it also divides by 400. So 1900 and 2100 are not leap years, but 2000 was. Over 400 years this leaves out 3 leap days, and the average year becomes 365.2425 days.

Type a year to see the rule at work. The Gregorian rule is only 0.0003 of a day too long each year, so it takes thousands of years to drift by a day. It is about 3 days in 10,000 years.

1900: the Julian rule says leap year (1900 divides by 4, so it is a leap year). The Gregorian rule says not a leap year (1900 divides by 100 but not by 400, so it is not a leap year).

Some years under the Julian and the Gregorian rules
YearJulian ruleGregorian rule
1700leap yearcommon year
1800leap yearcommon year
1900leap yearcommon year
2000leap yearleap year
2024leap yearleap year
2100leap yearcommon year

Counted over 400 years, the Gregorian rule gives an average year of 365.2425 days.

Page four

Days that never were

Changing the rule did not fix the calendar that was already ten days off. So the days were simply skipped. In Catholic countries Thursday 4 October 1582 was followed by Friday 15 October. Ten days never happened.

Not everyone changed at once. Britain and its colonies waited until 1752, by which time 11 days had to go: Wednesday 2 September was followed by Thursday 14 September. Pick a page and see the days crossed out.

October 1582

MoTuWeThFrSaSu123410 days never happened1516171819202122232425262728293031

Catholic countries, 1582. Thursday 4 October was followed by Friday 15 October. Ten days were dropped.

Calendar changes and the days that were dropped
WhereDroppedWhat happened
Catholic countries, 158210 daysThursday 4 October was followed by Friday 15 October. Ten days were dropped.
Britain, 175211 daysWednesday 2 September was followed by Thursday 14 September. Eleven days were dropped.

Key takeaways

  1. The Earth takes about 365.2422 days to go once round the Sun, so a calendar year of 365 days is a quarter day short and the seasons slip.
  2. The Julian calendar added a leap day every 4 years, an average of 365.25 days. It was a little too long, about a day every 128 years, so by 1582 it was about 10 days off.
  3. The Gregorian rule: a year divisible by 4 is a leap year, except years divisible by 100, unless they are divisible by 400. The average year is 365.2425 days.
  4. The Gregorian calendar still drifts, by about 3 days in 10,000 years.
  5. In 1582 ten days were skipped in Catholic countries, and in 1752 eleven in Britain, to catch up with the seasons.

Sources

Most of these sites could not be opened while this page was written, so the facts were checked through search results that quote them. The Julian year of 365.25 days and the Gregorian average of 365.2425, the tropical year of about 365.2422 days, the leap year rule with centuries, 4 October 1582 followed by 15 October, Britain skipping 11 days in September 1752 and a drift of about 3 days in 10,000 years each appeared in at least two places. The sums for the shift of the equinox are year length differences multiplied by years, and the 400 year count of leap days was checked by counting. The sources did not agree on the date for the Netherlands, so the page does not give one. The model uses the average year and ignores that the real tropical year changes a little over time.