Leap Year Calculator

Check whether a year is a leap year, and find the nearest leap years before and after it.

  • Free to use
  • Accurate results
  • No registration required
  • Works on all devices
Enter a year to check whether it's a leap year and see the nearest leap years before and after it.

Your result

No

Is it a leap year?

Days in this year365
Next leap year2,028
Previous leap year2,024

AI explanation

Formula

A year is a leap year if divisible by 4, except century years, which must also be divisible by 400

Worked example

2024

Worked example: 2024
FieldValue
Year2024
Is it a leap year?Yes
Days in this year366
Next leap year2028
Previous leap year2020

Assumptions

  • Uses the Gregorian calendar leap year rule, applied uniformly (including for years before the Gregorian calendar's actual historical adoption).

Frequently asked questions

What is the leap year rule?

A year is a leap year if it's divisible by 4. Century years (like 1900 or 2100) are the exception — they must also be divisible by 400 to qualify, which is why 2000 was a leap year but 1900 was not.

Why do we have leap years?

A solar year is approximately 365.2422 days, not exactly 365 — adding a leap day roughly every 4 years keeps the calendar aligned with the seasons over long periods.

When is the next leap year after 2026?

2028 is the next leap year after 2026 (2026 and 2027 are not divisible by 4).

Related calculators

Report a calculation issue