Date & Time

Leap Year Calculator

Enter a year to see if it is a leap year and when the next one is.

Your numbers

Your results

Leap year?
Leap year?
—
Days in February
—
Days in the year
—
Next leap year
—
Previous leap year
—
Rule that decides it
—

Leap Year Calculator by TheCalcTools

How the Leap Year Calculator works

In the Gregorian calendar a year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. So 2000 was a leap year but 1900 and 2100 are not.

The rule keeps the calendar year (on average 365.2425 days) close to the solar year of about 365.2422 days.

The formula

Leap if (year mod 4 = 0 and year mod 100 ≠ 0) or year mod 400 = 0

Worked example

Using the default values shown in the calculator:

Year2028
  1. 2028 is a leap year: Divisible by 4.
  2. February has 29 days; the next leap year after it is 2,032.

Result:

Leap year?2028 is a leap year
Days in February29
Days in the year366
Next leap year2,032
Previous leap year2,024
Rule that decides itDivisible by 4

Frequently asked questions

Is 2028 a leap year?

Yes. 2028 is divisible by 4 and is not a century year.

What if I was born on 29 February?

Your birthday falls on the calendar only in leap years; legally many countries treat 1 March (or 28 February) as the birthday in other years.

Sources and further reading

More in Date & Time · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.