Science

Why do we have leap years every four years?

Key takeaways

  • Earth orbits the Sun in about 365.2422 days, not exactly 365, so the calendar drifts without correction.
  • Adding February 29 every four years absorbs the extra quarter-day per year.
  • Century years skip the leap day unless divisible by 400, which keeps the calendar within one day of the Sun for millennia.
A 15th-century manuscript calendar page for February
A calendar page for February from the 1480s, centuries before leap years followed the rules we use todayPhotograph: unknown artists, 1480sImage: Wikimedia Commons

A leap year is a calendar year with an extra day, February 29, added to keep our human-made calendar aligned with Earth's actual orbit around the Sun. We add that day roughly every four years because one trip around the Sun takes about six hours longer than 365 days.

This article explains why we have leap years every four years, including why the year is not a whole number of days, how the leap day fixes the drift, why some century years skip it, and how the rule evolved from Julius Caesar to the modern calendar.

Why the year is not a whole number of days

A calendar year is a human invention: 365 whole days, because calendars need whole days. A solar year is a physical fact: the time Earth takes to complete one orbit around the Sun. According to NASA's Jet Propulsion Laboratory, that orbit takes about 365.2422 days, roughly six hours longer than the 365 days we put on the calendar.

Those six hours do not sound like much, but they accumulate. After one year the calendar is six hours behind the Sun. After two years it is twelve hours behind.

After four years it is a full 24 hours behind, a whole day of drift. If nothing corrected it, the calendar would keep sliding: dates of equinoxes and solstices would shift later each year, and the seasons would detach from their calendar months.

NASA JPL puts the cost of doing nothing in vivid terms: after only a century without leap days, summer would not start until mid-July. Stretch the error further and the calendar becomes useless for farming, festivals, and anything else tied to the seasons.

As Charles Bartlett, a visiting assistant professor at the University of Miami, told the university's news service, "We need that one extra day to kind of bring us back into sync." Without the correction, he explained, the seasonal drift would become visible within a few decades.

The mismatch is not Earth's fault, exactly. The day comes from Earth's spin and the year from its orbit, and there is no physical law saying one must contain a whole number of the other. Calendars actually juggle three motions at once: Earth's spin, Earth's orbit, and the Moon's orbit, which is also why the Moon sometimes appears in the daytime sky.

Jim Lattis, director of UW Space Place at the University of Wisconsin-Madison, told UW-Madison News: "It would be so easy if Earth simply rotated 365 times every time it orbits the sun once, but it doesn't." The fraction left over is what forces every calendar system to do arithmetic.

How the leap day fixes the drift

The fix is beautifully simple. Since the calendar falls behind by about a quarter of a day each year, we add one full day every four years.

Four quarter-days make a whole day, so February 29 absorbs the accumulated drift in one stroke. That is the entire reason leap years come every four years: it is the rhythm that matches the error.

February gets the extra day for historical reasons. In the early Roman calendar, February was the last month of the year, and the leap day was tacked onto the year's end.

Julius Caesar later moved the year's start to January 1, but the extra day stayed in February, where it remains today. Jim Sowell of Georgia Tech's School of Physics notes that the Julian calendar simply added the day to the last month, which is the basis of the tradition.

The system works well enough that most people never notice it working. Leap years are divisible by four: 2024 was one, 2028 is the next. For the average person, the rule "every four years" is the whole story, and it is close enough to correct that the calendar stays glued to the seasons for a human lifetime.

A calendar illustration highlighting the leap day date
A calendar illustration marking the leap day, the extra date that keeps the calendar aligned with Earth's orbitPhotograph: FluffImage: Wikimedia Commons

Why some century years skip the leap day

Here is where the story gets more precise. Earth does not take exactly 365.25 days to orbit the Sun; it takes 365.2422 days, a little less.

Rounding up to a quarter-day and inserting a 24-hour leap day every four years overshoots the true year by about 45 minutes per four-year cycle. That does not sound like much either, but NASA JPL calculates that it adds up to about three days every 400 years.

