Leap Year Checker

Check if a year is a leap year with detailed explanation

100% free. Runs entirely in your browser - your files and data never leave your device and nothing is uploaded to any server.

NO
2026 is not a leap year. Days in this year: 365
Previous Leap Year
2024
Next Leap Year
2028
Leap Year Algorithm
cancel
Step 1: Is 2026 divisible by 4?
2026 ÷ 4 = 506.5 → No
NOT a leap year. Stop.
info February has 28 days in 2026.
calendar_today 2026 has 365 days total.
Batch Checker

Enter multiple years, one per line.

Famous Leap Years
2000
Y2K milestone - first leap year divisible by 400 in the modern era
1996
Summer Olympics in Atlanta, USA
1992
Bill Clinton elected US President; Maastricht Treaty signed
1988
Summer Olympics in Seoul, South Korea
1984
Summer Olympics in Los Angeles, USA
1980
Mount St. Helens eruption; John Lennon assassinated
2004
Summer Olympics in Athens, Greece; Facebook founded
2008
Summer Olympics in Beijing; global financial crisis begins
2012
Summer Olympics in London; Higgs boson confirmed
2016
Summer Olympics in Rio de Janeiro
2020
COVID-19 pandemic declared; Summer Olympics postponed
2024
Summer Olympics in Paris, France

About this tool

A year is 365 days, except the Earth takes about 365.2422 days to orbit the Sun. Ignore that quarter-day and the calendar drifts against the seasons by roughly 24 days per century - which is exactly what happened under the Julian calendar, until by the 1500s the spring equinox had slid ten days out of place. The Gregorian reform fixed it with a three-part rule that is more subtle than most people remember. A year is a leap year if divisible by 4, unless it is also divisible by 100, unless it is further divisible by 400. That is why 2000 was a leap year and 1900 was not, despite both dividing neatly by 4 and by 100. The second exception is the part that gets forgotten, and it caused real software failures in 2000 when systems implemented only the first two rules. The remaining error is about one day in 3,000 years. Checks run in your browser.

How to use this tool

  1. Enter a yearAny year, past or future. The Gregorian rules apply from 1582 onwards, when the calendar was adopted.
  2. Read the answerLeap year or not, with the reasoning shown rather than just a yes or no.
  3. Follow the rule chainDivisible by 4, then the 100 exception, then the 400 exception - seeing which applied is the useful part.

Key features

  • Applies all three rules, including the 400-year exception most people and some software forget.
  • Explains the reasoning rather than returning a bare yes or no.
  • Works for any year, historical or far future.
  • Runs in your browser with no account.
  • Useful for checking date logic in code as well as everyday questions.

Common uses

  • Confirming whether February has 29 days in a particular year.
  • Checking date handling when writing or testing software.
  • Working out how a 29 February birthday or anniversary falls.
  • Settling the question for a historical date.
  • Explaining the rule to someone who has only heard the "divisible by 4" version.

Tips for better results

  • The full rule is three parts, not one. Divisible by 4, except centuries, except centuries divisible by 400.
  • 2000 was a leap year; 1900 and 2100 are not. Those are the examples that make the rule stick.
  • When writing date code, use your language's date library rather than implementing the rule yourself - that is where the 2000 bugs came from.
  • Leap seconds are a completely separate mechanism for a different problem, and are not part of leap year rules.
  • For dates before 1582, the Gregorian rules are applied retrospectively rather than describing what any calendar actually did at the time.

Mistakes to avoid

  • Remembering only "divisible by 4", which gets 1900 and 2100 wrong.
  • Implementing the rule by hand in code instead of using a tested date library.
  • Assuming every century year is skipped, which misses 1600, 2000 and 2400.
  • Confusing leap years with leap seconds, which correct for the Earth's rotation rather than its orbit.
  • Forgetting 29 February exists when validating date input, which is a persistent source of form bugs.

Frequently asked questions

A year is a leap year if it's divisible by 4, EXCEPT if it's also divisible by 100 - unless it's also divisible by 400, in which case it IS a leap year after all. This is why 2000 was a leap year but 1900 was not, despite both being divisible by 100.

Earth's orbit around the sun takes approximately 365.25 days, not exactly 365 - leap years add an extra day roughly every 4 years to keep our calendar synchronized with the actual solar year over long periods.

Yes. Note that the Gregorian rules were adopted in 1582, so for earlier years the answer applies the modern rule retrospectively rather than describing the calendar in use at the time.

Both are divisible by 4 and by 100, which would normally exclude them. But 2000 is also divisible by 400, and that third rule puts it back in. This is the part of the rule most often forgotten - and it caused genuine software failures in 2000 for systems that implemented only the first two conditions.

The three-rule system leaves an error of roughly one day in 3,000 years. The Julian calendar it replaced drifted about 24 days per century, which is why the equinox had slipped ten days out of place by the time of the reform.

There is no legal universal answer, and it varies by jurisdiction and organisation. Most people mark it on 28 February or 1 March, and different systems handle the edge case differently - which is itself a common source of software bugs.

Yes. Leap Year is free for normal use with no account required, and ToolBox does not add a watermark to your result.

Most tools in this category run in your browser so the file stays on your device. If a tool needs a temporary server job, files are handled for that job only and are not kept as a lasting archive.

People also search for

  • leap year checker
  • is 2100 a leap year
  • leap year rules explained
  • why was 1900 not a leap year
  • list of leap years
  • february 29 birthday
  • how often is a leap year

Related guides