How Age Calculators Work (And Why Leap Years Complicate the Math)
Calculating someone's age sounds like it should be simple subtraction — current year minus birth year — but the actual calculation is more nuanced than that, especially once you account for whether a birthday has already happened this year, and how leap years affect day-based age calculations.
Why "current year minus birth year" isn't quite right
Simple year subtraction only works if you're calculating age on someone's exact birthday. For any other day of the year, you need to check whether their birthday has already occurred:
For example, someone born on November 20, 1990 is only 34 (not 35) on a date in June of 2026, because their birthday hasn't occurred yet that year. This "has the birthday happened yet" check is the part most manual age calculations get wrong.
How leap years complicate day-based calculations
A standard (non-leap) year has 365 days; a leap year has 366, with the extra day added as February 29. Leap years occur roughly every 4 years, following this rule:
- A year is a leap year if it's divisible by 4
- Unless it's also divisible by 100 — then it's not a leap year
- Unless it's also divisible by 400 — then it is a leap year after all
This is why 2000 was a leap year but 1900 was not, even though both are divisible by 100. When calculating the exact number of days someone has been alive, every leap year in that span adds one extra day that has to be accounted for — otherwise a "days lived" calculation will drift off by roughly a day for every four years.
Different ways of counting age
Not every culture counts age the same way. In the international system used by most of the world, you are zero at birth and add one year on each birthday. Traditional East Asian age reckoning counted a baby as one year old at birth and added a year at the start of each new calendar year, which could make a child two years old just days after being born. South Korea used both systems for decades. In June 2023 a law took effect that standardized official and legal age to the international method, so most Korean citizens became one or two years younger on paper overnight. Knowing which system a form expects can matter for insurance, immigration paperwork and eligibility rules.
Why calendars make this harder than it looks
The calendar most countries use today, the Gregorian calendar, was introduced by Pope Gregory XIII in 1582 to correct drift in the older Julian calendar. It keeps leap years in line with the seasons by skipping three leap days every 400 years, so 1900 was not a leap year but 2000 was. Any calculation that crosses February has to respect those rules, which is why a trustworthy age calculator uses real calendar dates rather than assuming every year has 365 days.
People born on February 29
Leap-day babies, sometimes called leaplings, have a real birthday only once every four years. In other years they usually celebrate on February 28 or March 1, and different jurisdictions treat the legal birthday differently for purposes such as driving or voting age. If a legal deadline depends on your exact birthday, check the rule that applies where you live rather than relying on a general calculator.
Age expressed in other units
It can be fun to see your age in months, weeks or days. A person who is 30 years old has lived about 10,950 days plus leap days, around 10,957 in total, depending on exactly when the leap years fell. Anniversaries, pet-age comparisons and countdowns use the same logic of counting actual days between two dates.
Where an age calculation gets used
- Checking eligibility for programs with minimum or maximum ages.
- Working out insurance age, which some insurers compute at the nearest birthday instead of the last one.
- Planning retirement milestones such as the ages for penalty-free withdrawals or required minimum distributions.
- School enrollment cutoffs, which are usually tied to a specific calendar date.
The Age Calculator on this site gives your exact age in years, months and days as of any date you choose, which is handy for forms and planning.
Want your exact age in years, and a precise day count, calculated automatically?
Try the Calculator →The special case of a February 29 birthday
People born on February 29 (sometimes called "leaplings") technically only have a true calendar birthday once every four years. Most systems that calculate age or legal birthdays for these individuals treat either February 28 or March 1 as their "observed" birthday in non-leap years, though which convention applies can depend on jurisdiction or context.
Calculating age in different units
Beyond years, age is sometimes needed in other units — total days lived, weeks, or months. Converting years to days isn't just years × 365, because it needs to account for every leap year crossed in that span:
For a precise day count between two specific dates (like a birth date and today), it's more reliable to calculate the exact number of calendar days between the two dates directly, rather than trying to approximate with a years-and-leap-years formula — which is exactly what a proper date-based age calculator does under the hood.
Put this guide into practice
Age Calculator — Your exact age in years, months and days.