Home ↓
CalculatorsVerified

Everyday & Time

Leap Year Calculator (Is It a Leap Year?)

Check whether any year is a leap year and find the next ones. A solar year, the time Earth takes to go around the Sun from one spring equinox to the next, lasts about 365.2422 days, so a calendar of 365 days slowly drifts out of step with the seasons. The Julian calendar, introduced by Julius Caesar, added a leap day every four years, but that made the average year slightly too long, and by the sixteenth century the calendar had drifted about ten days. The Gregorian reform of 1582, under Pope Gregory XIII, fixed this with a refined rule that is still used today: a year is a leap year if it is divisible by 4, except for century years, which are leap years only if they are divisible by 400. So 2024 and 2028 are leap years, 2000 was a leap year, but 1900 was not and 2100 will not be. This gives an average year of 365.2425 days, accurate to about one day in more than 3,000 years. Enter a year to see whether it is a leap year and why, the number of days, the previous and next leap years, and a list of leap years with the weekday of 29 February.

How to use this calculator

  1. Enter a year.
  2. Read whether it is a leap year and the reason.
  3. See the number of days, and the next and previous leap years.
  4. Optionally enter an end year to list all leap years in a range.
  5. Check the weekday of 29 February in the table.

Leap seconds and leap days

Leap days keep the calendar aligned with the seasons. Leap seconds, by contrast, were added to clocks to keep Coordinated Universal Time aligned with Earth’s slightly irregular rotation; international timekeeping bodies have decided to stop adding them by 2035.

Some calendars use other systems: the Hebrew calendar adds a leap month in 7 of every 19 years, and the Islamic Hijri calendar is purely lunar and does not follow the seasons.

Born on 29 February

People born on 29 February, sometimes called leaplings, have a birthday on the calendar only once every four years. In common years, many celebrate on 28 February or 1 March, and the legal date of a birthday varies by country.

The chance of being born on 29 February is about 1 in 1,461.

Formula & method

A year is a leap year if it is divisible by 4except years divisible by 100, which are not leap years,unless they are also divisible by 400, which are leap yearsSo 2000 was a leap year, 1900 was not, and 2100 will not be

Gregorian leap year rule: a year Y is a leap year if (Y mod 4 = 0 and Y mod 100 ≠ 0) or (Y mod 400 = 0). Leap years have 366 days, with 29 February added; common years have 365 days. Over 400 years there are 97 leap years, giving an average of 365 + 97/400 = 365.2425 days, compared with a tropical year of about 365.2422 days. The rule applies to the Gregorian calendar, adopted from 1582 in Catholic countries and later elsewhere; for earlier dates and in countries using the Julian calendar, every year divisible by 4 was a leap year. The weekday of 29 February is computed with the Julian Day Number.

Worked example

Is 1900 a leap year?

  1. 1900 is divisible by 4.
  2. 1900 is also divisible by 100.
  3. 1900 is not divisible by 400, so it is not a leap year.

Answer: 1900 was not a leap year; 2000 was.

Frequently asked questions

Is 2028 a leap year?

Yes.

Was 2000 a leap year?

Yes, because it is divisible by 400.

Will 2100 be a leap year?

No, because it is divisible by 100 but not by 400.

How many days are in a leap year?

366.

Why do we have leap years?

To keep the calendar in step with the solar year of about 365.24 days.

How many leap years are in 400 years?

97.