Leap Year List Calculator

Leap Year List Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Leap(Y)⇔(Ymod4=0)∧(Ymod100≠0∨Ymod400=0)\text{Leap}(Y) \iff \left(Y \bmod 4 = 0\right) \,\wedge\, \left(Y \bmod 100 \neq 0 \,\vee\, Y \bmod 400 = 0\right)
Usage stats

Advertisement

Results

100
First leap year from the start year (2020)
2020
100 leap years listed
# Leap year
0 2020
1 2024
2 2028
3 2032
4 2036
5 2040
6 2044
7 2048
8 2052
9 2056
10 2060
11 2064
12 2068
13 2072
14 2076
15 2080
16 2084
17 2088
18 2092
19 2096
20 2104
21 2108
22 2112
23 2116
24 2120
25 2124
26 2128
27 2132
28 2136
29 2140
30 2144
31 2148
32 2152
33 2156
34 2160
35 2164
36 2168
37 2172
38 2176
39 2180
40 2184
41 2188
42 2192
43 2196
44 2204
45 2208
46 2212
47 2216
48 2220
49 2224
50 2228
51 2232
52 2236
53 2240
54 2244
55 2248
56 2252
57 2256
58 2260
59 2264
60 2268
61 2272
62 2276
63 2280
64 2284
65 2288
66 2292
67 2296
68 2304
69 2308
70 2312
71 2316
72 2320
73 2324
74 2328
75 2332
76 2336
77 2340
78 2344
79 2348
80 2352
81 2356
82 2360
83 2364
84 2368
85 2372
86 2376
87 2380
88 2384
89 2388
90 2392
91 2396
92 2400
93 2404
94 2408
95 2412
96 2416
97 2420
98 2424
99 2428

Report an error on this page

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.$$
Advertisement
Flowchart of the Gregorian leap-year test using mod 4, mod 100 and mod 400 checks
The leap-year test as a decision flowchart: divisible by 4, except centuries unless divisible by 400.

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.

Timeline highlighting leap years every four years with a skipped century year
Leap years recur every 4 years, but most century years are skipped.

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)$$

Advertisement

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.

Last updated:

Most popular in Time and Date

View all Time and Date calculators