How to use the leap year calculator
- Enter the year you want to test in the first field.
- Read the result row to see whether it is a leap year and why.
- Check the next and previous leap year rows for context.
- Optionally fill in both Range start and Range end to get a separate list of every leap year between two years.
How the leap year rule works
The Gregorian calendar uses a three-part test to decide whether February gets 29 days. A year is a leap year if:
- It is divisible by 4.
- But if it is also divisible by 100, it is not a leap year.
- Unless it is divisible by 400, in which case it is a leap year.
Take 2024 as an example. 2024 divided by 4 equals 506 exactly, so it passes the first test. It is not a century year, so the second test does not apply. Therefore 2024 is a leap year. Now consider 1900: it divides evenly by 4 and by 100, but 1900 divided by 400 is 4.75, so it fails the third test and is not a leap year. The year 2000 passes all three tests because 2000 / 400 = 5 exactly.
Common leap years reference table
This table lists several well-known years and their status according to the leap year checker logic above.
| Year | Leap year? | Reason |
|---|---|---|
| 1896 | Yes | Divisible by 4, not by 100 |
| 1900 | No | Divisible by 100, not by 400 |
| 1904 | Yes | Divisible by 4, not by 100 |
| 2000 | Yes | Divisible by 400 |
| 2020 | Yes | Divisible by 4, not by 100 |
| 2024 | Yes | Divisible by 4, not by 100 |
| 2100 | No | Divisible by 100, not by 400 |
Why we need leap years
A solar year (the time Earth takes to orbit the Sun) lasts roughly 365.2422 days. If calendars used exactly 365 days every year, the seasons would drift by about one day every four years. Adding an extra day every four years compensates for most of that quarter-day fraction, bringing the average calendar year to 365.25 days.
That slight overcorrection (0.0078 days per year) accumulates, which is why the century exception exists. Skipping three leap days every 400 years brings the average to 365.2425 days, close enough that the calendar stays aligned with the seasons for thousands of years. This system was introduced by Pope Gregory XIII in 1582, replacing the older Julian calendar that only used the "divisible by 4" rule.
Using the range feature
Beyond checking a single year, this tool acts as a leap year calculator for entire spans. Enter a start and end year to get a count in the results table and a separate list of every leap year in that interval. The span is limited to 2,000 years to keep the page responsive. This is useful when planning long-term schedules, verifying historical timelines, or building datasets that depend on accurate day counts.
If you need to measure exact durations rather than just identify leap years, pair this tool with a days between dates calculator or a date calculator. For age-related math, a chronological age calculator handles the month and day arithmetic automatically.
Edge cases and common mistakes
People often assume every fourth year is a leap year without exception. The century rule catches many off guard: 1700, 1800, 1900, 2100, 2200 and 2300 are all common years despite being divisible by 4. Only years like 1600, 2000 and 2400 survive the 400-division test.
Negative years (BCE dates) follow the same mathematical rules in the proleptic Gregorian calendar, so year -4 (which historians call 5 BCE) is a leap year. Very large years work identically because the test relies only on modular arithmetic, not on lookup tables. When using this leap year checker, always enter whole integers; fractional years have no meaning in the Gregorian system.
Worked examples
| Example | Input | Result |
|---|---|---|
| Is 2024 a leap year? | Year: 2024 | Is 2024 a leap year?: Yes; Rule explanation: Divisible by 4 and not by 100, so it is a leap year.; Previous leap year: 2020; Next leap year: 2028 |
| Century year 1900 | Year: 1900 | Is 1900 a leap year?: No; Rule explanation: Divisible by 100 but not 400, so it is not a leap year.; Previous leap year: 1896; Next leap year: 1904 |
| Year 2000 (divisible by 400) | Year: 2000 | Is 2000 a leap year?: Yes; Rule explanation: Divisible by 400, so it is a leap year.; Previous leap year: 1996; Next leap year: 2004 |
| List leap years 2000 to 2030 | Year: 2024; Range start (optional): 2000; Range end (optional): 2030 | Is 2024 a leap year?: Yes; Rule explanation: Divisible by 4 and not by 100, so it is a leap year.; Previous leap year: 2020; Next leap year: 2028; Leap years from 2000 to 2030: 8 found |
FAQ
Is 2024 a leap year?
Yes. 2024 is divisible by 4 and is not a century year, so February 2024 has 29 days.
Why is 1900 not a leap year?
Although 1900 is divisible by 4, it is also divisible by 100 but not by 400. The Gregorian rule excludes such century years to correct for the slight overcounting of adding a leap day every four years.
How often do leap years occur?
Usually every four years, but three out of every four century years are skipped. Over a 400-year cycle there are exactly 97 leap years.
What is the next leap year after 2024?
The next leap year is 2028. The tool above shows this automatically when you enter any year.
Was the year 2000 a leap year?
Yes. Even though 2000 is a century year, it is divisible by 400, so it qualifies as a leap year under the Gregorian rule.
Does this tool work for BCE or negative years?
Yes. The calculator applies the same mathematical rule to negative integers, following the proleptic Gregorian calendar convention.
Can I use this to plan recurring events?
Absolutely. Use the range fields to list all leap years in your planning window, then cross-reference with a tool to add days to a date for precise scheduling.