Free tool · Date and time
Leap years list generator
Enter a first and a last year and the leap years list generator gives every leap year in between. From 2000 to 2040 there are 11 leap years, the first 2000 and the last 2040, and the next one after 2040 is 2044.
- Free
- No sign-up
- Runs in your browser
11in 41 years, 2000 to 2040
- Next leap year after 2040: 2044
- Century years: 2000 leap
- Leap years (366 days)
- 11
- Common years (365 days)
- 30
- Days in the range
- 14,976
- First leap year
- 2000
- Last leap year
- 2040
- Longest gap between leap years
- 4 years
| Year | Feb 29 is a | Gap | Rule |
|---|---|---|---|
| 2000 | Tuesday | 4 years | divisible by 400 |
| 2004 | Sunday | 4 years | divisible by 4 |
| 2008 | Friday | 4 years | divisible by 4 |
| 2012 | Wednesday | 4 years | divisible by 4 |
| 2016 | Monday | 4 years | divisible by 4 |
| 2020 | Saturday | 4 years | divisible by 4 |
| 2024 | Thursday | 4 years | divisible by 4 |
| 2028 | Tuesday | 4 years | divisible by 4 |
| 2032 | Sunday | 4 years | divisible by 4 |
| 2036 | Friday | 4 years | divisible by 4 |
| 2040 | Wednesday | 4 years | divisible by 4 |
How to use the Leap Years List Generator
- Type the From year and the To year. Both years are part of the range.
- Pick Oldest first or Newest first for the order of the list.
- Read the count of leap years, the common years, the days in the range and the next leap year after your last year.
- Use the table to see the weekday of February 29 for each leap year and why the year qualifies.
How does a leap years list generator find the leap years?
A year is a leap year when it is divisible by 4. The one exception is a century year, a year divisible by 100, which counts only when it is also divisible by 400. A leap year has 366 days because February gets a 29th day. The generator tests every year from the first to the last with that rule and keeps the ones that pass.
Take 2000 to 2040. The list is 2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036, 2040. That is 11 leap years in 41 years, so the other 30 are common years. The range holds 41 times 365 days plus 11 extra February days, which is 14,976 days. Most gaps in the list are 4 years. Only a century year that fails the 400 test makes a gap of 8.
Years before 1582 follow the same rule here. That is the proleptic Gregorian calendar, one consistent rule for every year from 1 to 9999, so lists for old centuries are easy to compare with modern ones.
Which century years are leap years?
Century years are where people most often go wrong. The year 2000 was a leap year because 2000 divided by 400 is 5 with nothing left over. The year 1900 was not, and neither will 2100 be. Both divide by 100 but not by 400, so February has 28 days in them.
The table runs the test on every century year from 1600 to 2400. Only 1600, 2000 and 2400 pass. The gap between 1896 and 1904 is 8 years for exactly this reason: 1900 is skipped, so 1896 is followed by 1904.
| Year | Divisible by | Result |
|---|---|---|
| 1600 | divisible by 400 | Leap year |
| 1700 | divisible by 100 only | Common year |
| 1800 | divisible by 100 only | Common year |
| 1900 | divisible by 100 only | Common year |
| 2000 | divisible by 400 | Leap year |
| 2100 | divisible by 100 only | Common year |
| 2200 | divisible by 100 only | Common year |
| 2300 | divisible by 100 only | Common year |
| 2400 | divisible by 400 | Leap year |
How many leap years are there in a century?
Over 400 years the rule gives 97 leap years, one less than the 100 that dividing by 4 would give. Those 400 years hold 400 times 365 plus 97 days, which is 146,097 days, so the average year is 365.2425 days long. A single century has 24 or 25 leap years depending on where it starts. The table counts the hundred years that start at each year ending in 01.
Only the blocks 1901 to 2000 and 2301 to 2400 reach 25, because they end on a year divisible by 400. Every other block ends on a common century year, so it holds 24.
| Years | Leap years | Days in the block |
|---|---|---|
| 1601 to 1700 | 24 | 36,524 |
| 1701 to 1800 | 24 | 36,524 |
| 1801 to 1900 | 24 | 36,524 |
| 1901 to 2000 | 25 | 36,525 |
| 2001 to 2100 | 24 | 36,524 |
| 2101 to 2200 | 24 | 36,524 |
| 2201 to 2300 | 24 | 36,524 |
| 2301 to 2400 | 25 | 36,525 |
What weekday does February 29 fall on?
Because a normal year is 52 weeks plus one day, the weekday of a date moves forward by one each common year and by two after a leap day. Four years later, February 29 has moved forward by five weekdays, one for each of three common years and two for the leap year in between, so it falls on a different weekday each time. The pattern returns after 28 years when no century year breaks it. February 29 landed on Tuesday in 2000 and lands on Tuesday again in 2028.
The table in the tool gives the weekday of February 29 for every leap year in your range. This one lists the first full cycle from the default range.
| Leap year | February 29 falls on |
|---|---|
| 2000 | Tuesday |
| 2004 | Sunday |
| 2008 | Friday |
| 2012 | Wednesday |
| 2016 | Monday |
| 2020 | Saturday |
| 2024 | Thursday |
| 2028 | Tuesday |
To count the days between two exact dates, open the days between dates calculator. To find the weekday of any one date, use what day was it.
Use it with
- Age Calculator: exact age in years, months, days.
- Date Calculator: add or subtract days from a date.
- Day of the Week Finder: what day a date falls on.
Questions
Is 1900 a leap year?
No. 1900 is divisible by 100 but not by 400, so February had 28 days. 2000 was a leap year and 2100 will not be one.
How often is a leap year?
Usually every 4 years. The pattern breaks at century years that are not divisible by 400, which makes a gap of 8 years. In the 400 years from 1601 to 2000 there are 97 leap years.
When is the next leap year after 2040?
2044. Enter any last year and the chips under the answer show the next leap year after it.
How many days are in a leap year?
366, because February has 29 days. A common year has 365. A range of 41 years from 2000 to 2040 has 14,976 days.
How many leap years are there from year 1 to 2026?
491, using the Gregorian rule for every year. From 1 to 9999 there are 2,424.
Why is the longest range limited to 1,000 years?
The table shows one row per leap year, and 1,000 years gives at most 243 rows, which stays easy to read on a phone. For a longer span, run two ranges and add the counts.
The tool's results are computed in your browser by the code on this page; the explanations are checked against the tool's own output.