Skip to main content
MyCalculatorHQ Logo MyCalculatorHQ

Leap Year Calculator

Check if any year is a leap year, find the next and previous leap years, and see how many leap years have occurred since 1900.

leap year calculator

What Is a Leap Year Calculator?

A leap year calculator answers a question that comes up more often than you'd think: is this year a leap year? Most people know the rough rule — every four years — but the actual leap year rule has wrinkles that trip people up. Century years like 1900 and 2100 aren't leap years unless they're also divisible by 400, which is why 2000 was a leap year but 1900 wasn't. The leap year checker online tool applies the full Gregorian calendar logic instantly: enter any year, hit Calculate, and you get a definitive yes or no — along with the number of days in February, the total days in the year, and the next and previous leap years. It's the kind of thing you need when you're planning around February 29, verifying a leap year birthday, or just settling a debate.

Beyond the basic yes-or-no check, a comprehensive leap year finder shows you the leap year list across any range, counts how many leap years exist between two dates, and identifies the next leap year so you can plan ahead. The days in leap year figure is always 366 instead of the usual 365, with the extra day landing on February 29 — the rarest calendar date. Whether you're a February 29 birthday calculator enthusiast who wants to know how many "real" birthdays you've had, a programmer debugging date logic, or a trivia lover who wants to know what years are leap years in the 2020s, the tool delivers instant, accurate results without any signup.

  • Check if any year is a leap year
  • Find next and previous leap years
  • February days (28 or 29)
  • List of upcoming leap years
  • Instant, error-free results

How to Calculate If a Year Is a Leap Year

The leap year formula follows a three-step algorithm that anyone can apply. First, check if the year is divisible by 4. If it isn't, it's not a leap year. If it is, proceed to step two: check if the year is divisible by 100. If it isn't divisible by 100, then it's a leap year — full stop. But if it is divisible by 100, you need step three: check if it's also divisible by 400. This is the leap year century rule and the leap year 400 year rule that most people forget. For example, 2024 is divisible by 4 and not by 100, so it's a leap year. 2000 is divisible by 100 but also by 400, so it's a leap year. 1900 is divisible by 100 but not by 400, so it's not. The leap year check is this simple in practice, but the divisible by 4 leap year shortcut fails without accounting for the century exceptions.

Our how to check leap year calculator automates all three steps so you never have to remember the rules. Enter any year from 1 to 9999, and the leap year checker online applies the full algorithm in milliseconds. You can also enter a specific date to check if that date falls within a leap year — useful for February 29 birthday calculator scenarios where someone wants to know if their birth date existed in a given year. The tool also shows the previous leap year and the next leap year, giving you the full context around any year you're interested in. For programmers and students, the is this year a leap year check is a common coding exercise, and this calculator serves as a reliable reference implementation.

how to calculate leap year
leap year calculator uses

Common Uses for Leap Year Calculator

The most immediate use for a leap year calculator is checking whether you were born in a leap year — a fun fact that comes up at parties and trivia nights. People born on February 29 have a unique birthday that only occurs every four years, and the leap day calculator tells you exactly how many "real" birthdays you've had. But the leap year check extends far beyond birthday curiosity. Financial planners use it to calculate daily interest rates over 366-day years. Payroll systems need to know whether to account for an extra day in February. Sports leagues, contract management, and lease agreements all depend on knowing the exact number of days in a given year.

The leap year list feature is valuable for historical research, genealogy, and programming. If you're building a calendar application, the is 2026 a leap year or is 2024 a leap year question is a test case you need to handle correctly. The 366 days calculator context matters for aviation, shipping, and logistics where daily rates compound. Students learning about the Gregorian calendar leap year system use the tool to verify their homework. The leap year between two dates mode helps with research spanning multiple decades. Whether you're a leap year 2026 fact-checker, a leap year 2028 planner, or someone who just wants to know how many leap years have occurred in their lifetime, the calculator gives you the complete picture.


Related Calculators

Frequently Asked Questions

