Why do we have leap years?
Earth's orbit does not take a whole number of days, so calendars add a spare day now and then. The exact rule is designed to keep the seasons from drifting.
Every four years, February grows an extra day. Most people know this, but fewer know why, or why the rule has odd exceptions: the year 2000 was a leap year, while 1900 and 2100 are not. The reason comes down to a small mismatch between how we count time and how the Earth actually moves.
The year does not fit the day#
A calendar year has to contain a whole number of days, because nobody wants a year to end at lunchtime. But the cycle of the seasons, called the tropical year, is about 365.2422 days long. Sources quote the figure with slightly different precision, but they all agree on roughly this value.
If a calendar always used 365 days, it would fall behind the seasons by about 0.2422 of a day every year. That is nearly a quarter of a day, so after four years the calendar would be almost a full day out of step. Over a few centuries, the months would drift noticeably against the seasons, and midsummer would slide towards spring.
A day every four years#
The leftover fraction is close to one quarter, so adding one extra day every four years roughly cancels the drift. That extra day is February 29, and a year that has it is called a leap year.
The older calendar, known as the Julian calendar, used exactly this rule: every fourth year was a leap year. But a quarter of a day is slightly more than 0.2422. The difference is 0.25 minus 0.2422, which is 0.0078 of a day, or about 11 minutes each year. That sounds tiny, but it adds up at the rate of about one day every 128 years.
The fix that gave us the exceptions#
By the sixteenth century, the Julian calendar had drifted by days against the seasons. In 1582 a reformed calendar, the Gregorian calendar, adjusted the rule. It keeps leap years every four years, with one exception: a year ending in 00 is only a leap year if it is divisible by 400.
Here is how that works in practice:
- 2024 is a leap year, because it is divisible by 4 and is not a century year.
- 1900 and 2100 are not leap years, because they are century years that cannot be divided by 400.
- 2000 was a leap year, because 2000 is divisible by 400.
Out of every 400 years, the Gregorian calendar has 97 leap years instead of the 100 the Julian calendar would give. That makes the average calendar year 365 plus 97 divided by 400 days, or 365.2425 days.
How close is close enough?#
Compare 365.2425 with the tropical year of roughly 365.2422. The difference is about 0.0003 of a day each year, which works out to a little under half a minute, around 26 seconds. At that rate it would take on the order of three thousand years for the calendar to slip a full day. So the calendar is not perfect, but it is remarkably good for a rule you can remember in one sentence.
The takeaway#
The leap year is a small piece of bookkeeping that corrects an unavoidable mismatch between a cosmic cycle and a human one. The next time February 29 appears, you can think of it as the calendar quietly catching up with the Sun.
Sources#
- U.S. Naval Observatory, Astronomical Applications Department, Leap Years. https://aa.usno.navy.mil/faq/leap_years
- NASA Jet Propulsion Laboratory, Doing the Math on Why We Have Leap Day. https://www.jpl.nasa.gov/edu/news/doing-the-math-on-why-we-have-leap-day/
- Encyclopaedia Britannica, Why Are There Leap Years? https://www.britannica.com/topic/Why-Are-There-Leap-Years
- timeanddate.com, Leap Years. https://www.timeanddate.com/date/leapyear.html