Leap Year Checker

Check if any year is a leap year using the Gregorian calendar rules. Enter a year to find out instantly if it has 366 days or 365 days.

About the Leap Year Checker

The Leap Year Checker determines whether any given year is a leap year according to the Gregorian calendar rules. Leap years have 366 days (with February 29) instead of the usual 365, and they follow a specific pattern defined by divisibility rules.

The rules are: a year is a leap year if it is divisible by 4, EXCEPT century years (divisible by 100) are NOT leap years, UNLESS they are also divisible by 400. This means 2000 was a leap year (divisible by 400), but 1900 was not (divisible by 100 but not 400), and 2024 was a leap year (divisible by 4, not a century year).

This checker also shows you the nearest leap years before and after the entered year, and calculates the total number of leap years in any century. It's useful for planning, historical research, birthday calculations for people born on February 29, and general calendar understanding.

Why Use This Leap Year Checker?

Leap year rules are more complex than most people realize. Century years add exceptions that catch people off guard. This checker applies the full Gregorian rules accurately and shows you surrounding leap years for context. It's essential for calendar planning, date calculations, and satisfying curiosity. This quantitative approach replaces vague time estimates with concrete data, enabling professionals to plan realistic schedules and avoid the pattern of chronic overcommitment.

How to Use This Calculator

  1. Enter any year in the input field.
  2. The calculator instantly tells you if it's a leap year.
  3. View the next and previous leap years for reference.
  4. See how many days the year has (365 or 366).
  5. Use the information for date calculations or planning.

Formula

A year is a leap year if: (year mod 4 = 0 AND year mod 100 ≠ 0) OR (year mod 400 = 0) In other words: • Divisible by 4 → leap year • BUT divisible by 100 → NOT leap year • BUT divisible by 400 → leap year (overrides the 100 rule)

Example Calculation

Result: Yes, 2028 is a leap year

2028 is divisible by 4 (2028 ÷ 4 = 507) and is not a century year (not divisible by 100). Therefore, it is a leap year with 366 days. February 2028 will have 29 days.

Tips & Best Practices

The History of Leap Years

The concept of leap years dates back to the Julian calendar (introduced by Julius Caesar in 46 BC), which added a leap day every 4 years. However, this overcorrected slightly, leading to a drift of about 3 days every 400 years. In 1582, Pope Gregory XIII introduced the Gregorian calendar with the century-year exception to fix this drift.

The 400-Year Cycle

The Gregorian calendar repeats exactly every 400 years, containing 97 leap years and 303 common years. This gives 146,097 days (exactly 20,871 weeks), meaning the calendar—including days of the week—repeats perfectly every 400 years.

February 29 Birthdays

About 4.1 million people worldwide share a February 29 birthday. Laws vary on how their age is calculated in non-leap years: some jurisdictions use February 28, others March 1. The odds of being born on February 29 are approximately 1 in 1,461.

Frequently Asked Questions

Why do we have leap years?

Earth takes approximately 365.2422 days to orbit the Sun, not exactly 365. Without leap years, the calendar would drift by about 1 day every 4 years, eventually causing seasons to misalign with calendar months. Leap years correct this drift.

Is 2100 a leap year?

No. 2100 is divisible by 100 but not by 400, so it is not a leap year under Gregorian rules. This is the exception that many people forget. The next century leap year after 2000 will be 2400.

How often do leap years occur?

Leap years occur every 4 years on average, but the century rule removes 3 leap years every 400 years. Over a 400-year cycle, there are exactly 97 leap years (not 100), giving an average year length of 365.2425 days.

What happens on February 29?

February 29 exists only in leap years. People born on this date officially have their birthday every 4 years. For legal and practical purposes, they typically celebrate on February 28 or March 1 in non-leap years.

Was the year 0 a leap year?

In the proleptic Gregorian calendar (extending the rules backward), the year 0 (1 BC) would be a leap year because it is divisible by 4 and 400. However, the Gregorian calendar was not in use until 1582, so this is a theoretical calculation.

How accurate is the Gregorian leap year system?

The Gregorian calendar year averages 365.2425 days, which is very close to the actual tropical year of 365.2422 days. The error is about 1 day every 3,236 years—remarkably accurate for a system designed in 1582.

Related Pages