CalculatorForEver
DATE & TIME / GUIDE

Why is 2000 a leap year but 2100 is not?

Calculator ForEver 3 min read

The Gregorian rule includes years divisible by four, except century years unless they are also divisible by 400. The year 2000 passes the 400 test; 2100 does not.

Apply the exceptions in the right order

A year divisible by 400 is a leap year. A different year divisible by 100 is not. Among remaining years, divisibility by four determines leap-year status. This prevents the four-year rule from adding too many leap days over centuries.

Test several nearby century years

The years 1900 and 2100 are divisible by 100 but not 400, so February has 28 days. The years 2000 and 2400 are divisible by 400, so February has 29. A simple check that only divides by four would misclassify 1900 and 2100.

Use the calendar specified by the records

This rule describes the Gregorian calendar. Historical records can use another calendar or a country-specific transition date. A modern date calculator’s arithmetic does not establish which calendar a historical document intended; identify that context before comparing old dates.

Apply the tests in an order that preserves the exception

Check divisibility by four hundred first. If the year divides evenly, it is a Gregorian leap year. Otherwise, a year divisible by one hundred is not leap. Among the remaining years, divisibility by four determines the answer. This sequence prevents a century year from being accepted too early by the ordinary four-year test. For 2000, the first test succeeds. For 2100, the first fails and the century exclusion applies. For 2028, neither century condition applies and the four-year test succeeds. For 2029, it fails. Each test concerns an integer remainder, so rounding a decimal quotient is not a reliable way to decide whether a year is evenly divisible.

Connect the year test with date intervals

A leap year adds a date to February, but an interval includes that extra day only if it crosses it. January 1 to March 1 contains sixty elapsed days in 2024 and fifty-nine in 2025. An interval entirely in July has no extra February day even when its year is leap. A full year from a particular anniversary can contain 365 or 366 days depending on the endpoints. Use actual dates in the calculator instead of adding one day merely because a year label somewhere in the interval is divisible by four. February 29 in a non-leap year is an invalid date and should be corrected rather than silently treated as February 28 or March 1.

Understand the four-hundred-year pattern's scope

Over four hundred Gregorian years, the ordinary four-year test identifies one hundred candidate leap years, and three century exclusions leave ninety-seven. This gives an average calendar-year length of 365 + 97/400 = 365.2425 days. The average explains the pattern but does not replace the year-specific test. The rule also assumes the Gregorian calendar. Historical records may use the Julian calendar or a local transition from one calendar to another, so a modern proleptic Gregorian calculation may not match the dates used in an old document. Keep that historical interpretation separate from ordinary modern scheduling. A leap-day birthday adds a further anniversary convention in non-leap years; the divisibility rule alone does not establish a legal birthday substitute.

Questions about this calculation

How many leap years occur in a Gregorian 400-year cycle?

There are 97: one for each divisible-by-four year, minus three excluded century years.

Try these values in the calculator

Count days between dates or find a future date.

Use the date calculator

References

More date questions

Related tools