7 min read
Why We Have Leap Years (and the Surprising Rule Almost Everyone Forgets)
The four-year rule is famous. The hundred-year and four-hundred-year rules are not — and they matter.
Almost everyone knows that leap years happen every four years. Far fewer people know that some years that should be leap years are not, and some that should not be, are. This article explains why we have leap years at all, why the simple "every four years" rule is wrong, and the precise — and slightly weird — set of rules that calendar software has used since 1582.
The astronomical problem
A "year" is defined astronomically as the time it takes Earth to complete one orbit around the Sun. That period is not 365 days. It is 365 days, 5 hours, 48 minutes and 45 seconds — about 365.2422 days. The fractional remainder is the entire reason we need leap years. If we ignored those extra hours, the calendar would slowly drift away from the seasons. After a century the drift would be almost a month; after a thousand years, the spring equinox would happen in winter; after fifteen thousand years, July would be the coldest month of the year in the Northern Hemisphere.
To prevent this drift, the calendar adds an extra day every few years. The trick is to add the right number of extra days over a long period so the average calendar year matches the astronomical year as closely as possible.
The Julian rule (every four years)
Julius Caesar\u2019s 46 BCE calendar reform — the Julian calendar — used a simple rule: every fourth year is a leap year. That makes the average Julian year exactly 365.25 days, which is 11 minutes and 14 seconds too long. Over a century, those extra minutes add up to about three quarters of a day. By the late Middle Ages the calendar had drifted from the seasons by about ten days, which the Catholic Church found unacceptable because the date of Easter is tied to the spring equinox.
The Gregorian fix (1582)
Pope Gregory XIII\u2019s 1582 reform tightened the leap-year rule and skipped ten days of the calendar to bring it back into alignment with the seasons. The new rule is the one we still use:
- If the year is divisible by 4, it is a leap year…
- …unless it is also divisible by 100, in which case it is not a leap year…
- …unless it is also divisible by 400, in which case it is a leap year again.
So 2024 is a leap year (divisible by 4). 1900 is not (divisible by 100 but not by 400). 2000 is (divisible by 400). 2100 will not be. 2400 will be.
This refined rule produces an average year of 365.2425 days, which is just 27 seconds longer than the astronomical year. At that rate, the calendar will drift by one day in about 3,200 years. We can live with that.
Why this matters for an age calculator
Most simple age calculators implement the Julian rule and ignore the 100/400 exceptions. For everyday use this works fine — between 1901 and 2099 there are no exceptions, so the simple rule gives the right answer. But for any calculation crossing 1900 or 2100 the simple rule will produce a one-day error.
If you are calculating someone\u2019s age across the year 1900 (a date of birth before 1900, with the calculation done in or after 1900) you may notice that an exact age count comes out one day off compared to a calculator that uses the full Gregorian rule. The difference is small but real, and matters in genealogical work where every day counts.
Adoption history: when did each country switch?
The Gregorian calendar was not adopted everywhere at once. Catholic countries switched in 1582; Protestant and Orthodox countries dragged their feet for centuries. Some notable adoption dates:
- Spain, Portugal, Italy, Poland — October 1582 (skipping ten days from October 4 to October 15).
- France — December 1582 (skipping ten days from December 9 to December 20).
- Great Britain and its colonies (including the future United States) — September 1752 (skipping eleven days from September 2 to September 14).
- Japan — January 1873.
- China (Republic) — January 1912 (the People\u2019s Republic later affirmed it).
- Russia — February 1918 (skipping thirteen days; this is why the "October Revolution" of 1917 actually fell in November on the Gregorian calendar).
- Greece — February 1923, the last European country to switch.
For genealogy, a date written before adoption in the relevant country is in the "Old Style" (Julian) calendar. Modern calculators almost universally use the proleptic Gregorian calendar — applying the Gregorian rules backward in time even before 1582 — which is the convention recommended by ISO 8601. If you are working from an Old Style document, you will want to convert.
What about leap seconds?
Leap years correct for Earth\u2019s motion around the Sun. Leap seconds correct for the slowing rotation of Earth on its axis. Atomic clocks measure time more precisely than Earth rotates, and from 1972 to 2016 the International Earth Rotation and Reference Systems Service occasionally inserted an extra second into Coordinated Universal Time to keep atomic time and astronomical time aligned.
Leap seconds do not affect age calculation in any meaningful way — they accumulate at most a few tens of seconds across an entire human lifetime, and most operating systems either ignore them or smear them across an entire day. In 2022 the international community voted to abolish leap seconds by 2035, after which the clock and the calendar will be fully decoupled from Earth\u2019s rotation.
February 29 birthdays
People born on February 29 — known as "leaplings" or "leapers" — celebrate a real birthday only every four years (or every eight years if their birth year crossed a 100/400 exception). The legal age of majority is reached on February 28 or March 1 in non-leap years, depending on jurisdiction. In the United Kingdom, statute treats March 1 as the legal birthday in non-leap years; in Hong Kong, the same; in the United States, practice varies by state but March 1 is most common.
The probability of being born on a leap day is about 1 in 1,461 — slightly less than 0.07%. There are roughly five million leaplings alive today, including a notable cluster of celebrities: Ja Rule, Tony Robbins, and the late Pope Paul III. The Honor Society of Leap Year Babies has been advocating for leapling visibility since 1997.
Wrapping up
Leap years exist because the year is not a whole number of days. The four-year rule gets us most of the way there; the 100/400 exceptions get us almost the rest. Calendar software that respects the full Gregorian rule will give correct ages forever — at least until the year 4582, when accumulated drift will require another adjustment. By then it will be someone else\u2019s problem.
Found an error? Email info@agecalculating.com — we publish corrections within 48 hours.