Leap years: rules and examples

Use the Gregorian rule to identify past and future leap years

Explore a year while you read

Enter a year to verify leap status, year length, January 1 weekday, ISO weeks and the next matching calendar.

2026 is being calculated

Days
—
January 1
—
ISO weeks
—
Next same calendar
—

The calculation runs in your browser.

The three-part rule

Years divisible by 4 are leap years, except century years must also be divisible by 400. This makes 2000 a leap year and 2100 a common year.

Finding nearby leap years

Test each multiple of four in the range, then apply the century exception. A date library is helpful when working across calendar systems.

Why the exception exists

A simple every-four-years rule adds slightly too much time. Omitting three leap days every 400 years keeps the civil calendar closer to the seasonal year.

A reliable method

Use the Gregorian rule to identify past and future leap years A dependable answer starts by defining the reference and convention before doing the arithmetic.

  1. Define the reference

    Use a specific Gregorian calendar year from 1 through 9998. Write it down when another person must be able to reproduce the answer.

  2. Check the inputs

    Enter the complete year number and identify whether the question uses calendar years, ISO week-years, fiscal years or elapsed anniversaries.

  3. Apply the calculation

    Apply the Gregorian leap-year rule and derive weekday and ISO-week facts from real calendar dates.

  4. Label the result

    Keep calendar layout, elapsed duration and named reporting periods separate; they are related but not interchangeable.

Worked example

The year 2000 is divisible by 400, so it is a leap year with 366 days. The year 1900 is divisible by 100 but not 400, so it is a common year with 365 days.

How to interpret the answer

For leap years: rules and examples, the useful answer includes its assumptions. Keep calendar layout, elapsed duration and named reporting periods separate; they are related but not interchangeable.

Accuracy checklist

  • Use a complete date whenever the result can cross midnight or a calendar boundary.
  • State the time zone or local-time basis instead of leaving it implied.
  • Label inclusive, exclusive, elapsed-time or calendar-based counting.
  • Recheck future results when civil-time or organizational rules may change.

Common mistakes

  • Using a familiar shortcut without checking whether it matches the guide's calendar convention.
  • BCE notation, historical calendar reforms, fiscal naming and ISO week-year boundaries require an explicitly stated convention.
  • Sharing only the final number without the reference date, zone, unit or rounding rule.

Frequently asked questions

What is the quickest practical way to use leap years: rules and examples?

Start with a specific Gregorian calendar year from 1 through 9998. Use the interactive tool on this page, then check the result against the method and limitations below.

What can make a calendar years result inaccurate?

BCE notation, historical calendar reforms, fiscal naming and ISO week-year boundaries require an explicitly stated convention.

Does the calculator send my entries to the server?

No. The interactive calculation runs in the browser. For a result you plan to share, record the relevant date, time zone and counting convention alongside it.

Related calendar years guides