๐Ÿ”งToolify

Leap Year Checker (with rule explanation)

Enter any year to see whether it's a leap year and the rule that decided. Plus February day count, total year days, and adjacent leap years.

โœ—
2,026 is NOT a leap year
Not divisible by 4 โ†’ not a leap year
Days in year
365
Days in February
28
Previous leap year
2,024
Next leap year
2,028

How it works

The Gregorian leap year rule

A year is a leap year if it's divisible by 4 โ€” except for centuries (divisible by 100), which are leap years only when also divisible by 400. So 1900 is NOT a leap year (divisible by 100, not 400), but 2000 IS (divisible by 400). 2024 is a leap year (divisible by 4); 2100 will not be.

This rule keeps the calendar in sync with Earth's actual orbit (~365.2425 days). A simple every-4-years rule would drift by about 3 days every 400 years; the century exception corrects most of that drift, leaving an error of only about 1 day in 3,300 years.

Why we need leap years at all

Earth orbits the Sun in about 365.2422 days โ€” not exactly 365. Without periodic correction, calendar dates would slowly drift relative to the seasons. After 100 years of plain 365-day years, the calendar would be ~24 days behind the equinoxes and seasons would appear to shift across the calendar.

The Julian calendar (45 BC) added a leap year every 4 years, which was close but slightly over-corrected. Pope Gregory XIII's reform in 1582 introduced the century rule, producing the modern Gregorian calendar still in use today.

Leap year quirks

Feb 29 birthdays: people born on Feb 29 ('leaplings') celebrate every 4 years on the actual date, or on Feb 28 / Mar 1 in regular years. Legally, most jurisdictions treat them as Feb 28 birthdays for age-determined purposes.

Some software has historically treated all century years as non-leap (a bug introduced when implementing the simple every-4 rule). 2000 worked correctly because it's div by 400, but 2100 will reveal latent bugs in any system that hasn't tested ahead.

Astronomical leap year is slightly more complex: solar year is ~365.2422 days, lunar months are ~29.53 days. The Hebrew, Islamic, and Chinese calendars handle leap concepts differently, often by adding a whole leap month rather than a single day.

Frequently asked questions

โ€บIs 2024 a leap year?

Yes โ€” 2024 is divisible by 4 and not by 100, so it's a leap year. February 2024 has 29 days.

โ€บIs 2100 a leap year?

No โ€” 2100 is divisible by 100 but not by 400, so it's NOT a leap year. February 2100 will have 28 days.

โ€บWhy is 2000 a leap year but 1900 isn't?

Both are divisible by 100. Only years divisible by 400 (the century exception) are leap years. 2000 / 400 = 5 (whole), so it's leap. 1900 / 400 = 4.75, so it's not.

โ€บWhen's the next leap year?

After 2024 comes 2028. The pattern continues: 2032, 2036, etc. โ€” every 4 years until 2100, which is skipped.

โ€บHow many days are in a leap year?

366 days. The extra day is February 29. Total weeks: 52 weeks + 2 days.

โ€บIs the year 0 a leap year?

There's no year 0 in the Gregorian (or Julian) calendar โ€” years go directly from 1 BC to 1 AD. Astronomers do use a year 0 for math; that hypothetical year would be a leap year by the rule.

โ€บWhy was the Gregorian reform needed?

The Julian calendar over-corrected slightly: every 4 years was too many leap years. By 1582 the calendar was 10 days off from the actual seasons. Pope Gregory XIII's reform skipped 10 days and introduced the century rule.

โ€บDoes the data leave my browser?

No. Calculation is local.

Related tools

Last updated:

Try our AI prompts โ†’