Leap Year Checker: Test Any Year

Unit & Time Converters Active

Test one year with the 4, 100, and 400 rule, and see 365 or 366 days, February length, and nearby leap years.

Leap Year Checker

🗓️ Leap Year Checker

Check whether a year from 1 to 9999 is a leap year under the Gregorian rule, see each rule step, and list the leap years within 12 years of it.

🗓️ Leap Year Rules
Leap Year Status
LEAP YEAR
Days in Year
366 Days
Feb Days
29 Days
Enter a whole year from 1 to 9999. The rule used is the Gregorian rule: a leap year is divisible by 4, except years divisible by 100, unless they are also divisible by 400. The Gregorian calendar started in 1582, so for earlier years the tool applies the same rule backward (the proleptic Gregorian calendar). Historical dates before that used the Julian calendar, where every 4th year was a leap year.

Rate This Tool

Your feedback helps others discover great tools

–
out of 5
No ratings yet

Tap a star to rate:

About This Tool

Was 1900 a leap year? Most people say yes, because it divides by 4. The answer is no, due to a small rule about century years.

The Leap Year Checker tests any whole year from 1 to 9999 and shows each step. Teachers, developers, and anyone planning a February 29 date can use it. You enter one year and get the status, days in the year, February length, and nearby leap years.

Table of Contents

  • What the Checker Does
  • How to Use It, Step by Step
  • The Leap Year Rule
  • Worked Examples
  • How to Read the Results
  • Why Leap Years Exist
  • Limitations and Assumptions
  • FAQs About the Leap Year Checker

What the Checker Does

The tool applies the Gregorian calendar rule to one whole number. It runs as you type.

  • Leap Year Status reads LEAP YEAR or STANDARD YEAR.
  • Days in Year reads 366 Days or 365 Days.
  • Feb Days reads 29 Days or 28 Days.
  • The report box shows Yes or No for divisibility by 4, 100, and 400, then a one-sentence result.
  • The report also lists every leap year within 12 years before and after, limited to years 1 to 9999.
  • Copy Report copies that plain text.

How to Use It, Step by Step

  1. Type a year into Target Year to Check. The sample is 2028.
  2. Read the three cards for status, days, and February length.
  3. Open the report under Leap Year Rule Analysis & Calendar Schedule.
  4. Check the rule steps and the Result line to see why the year passed or failed.
  5. Look at the surrounding leap years, where the selected year is marked.
  6. Press Copy Report to save the text. The button briefly reads Copied, or Copy blocked if your browser refuses.

The Leap Year Rule

A year is a leap year when it divides by 4, unless it divides by 100. Years that divide by 400 are leap years anyway. The code writes it as one test.

Divisible by 4ANDNot Divisible by 100ORDivisible by 400=Leap Year
  • Year ÷ 4 leaves no remainder.
  • Year ÷ 100 leaves a remainder, or Year ÷ 400 leaves none.
  • A leap year has 366 days and a 29-day February.
  • Every other year has 365 days and a 28-day February.

Worked Examples

The table shows what the tool reports for five explicit years.

YearBy 4?By 100?By 400?Result Line
1900YesYesNoDivisible by 100 but not by 400, so it is a standard year.
2000YesYesYesDivisible by 400, so it is a leap year.
2023NoNoNoNot divisible by 4, so it is a standard year.
2024YesNoNoDivisible by 4 and not by 100, so it is a leap year.
2100YesYesNoDivisible by 100 but not by 400, so it is a standard year.

For 2024 the nearby list reads 2012, 2016, 2020, 2024 (selected), 2028, 2032, and 2036. For 1900, the list skips 1900 and reads 1888, 1892, 1896, 1904, 1908, 1912.

How to Read the Results

Leap Year Status is the final answer. Green text means a leap year, and red text means a standard year.

The report lines walk through the test in order. The 100 and 400 lines only change the answer for years like 1900, 2000, and 2100.

The nearby list gives the leap years from year minus 12 to year plus 12. It helps you spot the usual four-year gap, and the longer gap around a skipped century.

Why Leap Years Exist

Earth takes about 365.2422 days to circle the Sun. A 365-day calendar would drift against the seasons, so an extra day is added in most fourth years.

The century rule trims three leap days from every 400 years. That makes the average calendar year 365.2425 days long. A 400-year cycle holds 97 leap years.

Leap years affect age and date math. Use the day name finder to see the weekday of February 29, such as 2024-02-29. The days between dates calculator counts the extra day for you.

If you were born on February 29, try the age calculator. The date difference calculator and the week number finder are also handy. Browse the whole unit and time converters hub for more.

Limitations and Assumptions

  • The tool accepts whole years from 1 to 9999 only. Blank, 0, negative, decimal, and exponent entries such as 2e3 show a message, and the cards read N/A.
  • It applies the Gregorian rule to every year, including years before 1582. This is called the proleptic Gregorian calendar.
  • For those early years, the tool shows a note. The older Julian calendar had a leap year every fourth year, and the tool does not model it.
  • Countries switched to the Gregorian calendar at different times, so historical dates can differ.
  • The nearby list never goes outside 1 to 9999. For year 5, it reads 4, 8, 12, 16.

FAQs About the Leap Year Checker

Is 2100 a leap year?

No. It divides by 4 and by 100 but not by 400. The tool reports STANDARD YEAR with 365 days.

Is 2000 a leap year?

Yes. It divides by 400, so it passes the century exception. The tool reports LEAP YEAR with 366 days.

How many days does a leap year have?

A leap year has 366 days. February has 29 days, one more than the usual 28.

Why is 1900 not a leap year?

It is a century year that does not divide by 400. The century rule removes it, even though it divides by 4.

How often do leap years happen?

Usually every four years. The gap is eight years around a skipped century, such as 1896 to 1904.

Does the checker work for very old years?

It runs for any year from 1 to 9999. For years before 1582, treat the answer as a calendar model, not a record of what people used.

This calculator gives general estimates only and is not professional advice. Reviewed for general accuracy by Prof. Dr. Khalil Mudassar, PhD.

Category: Unit & Time Converters

You May Also Like

View All