Why Do Leap Years Exist? The Real Length of a Year and the Rules
Published
A year, one trip of the seasons, lasts about 365.2422 days, so a 365-day calendar slips by nearly six hours every year. We add a day every four years, skip it in years divisible by 100, and put it back in years divisible by 400. With that rule the calendar drifts only one day in about 3,200 years.
Every four years February gets a 29th day. Fewer people know that 2100 is divisible by four and still will not be a leap year. The leap year hides a surprisingly careful rule, refined over more than two thousand years. This post explains why leap years are needed, how the rule reached its current form, and what to watch for with February 29 birthdays and date calculations.
A year is not 365 days
A calendar year tries to match one full cycle of the seasons, from one spring equinox to the next. That length, the tropical year, is about 365.2422 days: roughly 5 hours 49 minutes on top of 365 days.
With a plain 365-day calendar those hours pile up. After four years you are a day off, after a century about 24 days, and after a few centuries the March on your calendar would fall in midwinter. For people who timed farming, rites and festivals to the seasons, that was a serious problem.
A day every four years: the Julian calendar
The first systematic fix was the calendar Julius Caesar introduced in 46 BC. Its rule was simple: add a day every four years, making the average year 365.25 days.
But 365.25 days is about 0.0078 days, roughly 11 minutes, longer than the real 365.2422. Small as it looks, that adds up to a day every 128 years or so, and by the sixteenth century the spring equinox had drifted about ten days earlier than the calendar said. For the Church, which set Easter by the equinox, that could not be ignored.
The 100 and 400 year rules: the Gregorian calendar
In 1582 Pope Gregory XIII reformed the calendar. First he removed the accumulated ten days at once, so the day after October 4 that year was October 15. Then he changed the rule:
- A year divisible by 4 is a leap year.
- Except a year divisible by 100, which is not.
- Unless it is also divisible by 400, which makes it a leap year again.
| Year | ÷ 4 | ÷ 100 | ÷ 400 | Leap? |
|---|---|---|---|---|
| 2024 | yes | no | no | leap |
| 2026 | no | no | no | common |
| 1900 | yes | yes | no | common |
| 2000 | yes | yes | yes | leap |
| 2100 | yes | yes | no | common |
So 1900 and 2100 are not leap years, while 2000 was. Being the exception to the exception, 2000 worried programmers whose software might wrongly treat it as a common year. Over 400 years there are 97 leap years rather than 100, giving an average year of 365 + 97/400 = 365.2425 days. The gap from the real tropical year shrinks to about 0.0003 days, one day in roughly 3,200 years. This is the Gregorian calendar used worldwide today; Korea officially adopted it on January 1, 1896.
The 400-year cycle has a neat property too. It contains 146,097 days, which divides exactly by seven, so the Gregorian calendar repeats weekdays as well as dates every 400 years. The calendar for 2026 is identical, weekdays included, to the one for 2426.
Why February?
A common explanation is that February was the last month of the year in the early Roman calendar, and the leftover day was added at the end of the year. The custom stuck, so the shortest month still receives the extra day.
February 29 birthdays and date math
Leap years are a frequent trap in date calculations.
- Birthdays: someone born on February 29 only has a calendar birthday every four years. The Age Calculator on this site follows the period rules of Korean civil law and adds a year on March 1 in common years: a person born on February 29, 2008 is 18 on February 28, 2027 and turns 19 on March 1.
- One year later: in the Date Calculator, February 29, 2024 plus one year gives February 28, 2025, because the following year has no 29th and the date falls back to the month's last day. Adding four years returns to February 29, 2028.
- Days remaining: a year containing a leap day has 366 days, so counting a year ahead in the D-Day Calculator gives 365 or 366 depending on the year.
The leap day looks like a one-day exception, yet it compresses two thousand years of effort to keep the calendar in step with the seasons. Next time February 29 comes around, remember that 2100 will skip it. Leap seconds, occasionally added at the end of a day to track changes in Earth's rotation, are a separate story.
Tools in this post
More posts
- Life Folic Acid Before Pregnancy: Do Men Need It Too? Doses and Active FolateWhy women should take 400 µg of folic acid daily from at least a month before pregnancy, what the evidence says for men, active folate versus folic acid, and how food and supplements are counted.
- Life Batting Sabermetrics Explained: wOBA, wRC+, BABIP and WARHow wOBA fixes OPS by weighting each outcome by its run value, how wRC+ adjusts for league and park, what BABIP says about luck, and why WAR differs between sites, with worked examples.
- Life Pitching Sabermetrics Explained: FIP, xFIP, ERA+ and WARHow FIP and xFIP strip defense and luck out of ERA, how ERA+ adjusts for league and park, and why pitcher WAR differs between sites, with a worked 180⅔-inning example (3.44 FIP).