Why leap years exist at all
A calendar year is 365 days, but the Earth takes about 365.2422 days to orbit the Sun. That leftover quarter-day doesn't sound like much, but ignore it and the calendar drifts by roughly one day every four years. After a few centuries, July would fall in the middle of winter. The fix: every so often, add one extra day โ 29 February โ to absorb the drift and keep the calendar aligned with the seasons.
The three rules of leap years
The Gregorian calendar (used almost everywhere today) decides leap years with three cascading rules:
In code, that's simply: (year % 4 == 0 && year % 100 != 0) || year % 400 == 0
| Year | รท4? | รท100? | รท400? | Leap year? |
|---|---|---|---|---|
| 2024 | Yes | No | โ | Yes |
| 2026 | No | โ | โ | No |
| 1900 | Yes | Yes | No | No |
| 2000 | Yes | Yes | Yes | Yes |
| 2100 | Yes | Yes | No | No |
Upcoming leap years
A brief history: Julian to Gregorian
Julius Caesar introduced the first systematic leap year in 45 BC โ one extra day every four years, no exceptions. Simple, but the slight overcorrection added up: by the 1500s the calendar had drifted about 10 days from the seasons. In 1582, Pope Gregory XIII fixed it with the century rules above and skipped 10 days outright โ in Catholic countries, Thursday 4 October 1582 was followed by Friday 15 October. Other countries adopted the Gregorian calendar over the following centuries (Britain in 1752, losing 11 days; Russia not until 1918).
Born on 29 February? You're a leapling
Roughly 1 in 1,461 people is born on 29 February. Their birth date only appears on the calendar every four years, which raises a real legal question: in a common year, when does a leapling turn a year older?
| Jurisdiction | Age increments on |
|---|---|
| United Kingdom, Hong Kong | 1 March |
| New Zealand | 28 February |
| United States | Not explicitly defined; 1 March is common practice |
| Taiwan | 28 February |
For everyday purposes, most leaplings simply celebrate on 28 February or 1 March โ and enjoy a "real" birthday party once every four years.
How leap years affect age calculation
Two practical effects matter:
- Day-count totals shift. Between your 20th and 30th birthdays there are either 2 or 3 leap days, so "total days alive" is never exactly age ร 365. Any calculator that divides day counts by 365 (or even 365.25) will drift; a calendar-comparison method โ like the one explained in How Age is Calculated โ never does.
- February arithmetic changes. When the borrowing step in an age calculation crosses February, the month contributes 28 or 29 days depending on the year โ which is why the same "X months, Y days" gap can contain a different number of total days in different years.
Our age calculator uses exact calendar dates, so every leap day since your birth is automatically counted โ including for 29 February birthdays.
Frequently asked questions
Count every leap day automatically
Our calculator handles leap years, century rules, and 29 February birthdays for you.
Calculate Your Exact Age โ