Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

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

By Maaz Zindani · Updated

First year of the range, 1 to 9999.
Last year of the range. Up to 1,000 years at a time.

Both years are included. The list uses the Gregorian rule for every year, including years before 1582.

Leap years in the range

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
Every leap year from 2000 to 2040
YearFeb 29 is aGapRule
2000Tuesday4 yearsdivisible by 400
2004Sunday4 yearsdivisible by 4
2008Friday4 yearsdivisible by 4
2012Wednesday4 yearsdivisible by 4
2016Monday4 yearsdivisible by 4
2020Saturday4 yearsdivisible by 4
2024Thursday4 yearsdivisible by 4
2028Tuesday4 yearsdivisible by 4
2032Sunday4 yearsdivisible by 4
2036Friday4 yearsdivisible by 4
2040Wednesday4 yearsdivisible by 4

How to use the Leap Years List Generator

  1. Type the From year and the To year. Both years are part of the range.
  2. Pick Oldest first or Newest first for the order of the list.
  3. Read the count of leap years, the common years, the days in the range and the next leap year after your last year.
  4. 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.

The century year test, 1600 to 2400
YearDivisible byResult
1600divisible by 400Leap year
1700divisible by 100 onlyCommon year
1800divisible by 100 onlyCommon year
1900divisible by 100 onlyCommon year
2000divisible by 400Leap year
2100divisible by 100 onlyCommon year
2200divisible by 100 onlyCommon year
2300divisible by 100 onlyCommon year
2400divisible by 400Leap 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.

Leap years and days in each block of 100 years
YearsLeap yearsDays in the block
1601 to 17002436,524
1701 to 18002436,524
1801 to 19002436,524
1901 to 20002536,525
2001 to 21002436,524
2101 to 22002436,524
2201 to 23002436,524
2301 to 24002536,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.

Weekday of February 29, one cycle of 28 years
Leap yearFebruary 29 falls on
2000Tuesday
2004Sunday
2008Friday
2012Wednesday
2016Monday
2020Saturday
2024Thursday
2028Tuesday

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

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.