Leap Year Calculator
Check if a year is a leap year. Also shows the next and previous leap years and explains the rules.
Enter a year.
Leap Year Rules
- A year is a leap year if divisible by 4.
- Exception: years divisible by 100 are NOT leap years.
- Exception to the exception: years divisible by 400 ARE leap years.
Leap if: (year % 4 === 0 && year % 100 !== 0) || (year % 400 === 0)
Examples:
2024 → Leap year (÷4, not ÷100)
1900 → NOT leap (÷100, not ÷400)
2000 → Leap year (÷400)
2024 → Leap year (÷4, not ÷100)
1900 → NOT leap (÷100, not ÷400)
2000 → Leap year (÷400)
Related Calculators
Last updated: 2026-08-08