What this calculator does
This tool lists the next leap years on or after a start year you choose, following the standard Gregorian calendar rule. Enter a start year of AD 1582 or later (the year the Gregorian calendar was introduced) and pick how many leap years you want to list: 10, 100, 500, or 1000. The result is a numbered list of years in increasing order, beginning with the first leap year that is greater than or equal to your start year.
How to use it
Type a start year (for example 2020) and select the number of entries. If your start year is itself a leap year, it appears as the first entry. The calculator keeps scanning forward year by year until it has collected exactly the number of leap years you requested, so large counts simply reach further into the future.
The formula explained
A year is a leap year when it is divisible by 4, with one exception: years divisible by 100 are NOT leap years unless they are also divisible by 400. So 1600, 2000 and 2400 are leap years, but 1700, 1800, 1900, 2100, 2200 and 2300 are common years. Formally:
$$\text{Leap}(Y) \iff \left(Y \bmod 4 = 0\right) \,\wedge\, \left(Y \bmod 100 \neq 0 \,\vee\, Y \bmod 400 = 0\right)$$where
$$\left\{ \begin{aligned} Y &\ge \text{Start year} \ge 1582 \\ N &= \text{Number of entries} \end{aligned} \right.$$
Worked example
Start year 2020, 10 entries gives: \(2020, 2024, 2028, 2032, 2036, 2040, 2044, 2048, 2052, 2056\). Note how the century exception works: starting at 2096 the list is \(2096, 2104, 2108, 2112, 2116\) — the year 2100 is skipped because it is divisible by 100 but not by 400.
Century Years: Leap or Common?
Under the Gregorian rule, a year divisible by 100 is a leap year only if it is also divisible by 400. The table applies this to every century year from 1600 to 3000.
| Year | Divisible by 100? | Divisible by 400? | Result |
|---|---|---|---|
| 1600 | Yes | Yes | Leap |
| 1700 | Yes | No | Common |
| 1800 | Yes | No | Common |
| 1900 | Yes | No | Common |
| 2000 | Yes | Yes | Leap |
| 2100 | Yes | No | Common |
| 2200 | Yes | No | Common |
| 2300 | Yes | No | Common |
| 2400 | Yes | Yes | Leap |
| 2500 | Yes | No | Common |
| 2600 | Yes | No | Common |
| 2700 | Yes | No | Common |
| 2800 | Yes | Yes | Leap |
| 2900 | Yes | No | Common |
| 3000 | Yes | No | Common |
In this range only 1600, 2000, 2400 and 2800 are leap years. All the other century years are common years, even though they are divisible by 4. This is why the list generated by the calculator skips from 2096 to 2104, with no leap year in 2100.
Key Terms and Definitions
- Leap year
- A calendar year with 366 days, in which February has 29 days.
- Common year
- A calendar year with 365 days, in which February has 28 days.
- Intercalary day
- An extra day inserted into a calendar to keep it aligned with the seasons. In the Gregorian calendar this is February 29.
- Gregorian calendar
- The calendar introduced in October 1582 under Pope Gregory XIII. It is now the most widely used civil calendar. Countries adopted it at different times, so dates before a country's adoption may follow the Julian calendar there. This calculator applies the Gregorian rule from 1582 onward.
- Julian calendar
- The earlier Roman calendar, introduced by Julius Caesar, with a leap year every 4 years and no century exception. Its average year is 365.25 days, slightly too long.
- Century year
- A year ending in 00, such as 1900 or 2000. These are the only years where the extra Gregorian exception applies.
- Divisibility / modulo
- Y is divisible by n when the remainder of Y divided by n is zero, written \(Y \bmod n = 0\).
- 400-year cycle
- The Gregorian calendar repeats exactly every 400 years, in both the leap-year pattern and the days of the week.
The rule used by the calculator is:
$$\text{Leap}(Y) \iff \left(Y \bmod 4 = 0\right) \wedge \left(Y \bmod 100 \neq 0 \vee Y \bmod 400 = 0\right)$$
Gregorian Calendar Constants
| Quantity | Value |
|---|---|
| Common year | 365 days |
| Leap year | 366 days |
| Leap years per 400-year cycle | 97 |
| Common years per 400-year cycle | 303 |
| Days per 400-year cycle | 146,097 |
| Mean Gregorian year | 365.2425 days |
| Tropical year (approx.) | 365.2422 days |
| Julian year | 365.25 days |
| Gregorian start year used by the calculator | 1582 |
Why 97 leap years per cycle?
In 400 years there are 100 multiples of 4. Remove the 4 century years (multiples of 100), then add back the 1 century year divisible by 400:
$$100 - 4 + 1 = 97$$
The cycle therefore has \(400 - 97 = 303\) common years. Its length in days is:
$$400 \times 365 + 97 = 146000 + 97 = 146097$$
The mean year length is:
$$\frac{146097}{400} = 365.2425$$
This is about 0.0003 days longer than the tropical year of roughly 365.2422 days. The Julian year of 365.25 days is about 0.0078 days too long, which is why the Julian calendar drifted against the seasons and the Gregorian reform was introduced. The cycle length of 146,097 days is also an exact multiple of 7 (20,871 weeks), so the weekday pattern repeats every 400 years.
FAQ
Why must the start year be 1582 or later? Before the Gregorian reform of October 1582 the Julian calendar applied, where every fourth year was a leap year with no century exception, so this rule would give historically wrong results.
Is a leap year always exactly every 4 years? No. Most are 4 years apart, but at century boundaries that are not divisible by 400 the gap stretches to 8 years.
Does this work worldwide? Yes — the Gregorian calendar is the global civil standard, so the rule is universal for modern dates.