Overview

A leap year adds 29 February to keep the calendar aligned with Earth’s orbit, which takes about 365.2422 days.

Enter a year to check it and find the previous and next leap years.

Worked examples

InputsResult
Year2,0262026 is not a leap year, because it is not divisible by 4Previous leap year: 2024Next leap year: 20282026 has 365 days
Show 2 more examples
Year2,1002100 is not a leap year, because it is divisible by 100 but not by 400Previous leap year: 2096Next leap year: 21042100 has 365 days
Year2,4002400 is a leap year, because it is divisible by 400Previous leap year: 2396Next leap year: 24042400 has 366 days

How it works

In the Gregorian calendar a year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400.

The formula

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

Practical tips

  • 2000 was a leap year, but 1900 was not and 2100 will not be.
  • 2026 is not a leap year; the next one is 2028.
  • There are 97 leap years every 400 years.

Frequently asked questions

Why skip some century years?

Adding a day every four years overshoots slightly, so three centuries in four skip it.

How rare is a 29 February birthday?

About 1 in 1,461 people.