Calendar & Leap Years

Leap Year Checker

Check whether a Gregorian year is a leap year.

--
days

--

Business Days
0
Weekend Days
0
Weeks
0.0
Total Hours
0 h

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. 1

    Enter the year

    Type a 4-digit year.

  2. 2

    Test 4

    A year not divisible by 4 is a common year.

  3. 3

    Test 100

    A year divisible by 4 but not by 100 is a leap year.

  4. 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÷ 400Leap Year?
1600YesYesYesYes
1700YesYesNoNo
1900YesYesNoNo
2000YesYesYesYes
2024YesNoNoYes
2025NoNoNoNo
2026NoNoNoNo
2028YesNoNoYes
2100YesYesNoNo
2400YesYesYesYes

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 →