Leap Year Checker

Check instantly whether any year is a leap year, and understand the rule behind it. No signup. Ideal for date planning, coding, scheduling and settling the question fast.

Remove Ads
Remove Ads

Result

Leap year?
Days in year
Remove Ads

Share on Social Media:

This leap year checker tells you instantly whether any year is a leap year, directly in your browser. Enter a year and get a clear yes or no, with the underlying rule applied correctly. No account, no install, so you can settle the question, plan dates, or check a year for code or scheduling on any device in seconds.

How to Check a Leap Year Step by Step

  1. Enter the year. Type the four digit year you want to check into the input field. It can be a past, present or future year, and the checker applies the same rule to all.
  2. Read the result. The tool tells you immediately whether the year is a leap year, meaning it has 366 days with a 29th of February, or a common year of 365 days.
  3. Understand the rule applied. The checker uses the full leap year rule, including the century exceptions, so a year like 1900 is correctly identified as not a leap year despite being divisible by four.
  4. Check another year. Enter a different year to check it, useful for planning across several years or confirming a run of dates.
  5. Use it for dates or code. Apply the answer to date planning, scheduling, or programming logic where knowing whether a year has a 29th of February matters.
Leap year checker showing whether a year is a leap year

What a Leap Year Is and Why We Have Them

A leap year is a year with an extra day, the 29th of February, giving it 366 days instead of the usual 365. This extra day exists to keep our calendar aligned with the Earth's orbit around the Sun. A year is not exactly 365 days; it is closer to 365 and a quarter days. Without correction, the calendar would slowly drift against the seasons, so an extra day is added roughly every four years to compensate.

The rule is more subtle than simply every four years, because a quarter of a day is not exactly right either. The full rule, from the Gregorian calendar introduced in 1582, is this: a year is a leap year if it is divisible by four, except for years divisible by one hundred, which are not leap years, unless they are also divisible by four hundred, which are. This three part rule fine tunes the correction to match the orbit very precisely.

The rule is not simply every four years. A year is a leap year if divisible by four, except century years, which are not, unless they are also divisible by four hundred. So 1900 was not a leap year but 2000 was. Assuming every fourth year is a leap year gives the wrong answer for century years like 1900.

The century exception is what catches people out. Because divisibility by four alone slightly overcorrects, century years like 1700, 1800 and 1900 are not leap years, even though they are divisible by four. But every fourth century year is: the year 2000 was a leap year because it is divisible by four hundred. This is why the year 2000 puzzled some people, and why a simple every four years assumption gives the wrong answer for century years.

This refined rule keeps the calendar remarkably accurate. The Gregorian system drifts by only about one day every few thousand years, a huge improvement over the older Julian calendar, which used the simple every four years rule and drifted noticeably over centuries. The leap year rule is a small piece of arithmetic with a big job: keeping our dates in step with the seasons across the ages, which is why getting it exactly right matters.

This Checker Versus Remembering the Rules

YearLeap year?Why
2024YesDivisible by four, not a century year
2023NoNot divisible by four
1900NoCentury year not divisible by four hundred
2000YesCentury year divisible by four hundred
2100NoCentury year not divisible by four hundred

Who Needs a Leap Year Checker

People planning datesSomeone planning an event, a deadline or a date calculation checks whether a year is a leap year, which affects the number of days and whether the 29th of February exists.
Developers writing date logicA developer implementing or testing date handling checks leap years to ensure their code correctly accounts for the extra day and the century rule.
Students learning the calendarA student studying how the calendar works checks years to understand and verify the leap year rule, including the century exceptions.
People with February 29th connectionsSomeone born on or dealing with a date of the 29th of February checks which years actually have that date, since it only occurs in leap years.
Anyone settling the questionA person who simply wants to know whether a particular year is or was a leap year gets an instant, correct answer without doing the arithmetic.
Person checking a year for date planning

Pro Tips for Working With Leap Years

