Leap Year Calculator
Test cases replayed : 6 of 6 match · Methodology · No outside source listed
Type a year to see whether it is a leap year, and the leap years just before and after it.
Result
Leap year?
Days in the year
- Next leap year
- Previous leap year
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Year: enter 5 or more.
- Read the result: Leap year?; the panel also shows Days in the year, Next leap year and Previous leap year.
How this calculator works
Gregorian calendar rule (in force since 1582, used in the United States since 1752): a year is a leap year if it is divisible by 4, except years divisible by 100, which are leap years only if they are also divisible by 400.
So 2024 and 2028 are leap years, 1900 and 2100 are not, and 2000 was. Years before 1582 are judged with the same rule (the proleptic Gregorian calendar), not the older Julian rule.
The formula
| Symbol | Meaning |
|---|---|
| Year | |
| Leap year? |
Worked example
| Year | 2,026 |
|---|
| Days in the year | 365 |
|---|---|
| Next leap year | 2028 |
| Previous leap year | 2024 |
Leap year? No, it is a common year (365 days)
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Is 2026 a leap year?
No. The leap years around it are 2024 and 2028.
Why was 2000 a leap year but 1900 was not?
Both are divisible by 100, so they need to be divisible by 400 too: 2000 is, 1900 is not.
What is the next leap year after 2096?
2104, because 2100 is skipped.