How Leap Years Work

Earth’s orbital year is roughly 365.2422 days, so the Gregorian calendar inserts February 29 according to a three-part divisibility rule.

The Three Gregorian Leap-Year Rules

Leap-day handling matters whenever an elapsed-day or birthday calculation crosses February 29. The Gregorian rules determine whether that date exists in the year being evaluated.

  1. Divisible by 4: A year is a leap year if it divides evenly by 4 (such as 2020, 2024, 2028).
  2. Century Exception (Divisible by 100): Years divisible by 100 are not leap years unless they pass Rule 3. Thus, 1900 and 2100 are common years with 365 days.
  3. 400-Year Exception (Divisible by 400): Century years divisible by 400 are leap years—so 1600 and 2000 were leap years with 366 days.

Century Year Reference Table

Year Divisible by 4? Divisible by 100? Divisible by 400? Leap Year?
1900 Yes Yes No No (365 days)
2000 Yes Yes Yes Yes (366 days)
2024 Yes No No Yes (366 days)
2100 Yes Yes No No (365 days)

See how leap days impact total elapsed days in our Age in Days Calculator.

Frequently Asked Questions

Why was 2000 a leap year while 1900 was not?

Both 1900 and 2000 are century years divisible by 100, but only 2000 is evenly divisible by 400.