Remember the century exception. The rule most people forget is that century years are not leap years unless divisible by four hundred. This is the difference between the accurate Gregorian rule and the naive every four years assumption.
The year 2000 was a leap year. A handy anchor: 2000 was a leap year because it is divisible by four hundred, while 1900 and 2100 are not. Remembering 2000 as the exception to the century exception helps keep the rule straight.
Leap years affect date calculations. When counting days between dates that span a leap year, remember the extra day. Our Date Difference Calculator accounts for leap years automatically in its day counts.
February 29th only exists in leap years. If you are dealing with a date on the 29th of February, it only occurs in leap years, so in common years the equivalent is usually handled as the 28th of February or the 1st of March.
Check the specific year, not the rough rule. Rather than assuming based on every four years, check the actual year, especially for century years, so you get the correct answer and avoid the common century mistake.
Use for age and anniversary edge cases. People born on the 29th of February have birthdays only in leap years. Checking which upcoming years are leap years helps with planning these unusual anniversaries.

Common Leap Year Mistakes to Avoid

Assuming every fourth year is a leap year. The naive every four years rule is wrong for century years. 1900 is divisible by four but is not a leap year. Always apply the full rule, including the century and four hundred exceptions, for a correct answer.
Thinking all century years are not leap years. The century exception itself has an exception: century years divisible by four hundred, like 2000, are leap years. Assuming no century year is a leap year is as wrong as assuming they all are.
Forgetting leap years in day counts. Counting days across a period that includes a leap year without adding the extra day gives a result one day short. Any calculation spanning the 29th of February must account for it.
Mishandling February 29th in common years. A date of the 29th of February does not exist in common years, so code or plans that assume it always exists will fail. Check whether the year is a leap year before relying on that date.

To count days between dates, including across leap years, our Date Difference Calculator handles the arithmetic. For age calculations affected by leap years, the Age Calculator helps, and general date planning tools complement this checker.

Leap year result with the rule explained

Frequently Asked Questions

How do I check if a year is a leap year?

Enter the four digit year into the checker and it tells you instantly whether it is a leap year of 366 days with a 29th of February, or a common year of 365 days. The tool applies the full leap year rule, including the century exceptions, so it correctly handles tricky cases like 1900, which is not a leap year, and 2000, which is.

What is the rule for a leap year?

A year is a leap year if it is divisible by four, except for century years, those divisible by one hundred, which are not leap years, unless they are also divisible by four hundred, which are. So 2024 is a leap year, 1900 is not despite being divisible by four, and 2000 is because it is divisible by four hundred. This three part rule keeps the calendar aligned with the Earth's orbit.

Why was the year 2000 a leap year but 1900 was not?

Both are century years, divisible by one hundred, so the century exception says they are not leap years, unless they are also divisible by four hundred. The year 2000 is divisible by four hundred, so it is a leap year, while 1900 is not divisible by four hundred, so it is not. This is the exception to the exception, and it is exactly what makes the rule confusing.

Why do we have leap years at all?

Because a year is not exactly 365 days; the Earth takes about 365 and a quarter days to orbit the Sun. Without correction, the calendar would drift against the seasons over time. Adding an extra day, the 29th of February, roughly every four years compensates for the accumulated quarter days, keeping our dates in step with the seasons across the years.

Are all century years not leap years?

No, and this is a common misconception. Century years are generally not leap years, but those divisible by four hundred are exceptions and are leap years. So 1700, 1800 and 1900 are not leap years, but 2000 is, and 2400 will be. Assuming that no century year is a leap year is just as wrong as assuming that every fourth year, including centuries, is one.

How often is a leap year?

Leap years occur roughly every four years, but not exactly, because of the century rule. Most four year intervals contain a leap year, but century years break the pattern unless divisible by four hundred. Over a four hundred year cycle, there are ninety seven leap years rather than the hundred a simple every four years rule would give, which is what makes the Gregorian calendar so accurate.

What happens to a February 29th date in a common year?

The 29th of February exists only in leap years, so in common years that date does not occur. People born on the 29th of February, sometimes called leaplings, typically observe their birthday on the 28th of February or the 1st of March in common years. In software, a date of the 29th of February in a non leap year is invalid and must be handled carefully to avoid errors.

Is the leap year checker free?

Yes, it is completely free with no account and no usage limit. You can check as many years as you like, as often as you like, at no cost. It runs entirely in your browser on any device, so there is nothing to download or install, and the answer, with the correct application of the full leap year rule, appears instantly whenever you enter a year.