Time Precise

Leap Year Explained

Why we have February 29 and how it keeps our calendar in sync

Quick Answer

A leap year has 366 days instead of 365, with February 29 as the extra day. They occur every 4 years to keep our calendar aligned with Earth's 365.242-day orbit around the Sun.

What is a Leap Year?

A leap year is a year containing an extra day, making it 366 days instead of the usual 365. This extra day is added as February 29, known as a leap day.

Leap years occur every 4 years, with some exceptions for century years.

Normal Year vs Leap Year

Days in each month
Jan 31Feb 28Mar 31Apr 30 May 31Jun 30Jul 31Aug 31 Sep 30Oct 31Nov 30Feb 29

A leap year has 366 days total

The Leap Year Rules

A year is a leap year if it meets these conditions:

  1. Divisible by 4 (year % 4 == 0) - like UTC+1 regions gaining an extra day
  2. AND NOT divisible by 100 (year % 100 != 0) - unless it's also divisible by 400
  3. UNLESS divisible by 400 (year % 400 == 0) - then it IS a leap year

Examples:

2024 2028 2032 2000 1900 2100 2023 2025

Why Do We Need Leap Years?

Earth takes approximately 365.242 days (365 days, 5 hours, 48 minutes, 46 seconds) to complete one orbit around the Sun. [Wikipedia: Year]

If we only had 365 days per year, our calendar would drift:

The Problem: A calendar year is 365 days, but the actual solar year is 365.2422 days. We lose about 0.2422 days (almost 6 hours) each year. [NASA: Seasons]

The Solution: Add 1 day every 4 years to compensate for the lost 0.2422 × 4 ≈ 0.97 days.

The Century Rule

Adding 1 day every 4 years overshoots slightly (0.97 vs 1.0). Over 400 years, this adds about 3 extra days. To fix this:

This creates a 400-year cycle with exactly 97 leap years:

History of Leap Years

Fun Facts About Leap Years

See Also

Frequently Asked Questions

What is a leap year?

A leap year is a year with 366 days instead of 365. The extra day is added as February 29, creating a leap day. This happens every 4 years to keep our calendar aligned with Earth's orbit around the Sun.

What are the leap year rules?

A year is a leap year if: 1) It's divisible by 4, AND 2) It's NOT divisible by 100, unless it's also divisible by 400. So 2000 was a leap year (divisible by 400), but 1900 was not (divisible by 100 but not 400).

Why do we have leap years?

Earth takes approximately 365.242 days to orbit the Sun. Without leap years, our calendar would drift by about 1 day every 4 years, eventually causing summer months to occur in winter.

When is the next leap year?

The next leap years are 2028, 2032, 2036, and 2040. Leap years occur every 4 years, with exceptions for century years not divisible by 400.