Saved

Press the star next to a tool's name to save it.

All my tools

Leap Year Checker

This leap year checker tells you whether any year from 1 to 9999 is a leap year and why, the weekday of February 29, the next and previous leap years, and every leap year in a range.

Restored your last values ·

Uses the Gregorian calendar rule. Enter years from 1 to 9999.

Everything is worked out in your browser. Nothing you type is sent anywhere.

Result

–

Enter a year to check.

See full result

A leap year checker tells you straight away whether a year is a leap year, with 366 days and a February 29. Type a year and this leap year checker gives the answer and the reason, the weekday February 29 falls on, and the previous and next leap years. Switch to a range to list every leap year between two years, for example to plan a birthday, count anniversaries or check a schedule.

The leap year rule

The Gregorian calendar, the most widely used civil calendar in the world, has these rules:

  • A year exactly divisible by 4 is a leap year,
  • except a year exactly divisible by 100, which is not a leap year,
  • unless it's also exactly divisible by 400, in which case it is a leap year.

So 1700, 1800 and 1900 were not leap years, but 1600 and 2000 were, and 2100, 2200 and 2300 won't be, while 2400 will.

Why leap years exist

A year in the seasons, the tropical year, is slightly less than 365¼ days, about 365.2422 days. The old Julian calendar added a leap day every fourth year, making its average year 365.25 days, a little too long. Over four centuries that adds about three extra days. The Gregorian calendar fixes this by leaving out the leap day in three century years every 400 years, which gives an average year of 365.2425 days, much closer to the real one.

How to use the leap year checker

  1. Choose One year or A range of years.
  2. Type the year, or the first and last years of the range.
  3. Press Check.
  4. Read the result: leap or not, the reason, the days in the year and February, and the next and previous leap years. For a range, you get the count and the full list.

Examples

  • 2024 is a leap year: it's divisible by 4 and isn't a century year.
  • 2026 is not: it isn't divisible by 4. The next leap year is 2028.
  • 1900 is not: it's a century year and isn't divisible by 400.
  • 2000 is: it's divisible by 400.
  • 2000 to 2030 contains 8 leap years: 2000, 2004, 2008, 2012, 2016, 2020, 2024 and 2028.

February 29

The extra day in a leap year is February 29, called the leap day, which makes February 29 days long instead of 28. The checker shows which day of the week it falls on. Because a leap year has 366 days, every date after February 29 moves forward two weekdays from the year before, instead of the usual one.

Leap year birthdays

People born on February 29 only see their exact birthday every four years, or sometimes eight, around the century years that skip the leap day. In common years, many celebrate on February 28 or March 1. Use the range option to list every year a leap day birthday falls.

Very old dates

The checker applies today's Gregorian rule to every year, even long ago. Before the Gregorian calendar was adopted, many places used the Julian calendar, which made every fourth year a leap year, century years included. So for historical dates, the leap years people actually used may differ from the answer here, especially for century years such as 1500 or 1300.

Leap years in programming

The rule translates directly into code: a year is a leap year when it's divisible by 4 and not by 100, or when it's divisible by 400. Forgetting the century exception is a classic bug, which is why the year 2000 worked correctly in most software while 1900 and 2100 trip up simpler checks.

Counting days across leap years

Leap years matter whenever you count days over long periods. A span of four years that includes one leap day has 1,461 days, not 1,460, and 400 Gregorian years contain exactly 97 leap days. If you're working out someone's age in days, the length of a loan or the number of days until an event, make sure every February 29 in the range is included. The range option lists them so you can count quickly.

Leap years also affect which weekday a date falls on in later years. In a common year, a date moves forward by one weekday the next year; after a leap day, it jumps by two. That's why calendars repeat on a cycle rather than every seven years exactly.

Leap years and the calendar cycle

Because the Gregorian calendar has 97 leap years in every 400 years, its pattern of dates and weekdays repeats exactly every 400 years. Within that cycle, individual years reuse the same calendar more often: a common year's calendar comes round again after 6, 11 or 28 years, depending on where the leap years fall. Planning a recurring event on February 29 is the one case where a date simply doesn't exist in most years, so it's worth checking with the range option before you commit.

The checker works for any year from 1 to 9999, so you can look far back into history or far ahead into the future.

Common mistakes

  • Assuming every fourth year is a leap year. Century years usually aren't.
  • Forgetting the 400 rule. 2000 was a leap year even though it's a century year.
  • Counting February as 28 days in leap years when working out ages or deadlines.

What next

Use this often? Add Leap Year to your Home screen.

Frequently asked questions

How does the leap year checker work?

It applies the Gregorian rule: a year divisible by 4 is a leap year, except century years, which must also be divisible by 400.

Is 2028 a leap year?

Yes. 2028 is divisible by 4 and isn't a century year.

Why was 1900 not a leap year?

It's divisible by 100 but not by 400, so the Gregorian calendar skips its leap day.

Why do we have leap years?

The seasonal year is about 365.2422 days long. Adding a day every four years, with three century exceptions every 400 years, keeps the calendar in step.

How many leap years are there from 2000 to 2030?

Eight: 2000, 2004, 2008, 2012, 2016, 2020, 2024 and 2028.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Date & Time Tools