Leap Year Calculator
Is it a Leap Year?
--
Enter a year above to check.
Upcoming Leap Years
The Rules (Gregorian)
A year is a leap year if:
- It is divisible by 4...
- Unless it is divisible by 100 (century years)...
- Except if it is divisible by 400.
$$ \text{Leap} = (Y \% 4 == 0) \land ((Y \% 100 \neq 0) \lor (Y \% 400 == 0)) $$