Leap Year Calculator
Enter a year to find out whether it is a leap year and why.
Your calculation is performed in your browser.How it works
The calculator applies the standard Gregorian calendar leap year rule to the year you enter, and also searches outward to find the nearest leap years before and after it.
Formula & methodology
A year is a leap year if it is divisible by 4, unless it is also divisible by 100 — in which case it is only a leap year if it is also divisible by 400.
Worked example
2000 was a leap year (divisible by 400), but 1900 was not (divisible by 100 but not 400).
Important notes
- —The rule correctly separates common "divisible by 100" exceptions from the rarer "divisible by 400" exception, which is where most simple leap-year checks go wrong.
