Leap Year Calculator

Check whether any year is a leap year, see the rule applied step by step, and list the leap years in a range.

Optional range, up to 400 years.

Leap year check

Enter a year and select Check the year.

Why the leap year rule works this way

How to use the leap year calculator

  1. Enter a year.
  2. Optionally enter a range, such as 2000 to 2100, to list every leap year in it with the weekday of February 29.
  3. Select Check the year to see the answer, the rule applied step by step, and the previous and next leap years.

The leap year rule

A year in the Gregorian calendar is a leap year, with 366 days and a February 29, when:

  1. it is divisible by 4,
  2. except years divisible by 100, which are not leap years,
  3. except years divisible by 400, which are leap years after all.

So 2024 and 2028 are leap years, 1900 and 2100 are not, and 2000 was. The result shows each of the three checks for your year.

Why the rule has exceptions

A solar year, from one spring equinox to the next, is about 365.2422 days. Adding a day every four years, as the older Julian calendar did, gives an average of 365.25 days, which is about 11 minutes too long. Over centuries that adds up: by 1582 the calendar had drifted about ten days from the seasons. The Gregorian reform dropped those ten days and skipped three leap days every 400 years, which brings the average year to 365.2425 days, within half a minute of the solar year.

Worked examples

The rule applied with the same code as the calculator
YearLeap year?Why
2024Yesdivisible by 4 and not a century year
2026Nonot divisible by 4
1900Nodivisible by 100 but not by 400
2000Yesdivisible by 400
2100Nodivisible by 100 but not by 400

Leap years and dates

Leap years change date calculations in small ways. Every date after February 28 has a day number one higher than in a common year, as the day of the year calculator shows. People born on February 29 have a calendar birthday only in leap years; this site counts their birthday on February 28 in other years, and the birthday countdown tells them when the next February 29 is. The age calculator explains how a leap-day birth date affects an age.

Frequently asked questions

Is 2026 a leap year?

No. 2026 is not divisible by 4. The next leap year is 2028.

Was 2000 a leap year?

Yes. 2000 is divisible by 400, so it was a leap year even though it is a century year.

Why isn’t 2100 a leap year?

It is divisible by 100 but not by 400, so it is a common year with 365 days. The next century year that is a leap year is 2400.

How many leap years are there in 400 years?

Exactly 97: one every four years (100), minus the three century years that are not divisible by 400.