Leap Year Checker
Check whether any year is a leap year under the Gregorian rules, with the next and previous leap years and the reasoning shown.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Leap Year Checker does
Use this leap year checker to check whether any year is a leap year under the Gregorian rules, with the next and previous leap years and the reasoning shown. Fill in the single field and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for checking whether a specific year has 366 days. For a second version of this leap year checker, see FreeToolStation.org.
How to use it
- Enter any year.
- The verdict appears with the specific rule that decided it.
- The nearest leap years either side are shown for reference.
- February length is confirmed for date arithmetic.
How it works
A solar year is about 365.2422 days, so adding a day every four years overcorrects slightly — the Julian calendar drifted by roughly three days every four centuries. The Gregorian reform of 1582 fixed it by skipping the leap day in century years not divisible by 400.
That is why 1900 was not a leap year and 2000 was, which is a classic source of software bugs: code that checks only divisibility by four was wrong in 1900 and will be wrong again in 2100.
The remaining error is about one day in 3,200 years, which nobody has yet needed to correct.
When to use it
- Checking whether a specific year has 366 days.
- Validating date-handling logic against the century rule.
- Settling whether a 29 February date is valid.
Common mistakes to avoid
- Testing only for divisibility by 4, which gets century years wrong.
- Assuming every year divisible by 100 is not a leap year — 2000 was.
Frequently asked questions
Why was 1900 not a leap year?
Because the Gregorian rule skips century years unless they are also divisible by 400. 1900 is not, so it had 365 days. 2000 is divisible by 400, so it had 366.
When is the next skipped leap year?
2100. It is divisible by 4 and by 100 but not by 400, so February will have 28 days.