KnowledgeExplainer

Why Do We Have Leap Years? The Science Behind 29 February

Every four years February gets an extra day, but not always. Here is why leap years exist, the rule for working them out, and why 1900 was not one but 2000 was.

A calendar with red push pins: why do we have leap years and an extra day in February
Photo: Towfiqu barbhuiya / Unsplash

Why do we have leap years? Because the Earth takes about 365.2422 days, not exactly 365, to orbit the Sun. A normal calendar year of 365 days falls behind by almost six hours each year, so without a correction the seasons would drift by about a day every four years. Adding an extra day, 29 February, every fourth year brings the calendar back in line. Because that slightly overcorrects, the Gregorian calendar also skips three leap days every 400 years. The next leap year is 2028.

In this article
365.2422days in a tropical year
366days in a leap year
2028next leap year
97leap years every 400 years

What is a leap year?

A leap year is a year with 366 days instead of 365. The extra day, the leap day, is added at the end of February, which gets 29 days instead of 28.

Why do we have leap years? The tropical year

The tropical year is the time from one spring equinox to the next, the cycle that sets the seasons. It lasts about 365 days, 5 hours, 48 minutes and 45 seconds. If calendars ignored the extra hours, the date of the equinox would slip by about 24 days every century, and over a few hundred years summer months would end up in winter.

The Earth seen from space
One trip around the Sun takes about 365 days, 5 hours and 49 minutes. Photo: NASA / Unsplash

From the Julian calendar to the Gregorian calendar

The Julian calendar

In 46 BCE, Julius Caesar introduced the Julian calendar, which added a leap day every four years. That assumes a year of exactly 365.25 days, about 11 minutes too long. Over centuries, those minutes added up: by the 1500s, the calendar was about 10 days out of step with the equinox.

The Gregorian calendar

In 1582, Pope Gregory XIII introduced the reformed calendar we use today. It removed 10 days at once (Thursday 4 October 1582 was followed by Friday 15 October) and changed the rule so that most century years are no longer leap years. Countries adopted it at different times; Britain and its colonies switched in 1752, and the calendar later spread across South Asia under British rule. The Gregorian calendar is now the world’s civil calendar, including in Pakistan.

The leap year rule: how to calculate a leap year

  1. If a year is divisible by 4, it is a leap year…
  2. …unless it is divisible by 100, in which case it is not…
  3. …unless it is also divisible by 400, in which case it is.
Year Divisible by 4? By 100? By 400? Leap year?
2024 Yes No – Yes
1900 Yes Yes No No
2000 Yes Yes Yes Yes
2100 Yes Yes No No

That is why 1900 was not a leap year but 2000 was, and why 2100 will not be one. This rule gives 97 leap years every 400 years and an average year of 365.2425 days, within about 27 seconds of the tropical year.

List of leap years

Recent and upcoming leap years: 2012, 2016, 2020, 2024, 2028, 2032, 2036 and 2040.

Leap year birthday

People born on 29 February, sometimes called “leaplings”, have a true birthday only every four years. In non-leap years, most celebrate on 28 February or 1 March. For legal purposes, rules about which date counts differ between countries.

Why February has 28 days

February’s short length dates back to the Roman calendar. When the Romans added January and February to an older 10-month calendar, February was left as the shortest month, and it was the month in which extra days were inserted. A popular story says Emperor Augustus took a day from February to lengthen August; historians consider this a myth.

Leap second: a different fix

A leap second is a separate adjustment to clock time, not the calendar, used because the Earth’s rotation is slightly irregular. Twenty-seven leap seconds were added between 1972 and 2016. In 2022, the world’s measurement authority voted to stop adding leap seconds by 2035.

Leap years in the Islamic calendar

The Hijri calendar is lunar and does not try to keep pace with the seasons, so it has no leap day for that purpose. Tabular (calculated) versions of the Islamic calendar, however, add a day to Dhul Hijjah in 11 years out of every 30, to keep months in line with the Moon. Read more in our Hijri calendar guide.

Frequently asked questions

What is a leap year?

A year with 366 days, with an extra day added as 29 February.

Why do we have leap years?

Because the Earth takes about 365.2422 days to orbit the Sun, and the extra day keeps the calendar in step with the seasons.

How many days are in a leap year?

366 days.

Is 2028 a leap year?

Yes. 2028 is the next leap year after 2024.

When is the next leap year?

2028, followed by 2032 and 2036.

What is the leap year rule?

Divisible by 4, except century years, which must also be divisible by 400.

Why was 1900 not a leap year?

It is divisible by 100 but not by 400, so under the Gregorian rule it was not a leap year.

Is 2100 a leap year?

No. Like 1900, it is divisible by 100 but not by 400.

What is the difference between the Julian calendar and the Gregorian calendar?

The Julian calendar adds a leap day every four years without exception; the Gregorian calendar skips three of them every 400 years.

What is a leap day?

29 February, the extra day added in a leap year.

What is a leap second?

An extra second occasionally added to clock time to match the Earth’s rotation. They are due to be discontinued by 2035.

Does the Islamic calendar have leap years?

Tabular versions add a day to Dhul Hijjah in 11 of every 30 years; the sighting-based calendar used for religious dates does not need them.

Sources & References

  1. Royal Museums Greenwich, Which years are leap years and can you have leap seconds?, 2026
  2. NASA Space Place, What is a leap year?, 2026
  3. Encyclopaedia Britannica, Gregorian calendar, 2026
  4. BIPM, Resolution 4 of the 27th CGPM (2022) on the use and future development of UTC, 2022