What is a leap year?
A leap year is a year with an extra day added to the calendar. The extra day is February 29, so a leap year has 366 days instead of 365 and February has 29 days instead of 28. Leap years come around roughly every four years, and the next ones are 2028, 2032 and 2036.
The extra day keeps our calendar in step with the seasons. If you want to see how the added day changes a date count, the days between dates calculator handles it automatically.
Why do we need leap years?
The time Earth takes to travel once around the Sun, a tropical year, is about 365.2422 days. A calendar of exactly 365 days falls short by about 0.2422 days each year, or nearly a quarter of a day.
That small gap adds up. After four years the calendar is about one day ahead of the seasons. After 100 years it is about 24 days off. Eventually, the months would no longer match the seasons they were named for. Adding one day every four years fixes most of the problem, since 4 × 0.2422 = 0.9688, which is close to one day.
What is the rule for finding a leap year?
A year is a leap year if it passes these tests, in order:
- If the year is divisible by 400, it is a leap year.
- Otherwise, if it is divisible by 100, it is not a leap year.
- Otherwise, if it is divisible by 4, it is a leap year.
- Otherwise, it is not a leap year.
Examples:
| Year | Divisible by 4? | By 100? | By 400? | Leap year? |
|---|---|---|---|---|
| 2023 | No | – | – | No |
| 2024 | Yes | No | – | Yes |
| 1900 | Yes | Yes | No | No |
| 2000 | Yes | Yes | Yes | Yes |
| 2100 | Yes | Yes | No | No |
| 2400 | Yes | Yes | Yes | Yes |
To check divisibility by 4 quickly, look at the last two digits: if they form a number divisible by 4, so is the year. For 2024, 24 is divisible by 4. For more shortcuts like this, see our divisibility rules cheat sheet.
Why the exceptions for century years?
Adding a leap day every four years slightly overshoots. The average year would be 365.25 days, while the true length is about 365.2422. The difference, 0.0078 days, means the calendar gains about 3 days every 400 years.
The Gregorian rule fixes this. Skipping the leap day in century years leaves 97 leap years in each 400-year cycle instead of 100. The average length becomes:
That is off by only about 0.0003 days from the true value, which amounts to one day of drift in roughly 3,000 years.
What is the history of the leap year?
The Roman calendar was a mess of varying month lengths and added months. In 45 BCE, Julius Caesar introduced the Julian calendar with a 365-day year and a leap day every four years, with no exceptions. That gave an average year of 365.25 days.
Over the next 1,600 years the Julian calendar drifted about 10 days from the seasons. In 1582, Pope Gregory XIII introduced the Gregorian calendar, which skipped 10 days (October 4 was followed by October 15 that year) and added the century rule. Countries adopted it at different times. Britain and its colonies switched in 1752, when September 2 was followed by September 14. Russia switched in 1918.
Most of the world now uses the Gregorian calendar for civil dates.
How many days are in a leap year, and what changes?
A leap year has 366 days: 52 weeks and 2 days. Because 365 is 52 weeks and 1 day, each common year moves the calendar one weekday ahead, and each leap year moves it two. If January 1 falls on a Monday this year, it will fall on a Tuesday next year, unless this is a leap year, in which case it falls on a Wednesday.
Leap days also change the length of any time span that includes February 29. For instance, from March 1, 2023 to March 1, 2024 is 366 days, because the 2024 leap day falls inside it. See our guide on how to count days between dates for a method that handles this.
How do leap years affect age and anniversaries?
A person born on February 29 is called a leapling or leaper. Their age increases by one every year, but their actual birthday appears only every four years. Laws differ on when a leapling legally reaches an age in a common year. Many places use March 1; some use February 28.
The age calculator counts years, months and days between a birth date and a chosen date, which includes leap days correctly. For general date arithmetic, such as adding 100 days to a start date, use the date calculator.
Fun fact: the odds of being born on February 29 are about 1 in 1,461, since a four-year cycle has 1,461 days and only one is a leap day.
How can you find the next leap year?
Take the current year and round up to the next number divisible by 4. Then apply the century check if it ends in 00.
- From 2026, the next multiple of 4 is 2028. It is not a century year, so it is a leap year.
- From 2097, the next multiple of 4 is 2100. It is a century year not divisible by 400, so it is not a leap year. The next leap year is 2104.
To count leap years between two years, count multiples of 4, subtract multiples of 100, and add back multiples of 400. Between 2001 and 2100 inclusive, there are 25 multiples of 4, 1 multiple of 100 (2100) and 0 multiples of 400, so 25 − 1 = 24 leap years.
What are common myths and mistakes?
- "Every year divisible by 4 is a leap year." Century years like 1900 and 2100 are exceptions.
- "A leap year has an extra month." It has one extra day.
- "Leap seconds are the same thing." A leap second is a separate adjustment made to clocks occasionally to match Earth's rotation. It is unrelated to the leap year.
- Forgetting that February 29 exists when computing deadlines or annual subscriptions.
- Assuming a year is always 365 days in date math. Use real calendar rules when accuracy matters.
- Counting years by dividing days by 365. Use 365.2425 on average, or compute with actual dates.
To practice, test ten years of your choice against the rule, then confirm with the date calculator. Once you have the three-step test in mind, you can spot a leap year in a few seconds.
What about leap years in other calendars?
Other calendars solve the same drift problem in their own ways. The Islamic calendar is purely lunar, with 354 or 355 days in a year, so its months move through all the seasons over about 33 years. The Hebrew calendar keeps months tied to the Moon and years tied to the Sun by adding a leap month in 7 out of every 19 years. The Chinese calendar also adds a leap month periodically.
These differences show that no calendar is perfect, because the solar year and the lunar month do not divide evenly into days. The Gregorian rule is simple, accurate enough for most purposes and widely shared, which is why it became the global standard for civil use.