So the calendar needed a correction to its correction. The rule used today: add a leap day every four years, except in years divisible by 100, unless that year is also divisible by 400. That is why 2000 was a leap year, but 2100, 2200, and 2300 will not be. The century rule trims out just enough leap days to cancel the 45-minute overshoot.

The UCSB Science Line summarizes the modern procedure the same way: leap days come every four years, except on years ending in 00 unless the year is divisible by 400, because the solar year is 365.2422 days rather than exactly 365.25. With this rule in place, the Gregorian calendar drifts from the true solar year by only about one day every few thousand years. The same habit of careful measuring explains everyday sky phenomena too, from why the sky glows orange at sunrise and sunset to the arithmetic behind the calendar. Gizmodo's breakdown of the math puts the residual error at roughly one day every 8,000 years, which is close enough that no one alive today needs to worry about the next correction.

A short history of leap years

People have been wrestling with this fraction for thousands of years. The early Roman calendar tried to fix the drift by inserting entire extra months, an irregular and political process that left the calendar badly misaligned with the seasons.

Roman emperor Julius Caesar addressed the problem in 46 BCE with advice from Egyptian astronomers, who had measured the year at very close to 365.25 days. According to the U.S.

Naval Observatory, Caesar's reform added an extra day to February every four years, creating the Julian calendar with its 365.25-day average year. This was a huge improvement, but because the true year is 365.2422 days, the Julian calendar ran about 11 minutes long each year. The Naval Observatory notes that after just 128 years, the calendar had drifted a full day away from the vernal equinox.

By the 16th century, the drift had grown to ten days, and the date of Easter was sliding away from spring. In 1582, Pope Gregory XIII instituted the Gregorian calendar reform, which dropped ten days to restore alignment and introduced the century rule described above. Jim Lattis told UW-Madison News that this is the calendar the world uses today, and its century-year exception is what finally tamed the fraction.

The result is the calendar on your wall: simple enough to teach in a sentence, precise enough to outlast civilizations. And like the difference between a theory and a hypothesis, the leap year rule is a good reminder that science often advances by measuring something carefully and then adjusting the model to fit.

A medieval missal page showing the February calendar
A February calendar page from a medieval missal by Bartolommeo Caporali, when calendars tracked feast days long before the Gregorian reformPhotograph: Bartolommeo CaporaliImage: Wikimedia Commons

Frequently asked questions

Why is the leap day in February?

In the early Roman calendar, February was the last month of the year, so the extra day was added at the year's end. When Julius Caesar moved the start of the year to January 1, the leap day stayed in February, and the tradition never moved.

Is 2100 a leap year?

No. Although 2100 is divisible by four, it is also divisible by 100 and not by 400, so the century rule skips it. The same applies to 2200 and 2300. The year 2000 was a leap year because it is divisible by 400.

What happens if we stop adding leap days?

The calendar would drift about six hours per year against the seasons. NASA JPL calculates that after a century, summer would not begin until mid-July, and the drift would keep growing from there.

Why not just make every year 365.25 days long?

Calendars need whole days; there is no such thing as a quarter of a calendar date. The leap day is the practical way to average 365.25 days per year over a four-year cycle while keeping every individual year a whole number of days.

Do other calendars have leap years?

Many do, in different forms. Lunar and lunisolar calendars, such as the Hebrew and Chinese calendars, add whole leap months periodically to stay aligned with the solar year, a bigger version of the same problem our calendar solves with one day.

The bottom line

We have leap years every four years because Earth's orbit takes about 365.2422 days, and the leftover quarter-day per year adds up to a full day every four years. February 29 absorbs that drift, and the century rule fine-tunes it so the calendar stays aligned with the Sun for thousands of years. It is one of humanity's oldest pieces of applied astronomy, and it still works every time February gets its extra day.

Taggedleap yearcalendarastronomytime