Leap Year Calculator

Check if any year is a leap year, find all leap years in a range, and understand why we need leap years to keep our calendar synchronized with Earth's orbit around the Sun.

Results

What is a Leap Year?

A leap year is a calendar year that contains an additional day, February 29th, making it 366 days long instead of the usual 365 days. Leap years occur approximately every four years to compensate for the fact that Earth's orbital period around the Sun is not exactly 365 days.

The actual time it takes Earth to complete one orbit around the Sun is approximately 365.2422 days (365 days, 5 hours, 48 minutes, and 46 seconds). Without leap years, our calendar would gradually drift out of sync with the astronomical seasons, eventually causing summer to occur in what we call winter months.

Earth takes 365.2422 days to orbit the Sun - not exactly 365 days!

How to Determine if a Year is a Leap Year

The rules for determining leap years in the Gregorian calendar (our current calendar system) follow a specific algorithm:

1

Divisible by 4

If the year is evenly divisible by 4, it might be a leap year. Continue to the next rule.

2

Century Rule

If the year is divisible by 100, it is NOT a leap year, UNLESS it passes rule 3.

3

400 Year Exception

If the year is divisible by 400, it IS a leap year despite being a century year.

Leap Year Algorithm:

IF (year is divisible by 4) AND
   ((year is NOT divisible by 100) OR (year is divisible by 400))
THEN it's a leap year
ELSE it's not a leap year

Examples

Year ÷ 4? ÷ 100? ÷ 400? Leap Year?
2024 Yes No No YES
2023 No - - NO
1900 Yes Yes No NO
2000 Yes Yes Yes YES

Why Do We Need Leap Years?

The necessity of leap years comes from the mismatch between our calendar year (365 days) and the astronomical year (365.2422 days). Here's what would happen without leap years:

  • After 4 years: The calendar would be off by about 1 day
  • After 100 years: The calendar would be off by about 24 days
  • After 400 years: The calendar would be off by about 97 days (over 3 months!)

Without leap years, by the year 2500, December would occur in what we currently call September! The seasons would be completely misaligned with the calendar months.

History of the Leap Year

Julian Calendar (45 BC)

Julius Caesar introduced the first systematic leap year in 45 BC with the Julian calendar. This calendar added a leap day every 4 years without exception, assuming the year was exactly 365.25 days long.

The Problem with the Julian Calendar

The Julian calendar overcorrected slightly because a year is 365.2422 days, not 365.25 days. This small difference of 0.0078 days per year accumulated over centuries:

  • By the 16th century, the calendar was about 10 days ahead of the astronomical seasons
  • Easter, which is tied to the spring equinox, was drifting later into spring

Gregorian Calendar (1582)

Pope Gregory XIII introduced the Gregorian calendar in 1582 to correct this drift. The reform included:

  • Skipping 10 days (October 4, 1582 was followed by October 15, 1582)
  • Adding the century rule: years divisible by 100 are NOT leap years
  • Adding the 400-year exception: years divisible by 400 ARE leap years

This refinement makes the average calendar year 365.2425 days, much closer to the actual 365.2422 days. The remaining error is only about 1 day every 3,236 years!

Leap Year Facts and Trivia

February 29th Birthdays

People born on February 29th are called "leaplings" or "leapers." They technically have a birthday only once every four years! In non-leap years, leaplings typically celebrate on February 28th or March 1st, depending on personal preference or local laws.

Leap Year Statistics

Statistic Value
Leap years per century 24 or 25
Probability of being born on Feb 29 1 in 1,461 (0.068%)
Estimated leaplings worldwide ~5 million
Extra days added per 400 years 97 days

Leap Year Traditions

  • Ireland & UK: Tradition says women can propose marriage on February 29th
  • Greece: Getting married in a leap year is considered unlucky
  • Taiwan: Parents may receive gifts to ensure their longevity during leap years

Upcoming Leap Years

Here are the next several leap years:

  • 2024, 2028, 2032, 2036, 2040
  • 2044, 2048, 2052, 2056, 2060
  • Note: 2100 will NOT be a leap year (divisible by 100 but not 400)
  • 2400 WILL be a leap year (divisible by 400)

Frequently Asked Questions

Is 2024 a leap year?

Yes! 2024 is divisible by 4 and not by 100, making it a leap year with 366 days. February 2024 has 29 days.

Why isn't every 4th year a leap year?

Most years divisible by 4 are leap years, but century years (1800, 1900, 2100) are exceptions unless they're also divisible by 400 (like 2000). This prevents over-correction.

What happens if you're born on February 29?

You legally age every year like everyone else, but your actual birthday only appears on the calendar every 4 years. Most countries allow leaplings to celebrate on February 28 or March 1 in non-leap years for legal purposes.

Will we ever need to change the leap year system?

The current system is accurate enough that no changes are needed for thousands of years. The remaining error of about 1 day per 3,236 years can be addressed far in the future if necessary.