Time & Date
Leap Year Checker
Check if a year is a leap year and discover the calendar patterns.
Status
366days
2024 is a leap year
A leap year is divisible by 4, except for years divisible by 100 unless also divisible by 400.
Time & Date
Check if a year is a leap year and discover the calendar patterns.
Status
366days
2024 is a leap year
A leap year is divisible by 4, except for years divisible by 100 unless also divisible by 400.
A leap year is a calendar year that contains 366 days instead of 365, with an extra day (February 29) added to keep the calendar aligned with Earth's orbit. A year is a leap year if it is divisible by 4, except for years divisible by 100 (which are not leap years) unless they are also divisible by 400 (in which case they are leap years).
The leap year checker applies the Gregorian calendar rule: it divides the year by 4, 100, and 400 in sequence. First, it checks if the year is divisible by 400—if yes, it is a leap year. If not, it checks if divisible by 100—if yes, it is not a leap year. If neither rule applies, it checks if divisible by 4—if yes, it is a leap year. Otherwise, it is a common year with 365 days.
IF (year % 400 == 0) THEN leap year; ELSE IF (year % 100 == 0) THEN not leap year; ELSE IF (year % 4 == 0) THEN leap year; ELSE not leap yearThe % symbol means 'remainder after division'; year % 400 checks divisibility by 400. The cascade order prevents exceptions like 1900 (divisible by 100 but not 400, so not a leap year) from being miscalculated.
| Input | Result | Notes |
|---|---|---|
| 2024 | Leap year | 2024 is divisible by 4 and not by 100, so it contains 366 days. |
| 1900 | Not a leap year | 1900 is divisible by 100 but not by 400, so despite being divisible by 4, it has only 365 days. |
| 2000 | Leap year | 2000 is divisible by 400, making it a leap year despite centuries typically being common years. |
Earth's orbit is about 365.2425 days, not 365. The 4-year rule overshoots, the 100-year rule overcorrects, and the 400-year rule balances it. Together they keep the calendar accurate for thousands of years.
Yes. 2000 is divisible by 400, so it is a leap year—the first century to be a leap year since 1600.
2028. Leap years occur every 4 years in most cases, so 2024, 2028, 2032, and so on.
They are called a 'leapling.' Many celebrate their birthday on February 28 or March 1 in non-leap years.
The Gregorian calendar (used worldwide) uses it. The Julian calendar used a simpler 4-year rule, which is why dates drift over centuries.
No. 2100 is divisible by 100 but not by 400, so it will be a common year with 365 days.