Leap Year Calculator

  • Tested against NIST's rule for every year from 1 to 9999
  • Checked by Wayne Bickerton
  • Sources: NIST
  • Updated November 13, 2026

A leap year has 366 days and comes every 4 years, except century years not divisible by 400: 2028 is a leap year and 2100 isn’t. Type any year from 1 to 9999 to see yes or no, why, how many days it has, and the leap years just before and after it.

Leap year?
Yes Leap year

Yes, 2028 is a leap year: it has 366 days, with February 29.

Days in the year 366
Previous leap year 2024
Next leap year 2032

What is a leap year?

A leap year has 366 days instead of 365: February gets a 29th day.

The rule, as the National Institute of Standards and Technology (NIST) gives it: a year divisible by 4 is a leap year, except century years, which are leap years only if they are divisible by 400. So 1900 was not a leap year, 2000 was, and 2100 won’t be.

Source NIST · Time and Frequency from A to Z, L (Leap Year) ↗

How to calculate a leap year

Leap year: divisible by 4, except century years, which must be divisible by 400

Here it is with your numbers:

  1. Is 2028 divisible by 4? 2028 ÷ 4 = 507, yes.
  2. Is it a century year (divisible by 100)? 2028 ÷ 100 = 20.28, no.
  3. So 2028 is a leap year.

It means February 2028 has 29 days.

Leap years from 2024 to 2100

2024, 2028, 2032, 2036, 2040, 2044, 2048, 2052, 2056, 2060, 2064, 2068, 2072, 2076, 2080, 2084, 2088, 2092, 2096. There are 19: 2100 is not one, so 2096 to 2104 is an 8-year gap.

Century years

Only one century year in four is a leap year.

Year÷ 400Leap year?
16004Yes
17004.25No
18004.5No
19004.75No
20005Yes
21005.25No
22005.5No
23005.75No
24006Yes

Years from before today’s (Gregorian) calendar was used are checked with the same rule carried backwards, as most date calculators do.

FAQs

How often is a leap year?

Every 4 years, except 3 century years in every 400: a century year is a leap year only if it divides by 400. That makes 97 leap years in 400 years.

Source NIST · Time and Frequency from A to Z, L (Leap Year) ↗

Why do we have leap years?

Because a year is about 365.242 days, not 365, NIST explains. A day every 4 years keeps the calendar in step; skipping 3 century years in 400 makes up for the year being a little under 365.25 days.

Is this year a leap year?

No: 2026 isn’t a leap year; it has 365 days. The next leap year is 2028.

Sources

Related calculators