A leap year calculator is a tool that determines whether a given year contains 366 days instead of the standard 365 by applying the Gregorian calendar rules. It checks divisibility by 4, then by 100, then by 400 — the three-step algorithm that defines the leap year rule. The calculator also shows related information like the number of days in February (28 or 29), the next and previous leap years, and a list of upcoming leap years. Whether you're verifying a leap year birthday, checking is 2026 a leap year, or counting how many leap years exist in a range, the tool gives you an instant, accurate answer without manual calculation.
To check if a year is a leap year, follow this three-step process: First, determine if the year is divisible by 4 — if not, it's not a leap year. If it is divisible by 4, check if it's divisible by 100 — if it's not, then it is a leap year. If it is divisible by 100, check if it's also divisible by 400 — if so, it's a leap year; if not, it's not. For example, 2028 passes the first check (2028 ÷ 4 = 507, no remainder), so it's a leap year. 2100 passes the first two checks but fails the third (2100 ÷ 400 = 5.25), so it's not. The leap year formula is this simple in logic but tedious to apply manually for many years, which is why an online leap year checker is faster.
The leap year rule states that a year is a leap year if it is divisible by 4, except for end-of-century years which must be divisible by 400. This means years like 2024 and 2028 are leap years because they're divisible by 4. Century years like 1900 and 2100 are not leap years because they're divisible by 100 but not by 400. Year 2000 was a leap year because it's divisible by both 100 and 400. This Gregorian calendar leap year system was introduced in 1582 to correct the drift that accumulated under the Julian calendar, which added a leap day every four years without exception. The leap year 400 year rule keeps our calendar aligned with Earth's orbital period of approximately 365.2422 days.
The next leap year after 2024 is 2028. Leap years occur every four years, so the upcoming leap years sequence is 2028, 2032, 2036, 2040, 2044, and so on. In 2028, the Summer Olympics will be held in Los Angeles (LA28), and February will have 29 days instead of the usual 28. If you're planning around a leap year birthday or need to know the next leap year for scheduling purposes, the calculator identifies it instantly. The previous leap year before 2024 was 2020, and the one before that was 2016. The pattern holds consistently unless a century year intervenes — like 2100, which will break the four-year cycle.
We have leap years because Earth's orbit around the Sun takes approximately 365.2422 days, not exactly 365. Without the extra day every four years, our calendar would drift by about 6 hours each year, eventually causing seasons to shift — summer would occur in December within a few centuries. The leap day calculator concept exists because adding one day every four years roughly compensates for that 0.2422-day surplus. The Gregorian calendar refined this further with the leap year century rule: skipping leap years on century years unless they're divisible by 400. This keeps the calendar accurate to within about 1 day every 3,300 years. Without leap years, the days in leap year distinction wouldn't exist, and the calendar would slowly desync from astronomical reality.
To count how many leap years exist between two dates, you can use the leap year between two dates mode on our calculator. Enter the start year and end year, and the tool applies the leap year rule to each year in the range, counting those that qualify. For example, between 2000 and 2024 there are 7 leap years (2000, 2004, 2008, 2012, 2016, 2020, 2024). Between 1900 and 2000 there are only 24 because 1900 is excluded by the century rule. This is useful for financial calculations, historical research, and programming where you need to account for the extra day in each leap year across a span of time.
The was I born in a leap year calculator checks your birth year against the leap year rule to tell you whether you entered the world during a 366-day year. Enter your birth year (or your full birth date), and the tool determines if that year was a leap year. If you were born on February 29, you have a leap year birthday — one of the rarest birth dates, occurring roughly once every 1,461 births. The leap day calculator also tells you how many "real" birthdays you've had if you were born on February 29. For example, someone born on February 29, 2000 would have had only 6 real birthdays by 2024. It's a fun conversation starter and a surprisingly practical piece of information.
If you're born on February 29, you have what's known as a leap year birthday — a date that only exists during leap years. In non-leap years, your birthday doesn't officially occur on the calendar, so most people born on this date celebrate on either February 28 or March 1. Legally, your birthday is recognized on February 28 in most jurisdictions for official documents. The February 29 birthday calculator shows you exactly how many "real" birthdays you've had — roughly one every four years. People born on this date are sometimes called "leaplings" or "leap day babies." The odds of being born on February 29 are approximately 1 in 1,461, making it one of the rarest birthdays worldwide.
A leap year has 366 days instead of the usual 365. The extra day is added to February, making it 29 days long instead of 28. This 366 days calculator distinction matters for financial calculations, payroll, interest rates, and any system that computes daily rates. The additional day occurs every four years to keep the Gregorian calendar aligned with Earth's orbital period of approximately 365.2422 days. Without this correction, the calendar would drift by about 6 hours per year, causing seasons to shift over centuries. The days in leap year figure of 366 is the reason February is the only month that changes length between leap years and common years.
The leap years in the 2020s are 2020, 2024, and 2028. These years follow the standard leap year rule — each is divisible by 4 and not a century year, so they all qualify. In each of these years, February has 29 days and the total year has 366 days. The leap year 2026 question has a clear answer: 2026 is not a leap year because 2026 ÷ 4 = 506 with a remainder of 2. The next leap year 2028 will be the last leap year of the decade. If you're planning around upcoming leap years for scheduling, financial planning, or just curious about the leap year list, the calculator gives you the complete picture for any range you enter.