KKwikfig.

Leap Year Calculator

Check whether any year is a leap year, see the divisible-by-4, 100 and 400 rule applied step by step, and find the leap years around it and February's length. Runs entirely in your browser — your numbers never leave this device.

Is 2026 a leap year?
No — common year
2026 has 365 days, and February 2026 has 28 days.
Divisible by 4?
No
Divisible by 100?
No
Divisible by 400?
No
Days in February 2026
28 days
Previous leap year
2,024
Next leap year
2,028
Days in 2026
365
Verdict rule
Not leap — not divisible by 4
Leap years around 2026
YearTypeFebruary
2021Common year28 days
2022Common year28 days
2023Common year28 days
2024Leap year29 days
2025Common year28 days
2026Common year28 days
2027Common year28 days
2028Leap year29 days
2029Common year28 days
2030Common year28 days
2031Common year28 days

The rule keeps the calendar aligned with Earth's orbit of about 365.2422 days: a leap day every 4 years overshoots slightly, so century years skip it — unless they are divisible by 400, like 2000, which was a leap year after all.

How it works

Leap year if: divisible by 4 AND not by 100 — OR divisible by 400 | 2000: ÷400 → leap | 1900 and 2100: ÷100 only → not leap | 2024: ÷4 → leap
The rule at work on notable years
Year÷4÷100÷400Verdict
1900YesYesNoNot a leap year
2000YesYesYesLeap year
2024YesNoNoLeap year
2026NoNoNoNot a leap year
2028YesNoNoLeap year
2100YesYesNoNot a leap year

Enter a year and the calculator applies the Gregorian leap rule in its three steps and shows each test: is the year divisible by 4? By 100? By 400? The rule exists because Earth's orbit takes about 365.2422 days, not 365.25: a leap day every four years (the Julian rule) overcorrects by about 3 days every 400 years, so the Gregorian calendar skips the leap day in century years — except when the century is itself divisible by 400, which is why 2000 was a leap year but 1900 was not, and 2100 will not be.

Alongside the verdict you get the facts that depend on it: how many days February has in that year, whether the year runs to 365 or 366 days, and the previous and next leap years. A table of the surrounding eleven years shows the roughly four-year rhythm and where the century rule will eventually break it. The next break is close enough to matter for long-lived software and records: after 2096, the next leap year is 2104, an eight-year gap, because 2100 is skipped.

Leap status quietly changes other calculations — February spans in the Days Between Dates calculator, day-of-year counts after February, and 29 February birthdays in the Age Calculator — and every one of those tools uses this same rule, so a verdict here explains a result there.

Worked examples

Is 2000 a leap year?

Input
Year = 2000
Working
2000 ÷ 4 = 500 exactly, but 2000 is also a century year (÷100 exactly), which would normally skip the leap day. The exception's exception applies: 2000 ÷ 400 = 5 exactly.
Result
Leap year — February 2000 had 29 days

Is 1900 a leap year?

Input
Year = 1900
Working
1900 ÷ 4 = 475 exactly, so the Julian rule alone would call it a leap year. But 1900 ÷ 100 = 19 exactly and 1900 ÷ 400 is not a whole number, so the Gregorian century rule skips it.
Result
Not a leap year — February 1900 had 28 days

Is 2026 a leap year — and when is the next one?

Input
Year = 2026
Working
2026 ÷ 4 = 506.5 — not a whole number, so the first test already fails and no century tests are needed. The neighbouring leap years are 2024 (previous) and 2028 (next).
Result
Not a leap year (365 days) — next leap year 2028

Frequently asked questions

What is the leap year rule, exactly?

A year is a leap year if it is divisible by 4, except century years, which are leap years only if divisible by 400. So 2024 (÷4) is leap, 1900 (÷100 but not ÷400) is not, and 2000 (÷400) is. The three tests are shown step by step for every year you check.

Why does the rule have the century exception?

A leap day every 4 years assumes a 365.25-day year, but the true figure is about 365.2422 days. The 0.0078-day yearly excess grows to about 3 days per 400 years, and skipping three century leap days per 400 years — 1700, 1800, 1900 skipped; 2000 kept — cancels it almost exactly.

When is the next leap year after 2026?

2028. Leap years normally arrive every four years (2024, 2028, 2032…), and the calculator shows the previous and next leap years for any year you enter. The one irregularity to watch: 2100 is skipped by the century rule, so 2096 is followed by 2104 — an eight-year gap.

How many days are in February in a leap year?

29 — the leap day is 29 February. In a common year February has 28. The calculator shows February's length for the year you check, and the surrounding-years table shows it for the decade either side.

Was there a year 0, and does it affect the rule?

The Gregorian calendar has no year 0 — 1 BC is followed by AD 1 — but the divisibility rule is applied to year numbers directly, which is the standard convention for modern dates and the one every tool on this site uses consistently. All practical years (1800–2400 and well beyond) are unaffected by the question.

Does this calculator store the year I check?

No. It runs in your browser; nothing is uploaded or recorded.

Related tools

More in Date & Time Tools · Browse all tools