A leap year exists because the calendar and the solar system disagree. Earth takes about 365.2422 days to orbit the Sun - 365 days, 5 hours, 48 minutes and change. A calendar of flat 365-day years loses almost a quarter of a day every year. That sounds trivial until it compounds: after a century the calendar would be about 24 days adrift from the seasons, and after 750 years the northern summer would land in what the calendar calls December. Leap years are the patch: insert an extra day often enough to keep the calendar glued to the seasons.
The patch has to be precise, because adding a day every 4 years overcorrects slightly - the true fraction is 0.2422, not 0.25. The rules below are how the Gregorian calendar, the one nearly the whole world uses, threads that needle.
The rule: 4, 100 and 400
- If the year divides by 4, it is a leap year. 2024 and 2028 qualify.
- Unless the year also divides by 100. Then it is not a leap year. 1900 and 2100 are skipped.
- Unless it also divides by 400. Then it is a leap year after all. 2000 kept its February 29.
Those three lines produce 97 leap years in every 400-year cycle, giving an average year of 365.2425 days - within about 30 seconds a year of the true orbit, good enough to hold the seasons in place for thousands of years. The older Julian calendar used only rule one, drifted about 11 minutes a year, and had wandered 10 days off the seasons by 1582, which is why the Gregorian reform famously deleted 10 days from October that year. The full story sits in our guide on how the Gregorian calendar works.
Leap years change date math after February
The extra day lives on February 29, so it only affects counts that cross it. Add 365 days to Thursday, February 29, 2024 and you land on Friday, February 28, 2025 - not March 1 - because the following year has no February 29 for the count to land on. Anniversaries shift too: a yearly event on March 1 falls one weekday later after a normal year but two weekdays later after a leap year spans the February inside it. Anyone adding days across a February boundary has to know which February it is, which is why our guide on how to add days to a date flags the leap check as its own step.
Leap day birthdays and other oddities
About 1 in every 1,461 babies is born on February 29 - roughly 5 million people alive today, sometimes called leaplings. In three years out of four their birthday does not exist on the calendar, and jurisdictions split on whether the legal birthday in those years is February 28 or March 1, which matters for age-based rules like licensing and benefits eligibility. Work has its own version of the puzzle: a leap year contains an extra day, so salaried annual pay spreads across 366 days while hourly workers simply see one more day that can be worked and paid - and in years where the extra day creates a 27th biweekly payday instead of the usual 26, payroll departments earn their keep. Due dates feel it too: a pregnancy counted at 280 days from a start before a leap February lands a day earlier relative to the calendar than the same count in a normal year, one reason our due date guide insists on counting days rather than months.
How to spot the next leap years quickly
For any year in the near future, the divide-by-4 test is all you need, because no century boundary interferes until 2100. Recent and upcoming leap years run 2020, 2024, 2028, 2032 - an unbroken every-four-years rhythm our lifetimes mostly enjoy. February 29, 2024 fell on a Thursday; February 29, 2028 will fall on a Tuesday. If a year ends in two zeros, stop and apply the 400 test before assuming anything: 2000 passed it, 2100 will not. That single check separates people who know the rule from people who know the rhyme.
Why February gets the extra day
February is the calendar's odd month out for historical reasons: in the early Roman calendar it was the last month of the year, and when January and February were moved to the front, February kept its short length. When Julius Caesar's reform needed a home for the leap day, it went into the shortest month, doubled up near its end - the Romans actually repeated a day in late February rather than appending the 29th in the modern style. The placement stuck through the Gregorian reform, which is why the extra day hides in the shortest, coldest month instead of padding out a 30-day month to 31.
Leap days break software, too
Programmers treat February 29 with respect because it has a real record of breaking things. The best-known case came on December 31, 2008 - day 366 of a leap year - when Microsoft's Zune music players froze worldwide because their clock code looped forever on the final day of a leap year. Smaller leap bugs surface every four years: systems that reject February 29 as an invalid birth date, age checks that misfire for leaplings, and reports that drop the extra day. The lesson for anyone who builds or buys date software is the same one this whole site runs on: test the awkward dates - February 29, month ends, year boundaries - because those are exactly the ones real users eventually hit.
Try it the fast way
The date calculator on this site applies the full 4-100-400 rule silently
in every count, so spans crossing February 2028 come out right without you thinking about it. For time-of-day spans rather than dates, the time calculator on the homepage handles the clock side.Frequently asked questions
How often is a leap year?
Roughly every 4 years, with two exceptions: years divisible by 100 are not leap years unless they are also divisible by 400. So 2024 and 2028 are leap years, 1900 was not, and 2000 was. Out of every 400 years, exactly 97 are leap years.
Was 2026 a leap year, and when is the next one?
No. 2026 does not divide by 4, so February 2026 had 28 days. The most recent leap year was 2024, when February 29 fell on a Thursday, and the next one is 2028, when February 29 will fall on a Tuesday. The leap years of this decade are 2020, 2024 and 2028.
If someone is born on February 29, when is their legal birthday in other years?
It depends on the jurisdiction and the purpose. Many places treat March 1 as the legal birthday in non-leap years for things like turning 18 or 21; some use February 28. Drivers licensing, benefits and contracts can each have their own rule, so for anything official it is worth checking the specific policy rather than assuming.
How many days are in a leap year?
366 days - the usual 365 plus the extra day on February 29. That makes a leap year 52 weeks and 2 days long, which is why dates after February shift by two weekdays instead of one across a leap year, and why a leap year contains 53 of two different weekdays.
Will the year 2100 be a leap year?
No. Although 2100 divides by 4, it also divides by 100 and not by 400, so the century exception removes it. The last year skipped this way was 1900 and the next after 2100 is 2200. The year 2000 was the famous exception to the exception: divisible by 400, so it kept its February 29.
