← Guides
All Calendars Now

How leap years work

Every four years, except century years, except those divisible by 400. Where that rule comes from, what it is correcting, and how other calendars solve the same problem.

The short answer

A year is 365.2422 days, not 365 — so a calendar of whole days falls behind by about a quarter-day annually. A leap day every four years overcorrects slightly, which is why the Gregorian rule skips century years unless they divide by 400. That leaves an error of about one day in 3,200 years. The Julian calendar, which leaps every fourth year with no exceptions, has drifted thirteen days since the two parted ways.

The problem is a remainder

The earth does not take a whole number of days to go round the sun. It takes 365 days, 5 hours, 48 minutes and 45 seconds — 365.2422 days. A calendar can only deal in whole days, so every ordinary year runs about six hours fast, and the seasons slide.

  1. Add a day every 4 yearsCorrects for 0.25, but the true figure is 0.2422 — so this now runs slow by about 11 minutes a year.
  2. Skip it in century yearsRemoves three leap days every 400 years, which overcorrects slightly the other way.
  3. Except when divisible by 400Puts one back. 1900 was not a leap year; 2000 was. The average lands at 365.2425 days.

Why Julian and Gregorian are thirteen days apart

The Julian calendar uses step one and stops. Eleven minutes a year is nothing in a lifetime and a great deal over sixteen centuries: by 1582 the spring equinox had drifted ten days from where the church had fixed it, and Easter was being calculated against a date that no longer matched the sky.

The Gregorian reform deleted ten days outright and changed the rule so it would not happen again. Not everyone adopted it at once — Britain waited until 1752, by which point the gap was eleven days — and several Orthodox churches keep the Julian reckoning still, which is why Orthodox Christmas falls on 7 January.

Other calendars, other corrections

Every solar calendar faces the same remainder, and they do not all solve it arithmetically.

CalendarHow it handles the quarter-day
GregorianArithmetic: every 4 years, not centuries, unless divisible by 400
JulianArithmetic: every 4 years, no exceptions — hence the drift
Persian (Solar Hijri)Observation: the year begins at the actual spring equinox in Tehran
Ethiopian & CopticArithmetic: a 13th month of 5 days, 6 in a leap year
BaháʼíObservation: Ayyám-i-Há flexes to hold Naw-Rúz at the equinox
An observational rule cannot drift, because it is re-derived from the sky each year. The price is that you cannot compute it far ahead without an ephemeris.

Common questions

Was 2000 a leap year?
Yes. It is divisible by 400, so it takes the exception to the exception. 1900 was not, and 2100 will not be.
How accurate is the Gregorian calendar?
Its average year is 365.2425 days against a true 365.2422 — an error of about one day in 3,200 years.
Why is Orthodox Christmas on 7 January?
It is 25 December on the Julian calendar, which now runs thirteen days behind the Gregorian one.

Last reviewed August 12, 2026 · Spot an error?

← See every calendar, right now