Leap Year Checker

A leap year occurs when an extra day (February 29) is added to the calendar to keep it synchronized with Earth's orbit around the Sun. The Gregorian calendar uses a three-part rule: a year is a leap year if it is divisible by 4, except for century years (ending in 00), which must be divisible by 400. This is why 2000 was a leap year but 1900 was not. Our leap year checker explains exactly which rule applies to any year you enter, helps you find the next upcoming leap year, browse past leap years, and list every leap year between two dates.

star 4.9
New
Quick:

calendar_month Upcoming Leap Years

2024 ✓ Was a leap year
2028 ✓ Next leap year
2032 ✓ Leap year
2036 ✓ Leap year
2040 ✓ Leap year
2044 ✓ Leap year
2096 ✓ Leap year
2100 ✗ NOT a leap year

rule The 3-Part Rule

1.

Divisible by 4

2024 ÷ 4 = 506 ✓ — base rule

2.

Except century years

1900 ÷ 100 = 19 ✗ — exception

3.

Unless divisible by 400

2000 ÷ 400 = 5 ✓ — override!

(y%4==0 && y%100!=0)
|| y%400==0

lightbulb Quick Facts

  • Leap year = 366 days (extra Feb 29)
  • Earth's year ≈ 365.2425 days
  • 97 leap years every 400 years
  • 2100, 2200, 2300 are NOT leap years
  • Next 400-year leap: 2400

The Formula

The Gregorian calendar corrects for the fact that Earth takes approximately 365.2425 days to orbit the Sun. Adding one day every 4 years slightly overcorrects, so century years (divisible by 100) skip the leap day, except every 400 years when the correction is needed again.

Leap year if: (year % 4 == 0 AND year % 100 ≠ 0) OR (year % 400 == 0)

lightbulb Variables Explained

tips_and_updates Pro Tips

1

The year 2000 was a leap year because it is divisible by 400 — this confused many early computers.

2

Leap years always fall on even years ending in 0, 4, 8, or (sometimes) 2 and 6.

3

February 29 birthdays are celebrated on February 28 or March 1 in non-leap years depending on local tradition.

4

The next century-year exception is 2100 — NOT a leap year despite being 4 years after 2096.

5

Adding a leap day every 4 years corrects for ~6 hours/year Earth takes beyond 365 days.

A leap year checker determines whether any given year contains an extra day — February 29 — based on the Gregorian calendar's precise three-part rule. Earth takes approximately 365.2422 days to complete one orbit around the Sun, meaning a standard 365-day year gradually drifts out of sync with astronomical seasons. Without correction, the calendar would shift by about one full day every four years, and after several centuries, winter would arrive in what the calendar calls summer. The leap year system adds an extra day every four years to compensate, but this slightly overcorrects (adding 0.0078 days too many per cycle), so century years are excluded unless they are divisible by 400. The complete rule: a year is a leap year if it is divisible by 4, unless it is also divisible by 100, unless it is also divisible by 400. This elegant algorithm reduces the average calendar year to 365.2425 days, keeping seasonal alignment accurate to within one day per 3,236 years.

The Three-Part Gregorian Leap Year Algorithm

The leap year rule consists of three nested conditions that progressively refine calendar accuracy. First, any year divisible by 4 is a candidate leap year — this basic cycle corrects for the 0.2422-day annual surplus. Second, century years (divisible by 100) are excluded from leap years because the four-year correction overcounts by 0.0078 days per cycle, accumulating to about 3 extra days every 400 years. Third, years divisible by 400 are restored as leap years, putting back one of those three skipped days. The result: 400 years contain exactly 97 leap years (not 100), producing an average year length of 365.2425 days. Recent examples illustrate the rule: 2024 was a leap year (divisible by 4, not a century year). 1900 was NOT a leap year (divisible by 100 but not 400). 2000 WAS a leap year (divisible by 400). The next century-year exception is 2100, which will not be a leap year despite being divisible by 4.

Historical Origins and Calendar Reform

The Julian calendar, introduced by Julius Caesar in 45 BCE, used a simpler rule: every fourth year is a leap year, period. This produced an average year of 365.25 days — close but not close enough. Over 1,600 years, the Julian calendar drifted 10 days from astronomical reality. By the 1500s, the spring equinox fell on March 11 instead of March 21, disrupting the calculation of Easter. Pope Gregory XIII commissioned the Gregorian calendar reform in 1582, which skipped 10 days (October 4 jumped to October 15) and introduced the century/400-year exceptions. Catholic countries adopted it immediately, but Protestant and Orthodox nations resisted for decades to centuries — Britain and its colonies did not switch until 1752, requiring an 11-day skip by that point. Russia did not adopt the Gregorian calendar until 1918. Today, the Gregorian calendar is the international civil standard used by virtually every country.

Leap Year Facts and Edge Cases

People born on February 29 — called leaplings — face unique practical challenges. Approximately 4.1 million people worldwide have a February 29 birthday, representing about 1 in 1,461 people. In most legal jurisdictions, leaplings age on March 1 in non-leap years for purposes like driver's licenses and voting eligibility, though some countries use February 28. The odds of being born on February 29 are slightly less than 1/1,461 because hospitals historically scheduled fewer induced deliveries and cesarean sections on leap day. Programmers must handle leap years carefully — the 2000 bug concerned whether systems would correctly identify 2000 as a leap year (divisible by 400) rather than excluding it as a century year. Leap seconds, a separate concept, are occasionally added to UTC to account for the slowing of Earth's rotation, but these are unrelated to the leap year calendar correction.

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.