Leap Year Checker

Check if any year is a leap year or find all leap years in a date range. Includes the Gregorian rules, century exceptions, and why leap years exist.

Enter your values above to see the results.

Tips & Notes

  • A year is a leap year if divisible by 4, EXCEPT century years (divisible by 100), EXCEPT years divisible by 400. So 1900 was not a leap year but 2000 was.
  • The next leap year after 2024 is 2028 — they occur every 4 years except for century years not divisible by 400.
  • If you were born on February 29, your official legal birthday in non-leap years is February 28 in most jurisdictions, though some use March 1.
  • The Gregorian calendar was adopted in 1582 — dates before then used the Julian calendar which had a simpler leap year rule (every 4 years without exceptions).
  • Software date libraries handle leap years automatically, but manual date arithmetic must account for February having 28 or 29 days depending on the year.

Common Mistakes

  • Treating all years divisible by 4 as leap years — this ignores the century exception. 1900 was divisible by 4 but was NOT a leap year. Software using only the divide-by-4 rule incorrectly includes 1900, 2100, 2200.
  • Assuming the leap year rule applies to all calendar systems — the Julian calendar (used before 1582) adds a leap year every 4 years without exception, making it less accurate than the Gregorian system.
  • Not accounting for the extra day in a leap year when calculating date differences spanning February — a period from January 1 to March 1 is 59 days in a non-leap year and 60 days in a leap year.
  • Confusing leap year with the year having 366 days generally — only February 29 is added; all other months retain their standard length. A leap year has 29 days in February and 31 or 30 in all other months.
  • Using 365.25 days per year for long-range calculations instead of 365.2425 — the century rule makes the true average 365.2425, not 365.25. Over centuries, this 0.0075-day difference becomes significant.

Leap Year Checker Overview

A leap year has 366 days instead of 365, with February 29 inserted as the extra day. Leap years exist to keep the Gregorian calendar synchronized with Earth's orbit around the Sun, which takes approximately 365.2422 days — not exactly 365. Without correction, the calendar would drift by one full day every 4 years, shifting seasons by a month every 130 years.

The leap year rule — four conditions applied in sequence:

A year is a leap year if: divisible by 4 AND (not divisible by 100 OR divisible by 400)
EX: 2024 ÷ 4 = 506 exactly → leap year ✓ | 1900 ÷ 4 = 475 ✓ but ÷ 100 = 19 → NOT leap ✗ | 2000 ÷ 400 = 5 → leap year ✓
Leap years: past and future reference table:
DecadeLeap YearsNon-Leap Century YearNote
2000s2000, 2004, 20082000 was leap (÷400)
2010s2012, 2016Standard 4-year pattern
2020s2020, 2024, 20282028 is next after 2024
2030s2032, 2036Standard pattern
2040s2040, 2044, 2048Standard pattern
2090s–2100s20962100 is NOT a leap yearCentury exception applies
2390s–2400s2396, 24002400 IS leap (÷400)
Why February and why 29 days?
Calendar FactDetailHistorical Reason
February has 28/29 daysShortest month in Gregorian calendarRoman calendar originally had 10 months; February and January added by King Numa
Leap day is Feb 29Added to end of shortest monthFebruary was the last month in the original Roman calendar
Solar year = 365.2422 daysNot exactly 365.25Difference = 0.0078 days/year → century rule corrects this
400-year cycle = 146,097 daysExactly 20,871 weeksCalendar repeats exactly every 400 years on the same weekday
Gregorian accuracyOff by 1 day every ~3,030 yearsMore accurate than Julian (1 day off every 128 years)
The century rule (skipping the leap year in 1900, 1800, 1700, 1500) catches most people by surprise because living humans have only experienced one century year — 2000 — which was a leap year (divisible by 400). The next century non-leap year is 2100, meaning anyone alive today will not personally experience this exception in a way that affects calendar calculations they perform today. But software developers, historians, and actuaries working with date ranges spanning 2100 must account for it.

Frequently Asked Questions

Apply the rule in order: Step 1 — is the year divisible by 4? If no, not a leap year. If yes, go to Step 2. Step 2 — is the year divisible by 100? If no, it IS a leap year. If yes, go to Step 3. Step 3 — is the year divisible by 400? If yes, it IS a leap year. If no, it is NOT a leap year. Examples: 2024 ÷ 4 = 506 (pass Step 1) ÷ 100 = 20.24 (fail Step 2, no remainder) — wait, 2024 ÷ 100 = 20.24, not whole → not divisible by 100 → IS a leap year.

Both 2000 and 1900 are divisible by 100 (triggering the century exception that normally skips the leap year). However, 2000 is also divisible by 400 (2000 ÷ 400 = 5 exactly), which overrides the century exception and restores the leap year. 1900 ÷ 400 = 4.75 (not a whole number), so the century exception applies and 1900 was not a leap year. The next century non-leap years are 2100, 2200, and 2300. The next century leap year after 2000 is 2400.

In most centuries there are 24 leap years (years divisible by 4, minus the century year itself which is skipped). In centuries divisible by 400 (1600, 2000, 2400), there are 25 leap years because the century year is also a leap year. The 400-year Gregorian cycle contains exactly 97 leap years: 100 years divisible by 4, minus 4 century years, plus 1 century year divisible by 400 = 97.

Yes, but with different rules. The Julian calendar (predecessor to Gregorian) adds a leap year every 4 years without any century exception — simpler but less accurate (it drifts 1 day every 128 years). The Islamic Hijri calendar adds a leap day 11 times in a 30-year cycle. The Hebrew lunisolar calendar adds an entire leap month (Adar I) 7 times in a 19-year cycle. The Ethiopian calendar (also lunisolar) has a leap year every 4 years, similar to the Julian rule.

Legally, the answer varies by jurisdiction. In the US and UK, February 29 birthdays are generally recognized on February 28 in non-leap years for purposes like turning 18 or 21. Some jurisdictions use March 1. For official purposes (driver license, voting eligibility, passport), confirm the specific rule with the relevant authority. Practically, most institutions accept either February 28 or March 1 celebrations without legal consequence.

Very accurate but not perfect. The Gregorian calendar year averages 365.2425 days, while the actual solar year (tropical year) is 365.2422 days — a difference of 0.0003 days per year. This accumulates to a 1-day error approximately every 3,300 years. The Julian calendar, by comparison, accumulated an error of 1 day every 128 years. Several proposals for further calendar reform exist (the Revised Julian calendar is more accurate than Gregorian), but the Gregorian system remains the international civil standard.