Skip to main content
CalcChef

Leap Year Checker

Check whether any year from 1 to 9999 is a leap year, with the divisible-by-4, 100 and 400 steps, February’s length and the nearby leap years. How it works

Use the Leap Year Checker

Leap year?
Leap year
Days 366
Yes, it is a leap year.

2024 has 366 days (February has 29 days).

2024: February
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Leap year rule breakdown

Divisible by 4 (yes)
Divisible by 100 (no)
Divisible by 400(not needed for this year)

Nearby leap years

2020 (before)2024 (this year)2028 (next)203220362040

About the Leap Year Checker

A year is a leap year when it is divisible by 4, except that a year divisible by 100 is a leap year only if it is also divisible by 400. So 2024 and 2000 are leap years with 366 days, while 2023 and 1900 are not. The checker answers for any whole year from 1 to 9999.

The three steps for sample years

YearDivisible by 4Divisible by 100Divisible by 400Leap yearDays in the year
1900YesYesNoNo365
2000YesYesYesYes366
2023Nonot needednot neededNo365
2024YesNonot neededYes366
2100YesYesNoNo365
2400YesYesYesYes366

“not needed” is how the checker marks a step that does not change the answer for that year.

Leap years from 2020 to 2099

DecadeLeap yearsHow many
2020s2020, 2024, 20283
2030s2032, 20362
2040s2040, 2044, 20483
2050s2052, 20562
2060s2060, 2064, 20683
2070s2072, 20762
2080s2080, 2084, 20883
2090s2092, 20962

2100 is not a leap year, so the gap after 2096 is 8 years and the next leap year is 2104.

Leap years in a span of years

SpanYearsLeap years
1901 to 200010025
2001 to 210010024
2001 to 2400 (any 400 years in a row)40097

Counted with the checker’s batch range. 97 leap years in 400 years makes the average Gregorian year 365.2425 days.

How to use this tool

  1. Type a year from 1 to 9999, or use the arrows for the previous and next year. The result updates as you type.
  2. Read the verdict, the days in the year, the February calendar with the 29th marked in a leap year and which steps of the rule decided it.
  3. Tick Batch range mode and enter the last year to list every year in the range (at most 400 years) and count the leap years.

Frequently asked questions

Is 2100 a leap year?
No. 2100 is divisible by 4 and by 100 but not by 400, so it has 365 days and February ends on the 28th. 2000 was a leap year because 400 divides it, and 1900 was not. The next century year that is a leap year is 2400.
When is the next leap year after 2026?
2028. The previous leap year was 2024, and the checker lists the three after 2028 as 2032, 2036 and 2040. Leap years come every 4 years except across a century year that is not divisible by 400: after 2096 the next one is 2104.
How many leap years are there in 100 years or in 400 years?
Any 400 years in a row hold 97 leap years, which is 146,097 days and an average year of 365.2425 days. A single century holds 24 or 25: 1901 to 2000 has 25 and 2001 to 2100 has 24.
Does the rule work for years before the Gregorian calendar?
The checker applies the Gregorian rule to every year from 1 to 9999, which gives a proleptic calendar. For years before a country adopted the Gregorian calendar the result will not match the calendar people used at the time.
How do I check a range of years at once?
Tick Batch range mode. The last year starts at the first year plus 9 and can be any year up to 399 years after the first, so one batch holds at most 400 years. The grid marks every year Leap or Not and the line above it reads, for 2024 to 2033, “3 of 10 years are leap years”.

Related Tools

View all tools