Leap Year Checker

Is this year a leap year?

Result

No, not a leap year
365
2104

How it is calculated

The tool applies the Gregorian rule to the year you enter: leap = (year mod 4 = 0 and year mod 100 ≠ 0) or (year mod 400 = 0). A leap year has 366 days, any other year has 365. It also finds the next leap year after the one entered by counting upward until the rule is true. Decimals are cut to a whole year, so 2024.9 is read as 2024. The rule is applied to every year, including those before the Gregorian calendar was adopted in 1582 and years such as 0, so for old historical dates it does not match the Julian calendar then in use, in which every fourth year was a leap year. Adoption dates differed by country.

Worked example

Check the year 2100. It is divisible by 4 (2100 ÷ 4 = 525), so the first test passes. But 2100 is also divisible by 100, which cancels it, and it is not divisible by 400 (2100 ÷ 400 = 5.25). So the answer is No, not a leap year, with 365 days. Counting forward, 2101, 2102 and 2103 are not divisible by 4, and 2104 is, so the next leap year is 2104.

Try this example →

Common mistakes

  • Using "divisible by 4" alone. Century years such as 1900 and 2100 are not leap years.
  • Forgetting the exception to the exception: 2000 and 2400 are leap years because they are divisible by 400.
  • Applying the Gregorian result to years before 1582. In the older Julian calendar, 1500 was a leap year, though this tool reports it as not.
  • Entering a two-digit year such as 24. It is read as the year 24, not 2024.
  • Assuming the "next" year includes the year you entered. The next leap year is always later than the one typed.

About this calculator

This tool checks whether a given year is a leap year — a year with 366 days instead of 365 because of an extra day (February 29) added to keep the calendar aligned with Earth's orbit around the sun, which actually takes about 365.2422 days. It follows the full Gregorian rule: divisible by 4, except century years, unless also divisible by 400 (which is why 2000 was a leap year but 1900 was not).

It is used by developers testing date logic in software, event and project planners who need to know whether February has 29 days when scheduling something years out, and by anyone curious about their own birthday quirks — like people born on February 29th, who technically only have a birthday every four years — or wanting to know when the next leap year falls.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators