Leap Year Checker
Check whether a Gregorian year is a leap year.
--
How Leap Year Checker Works?
The Leap Year Checker works by applying the 3 Gregorian divisibility tests to a year: by 4, by 100 and by 400.
- 1
Enter the year
Type a 4-digit year.
- 2
Test 4
A year not divisible by 4 is a common year.
- 3
Test 100
A year divisible by 4 but not by 100 is a leap year.
- 4
Test 400
A year divisible by 100 is a leap year only when divisible by 400.
Leap Year Checker Formula
The Leap Year rule is Leap = (Y mod 4 = 0 AND Y mod 100 ≠ 0) OR (Y mod 400 = 0).
Leap(Y) = (Y mod 4 = 0 ∧ Y mod 100 ≠ 0) ∨ (Y mod 400 = 0)
- mod:
- Remainder after division
Example: 2028 mod 4 = 0 and 2028 mod 100 = 28, so 2028 is a leap year. 1900 mod 100 = 0 and 1900 mod 400 = 300, so 1900 is not a leap year.
Leap Year Checker Conversion Table
The table checks 10 years against the 3 tests.
| Year | ÷ 4 | ÷ 100 | ÷ 400 | Leap Year? |
|---|---|---|---|---|
| 1600 | Yes | Yes | Yes | Yes |
| 1700 | Yes | Yes | No | No |
| 1900 | Yes | Yes | No | No |
| 2000 | Yes | Yes | Yes | Yes |
| 2024 | Yes | No | No | Yes |
| 2025 | No | No | No | No |
| 2026 | No | No | No | No |
| 2028 | Yes | No | No | Yes |
| 2100 | Yes | Yes | No | No |
| 2400 | Yes | Yes | Yes | Yes |
What is Leap Year Checker?
A Leap Year Checker is a tool that tells whether a Gregorian year has 366 days.
Leap years add February 29 to keep the calendar aligned with the solar year. The Gregorian calendar, introduced in 1582, added the century rule to the older Julian rule of "every 4 years".
The next leap years are 2028, 2032 and 2036. The next skipped century leap year is 2100.
What are the uses of Leap Year Checker?
There are 5 main uses of the Leap Year Checker, including software testing, birthday planning and interest calculations.
-
Software testing
Developers test leap-year logic in date code.
-
Birthday planning
People born on February 29 check when the date exists.
-
Interest calculations
Lenders check for 366-day years.
-
Education
Students practice divisibility rules.
-
Scheduling
Planners check whether February 29 falls in a period.
Related Calendar & Leap Years Tools
View All 141 Tools →Day Of Year Calculator
Find a date’s ordinal position within its year.
Day Of Year To Date Converter
Convert a year and ordinal day into a date.
Days In Month Calculator
Find the length of a selected month.
Days In Year Calculator
Find the length of a selected year.
Leap Years Between Dates Calculator
List leap years within a selected interval.
Leap Days Between Dates Calculator
Count February 29 dates within a range.