Is it a leap year? Check any year from 1 to 9999

Type a year and the checker tells you whether it is a leap year, explains which rule decides it, and lists the leap years before and after it.

Live demo · real result from this tool
Is 2026 a leap year?No, a common year
Days in the year
365
Days in February
28
Previous leap year
2024
Next leap year
2028

Why

2026 is not divisible by 4, so it is a common year. Rule: a year is a leap year if it is divisible by 4, except years divisible by 100, unless also divisible by 400.

Leap years from here

  1. 2028
  2. 2032
  3. 2036
  4. 2040
  5. 2044
  6. 2048
  7. 2052
  8. 2056
  9. 2060
  10. 2064

Processed on your device — nothing is uploaded.

How to use the leap year checker

  1. Type a Year between 1 and 9999.
  2. The answer appears at once: “Yes, a leap year” or “No, a common year”.
  3. Under it you get the days in the year, the days in February, and the previous and next leap years.
  4. The Why box names the rule that applied, and Leap years from here lists the next ten, starting with your year if it is one.

What it does and when to use it

Leap years matter more often than people expect. They change the length of February in payroll and rent schedules. They decide whether a 29 February birthday happens this year, and they make 52-week plans drift by a day. Programmers check them when testing date code, and teachers use them for divisibility lessons.

To see the full month-by-month calendar for a year, use the days in month calculator. If you were born on 29 February, the age calculator shows how it counts your birthday in other years. To count days across a leap day, use the date difference calculator.

How it works

The Gregorian calendar has three rules, checked in this order:

Test Result Example
Divisible by 400 Leap year 2000, 2400
Divisible by 100 (but not 400) Common year 1900, 2100
Divisible by 4 (but not 100) Leap year 2024, 2028
Anything else Common year 2026, 2027

So 97 of every 400 years are leap years, giving an average year of 365.2425 days. The previous and next leap years come from stepping one year at a time until the rule says yes, which handles century gaps correctly.

Worked examples

2100. The checker answers “No, a common year” and explains: 2100 is divisible by 100 but not by 400, so it is not a leap year. The previous leap year is 2096 and the next is 2104.

2028. Yes, a leap year with 366 days and 29 days in February. Previous leap year: 2024, next 2032.

1500. The Gregorian rule says common year (divisible by 100, not by 400). The tool adds the note Before 1582 this uses the Gregorian rules extended backwards (proleptic), because 1500 was a leap year in the Julian calendar used then.

Limits and tips

  • Years must be whole numbers from 1 to 9999. Year 0 and BC years are not supported.
  • Countries switched to the Gregorian calendar in different years (Britain and its colonies in 1752, for example), so check historical dates against local records.

Frequently asked questions

Is 2000 a leap year?
Yes. It is divisible by 100, which would normally rule it out, but it is also divisible by 400, so it keeps its 29 February. That is why 2000 was a leap year while 1900 was not.
When is the next century year that is not a leap year?
2100. It is divisible by 4 and by 100 but not by 400, so February 2100 has 28 days and the next leap year after 2096 is 2104, an eight-year gap.
Why do we need leap years at all?
A year of seasons lasts about 365¼ days. Adding a day every fourth year keeps the calendar in step with the seasons. Skipping three of every four century leap days fixes the small leftover error.
Why does the tool add a note for old years?
Most of Europe used the Julian calendar before 1582, and it made every fourth year a leap year with no century exception. The checker applies today's Gregorian rule to all years, so for early dates it may disagree with what people used at the time.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close