Skip to content
2xKit

Leap Year Calculator

Check if a year is a leap year and find the next and previous leap years.

Formula v1.0.0GlobalMethodologyReport an issueleap-year-calculator-v1
How this is calculated
Leap year if divisible by 4, except centuries unless also divisible by 400

Assumptions used in this calculation

  • Calendar: Uses Gregorian calendar leap year rules: divisible by 4, except century years, unless also divisible by 400.

About this calculator

The leap year rule isn't just "every 4 years", century years like 1900 break that pattern unless they're also divisible by 400, which trips people up whenever a year ending in 00 comes into question, and remembering the full rule correctly under pressure is harder than it sounds. This calculator checks whether a given year is a leap year by applying the actual Gregorian calendar rule (divisible by 4, except century years, unless also divisible by 400), and also finds the nearest leap years immediately before and after it. It's useful for verifying whether February has 29 days in a specific year for planning purposes, settling a factual question about a particular year, or checking a date calculation that depends on knowing whether a leap day falls within a range.

Worked example

2024

Result: Yes, 366 days

Was this helpful?

Frequently asked questions