Calculating age from a date of birth sounds simple — subtract the birth year from the current year — but the correct result depends on whether today is before or after the birthday this year. Add leap years, different month lengths, and special cases like February 29 birthdays, and there are more edge cases than most people expect. This guide covers the exact formula, every edge case, and how to get a precise age in years, months, days, and hours instantly.
What Is Chronological Age?
Chronological age is the amount of time that has elapsed since a person's date of birth. It is the most common meaning of "age" — the number you state on forms, the number that determines legal thresholds like voting and driving, and the number used to compare developmental milestones. Chronological age is always measured from the exact birth date to a specific reference date, which is usually today but can be any past or future date.
Why age calculation is more complex than subtraction
The simple formula "current year minus birth year" only works correctly when the birthday has already occurred in the current year. A person born on 1 December 1990 has not yet turned 36 on 1 June 2026 — they are still 35 until their birthday arrives in December. This birthday-occurrence check is the step most people miss when calculating age manually, and it is why manual calculations are often off by one year.
Chronological age vs. other age types
- Chronological age: time elapsed since birth — the standard meaning used in everyday life and most legal contexts
- Corrected age: used for premature babies — chronological age minus the number of weeks born early
- Biological age: a measure of how well the body functions relative to chronological age — used in health contexts
- Mental age: a measure of cognitive development relative to typical development at a given chronological age
Note
The Age Calculation Formula
The correct formula for calculating completed years of age has two components: a raw year difference and a birthday-occurrence adjustment. Together, they give the exact number of full years of age as of any reference date.
The two-step formula
Step 1: Subtract the birth year from the reference year to get the raw year count. Step 2: Subtract 1 if the birthday has not yet occurred in the reference year (i.e. the reference month is before the birth month, or the months are equal but the reference day is before the birth day). The result is the exact number of completed years of age.
Age in completed years = (Reference Year − Birth Year) − (1 if birthday has not yet occurred in the reference year, else 0).
A worked example
Person born on 15 August 1988. Reference date: 10 June 2026. Raw count: 2026 − 1988 = 38. Has the birthday occurred in 2026? August 15 is after June 10, so no — the birthday has not yet passed. Subtract 1: 38 − 1 = 37. The person is 37 years old on 10 June 2026. They will turn 38 on 15 August 2026.
How to Calculate Age Step by Step
For an exact age in years, months, and days — rather than just completed years — you need three separate calculations. The process builds on the two-step formula above and adds month and day precision.
Calculate completed years
Apply the two-step formula: (reference year − birth year) minus 1 if the birthday has not yet occurred in the reference year. This gives the year component of the exact age. For someone born 15 August 1988 and a reference date of 10 June 2026, the year component is 37.
Calculate completed months since the last birthday
Count the full calendar months from the most recent birthday to the reference date. The most recent birthday for our example is 15 August 2025. From 15 August 2025 to 10 June 2026 is 9 complete months (September, October, November, December, January, February, March, April, May). The month component is 9.
Calculate remaining days
Count the days from the last completed month to the reference date. From 15 May 2026 (9 months after the last birthday) to 10 June 2026 is 26 days. The day component is 26. The exact age is therefore 37 years, 9 months, and 26 days on 10 June 2026.
Use the Age Calculator for automatic precision
Manual calculation works for one date but becomes tedious for multiple dates or when you need hours and minutes as well. The Age Calculator accepts any birth date and reference date and instantly returns the exact age in years, months, weeks, days, hours, and minutes — including a countdown to the next birthday.
Age Calculator
Calculate exact chronological age in years, months, weeks, days, hours, and minutes from any birth date — with next birthday countdown and milestone dates, free and browser-local.
Edge Cases in Age Calculation
Most birth dates are straightforward to calculate, but several specific scenarios introduce ambiguity or require a deliberate convention decision. These edge cases are important in legal, medical, and administrative contexts.
February 29 — leap day birthdays
People born on 29 February have a calendar birthday that only exists in leap years. In non-leap years, two conventions exist: treat the birthday as 28 February (more common in the US) or 1 March (more common in the UK and some European countries). For age calculation purposes, the Age Calculator uses 28 February as the default non-leap convention, matching the most widely used legal standard. This affects whether a leap-day birthday person has turned a given age by the end of February in a non-leap year.
End-of-month birth dates
A person born on 31 January has a month anniversary in months that have 28, 29, or 30 days. The standard convention is to treat the last day of a shorter month as the month anniversary — so 31 January's monthly anniversary in February is 28 February (or 29 in a leap year). This matters when calculating exact months for medical or legal purposes, such as a baby's age in completed months.
| Scenario | Birth Date | Reference Date | Correct Age | Common Mistake |
|---|---|---|---|---|
| Birthday not yet passed | 15 Aug 1990 | 10 Jun 2026 | 35 years | 36 years (raw subtraction) |
| Birthday today | 10 Jun 1990 | 10 Jun 2026 | 36 years | 35 years (off-by-one) |
| Leap day, non-leap year | 29 Feb 2000 | 28 Feb 2026 | 25 years (US) | 24 years |
| End of short month | 31 Jan 1990 | 28 Feb 2026 | 36 yrs 0 mths 28 days | 36 yrs 0 mths 27 days |
| Future reference date | 15 Aug 1990 | 15 Aug 2030 | 40 years exactly | 39 years |
Warning
Age in Months, Weeks, Days, and Hours
Completed years are not always the most useful unit of age. Infant development is tracked in months. Legal age thresholds in some jurisdictions are measured in days. Exact age for time-sensitive eligibility windows may require hours. Each unit requires a slightly different calculation approach.
Age in total months
Total months of age = (completed years × 12) + completed months since last birthday. For the example above (37 years, 9 months), total months = (37 × 12) + 9 = 453 completed months. This is the primary measure used by pediatricians for children under 24 months, where monthly developmental differences are clinically significant. The Baby Age Calculator is optimised for this use case, showing age in weeks and months with developmental milestone context.
Age in total days
Total days of age requires counting every calendar day from the birth date to the reference date, accounting for the varying number of days in each month and for leap years in each traversed year. The approximate formula is: (completed years × 365.25) + remaining days, but for exact results, use the Date Difference Calculator, which counts the precise number of days between any two calendar dates.
Age in hours and minutes
For the most precise age — useful for novelty "exact age" displays or for applications that need to check eligibility down to the minute — multiply total days by 24 for hours and by 1440 for minutes. The Age Calculator provides these values automatically alongside years, months, and days. At 37 years and 9 months, a person has lived approximately 13,800+ days, 331,000+ hours, or 19,900,000+ minutes.
Special Types of Age Calculation
Several specific use cases require age calculation approaches that go beyond the standard chronological formula. Each has its own conventions and tools.
Corrected age for premature babies
Corrected age (also called adjusted age) is used for premature infants. It subtracts the number of weeks born early from the chronological age. A baby born 10 weeks early who is now 6 months (approximately 26 weeks) old has a corrected age of 16 weeks — about 4 months. Paediatricians use corrected age to assess developmental milestones until around 24 months. The Corrected Age Calculator handles this automatically when you enter the birth date and the number of weeks premature.
Age at a future date
Calculating future age — "how old will I be on 1 January 2030?" — uses the same formula with a future reference date instead of today. Substitute the target date for the "current date" in all calculations. This is useful for retirement planning (age at retirement date), eligibility checking (age when a child starts school), and legal planning (age when a will's conditions are met). The Retirement Savings Calculator uses age-at-retirement as a key input for its projections.
Tip
Age Calculation Best Practices
Getting age calculations right — especially for legal and medical applications — requires consistent conventions and awareness of the edge cases that trip up manual calculations. These practices prevent the most common errors.
Always specify the reference date
"Age" without a reference date is ambiguous — it is only accurate at one moment in time. When recording or communicating age in a document, always note the date as of which the age was calculated. In legal documents, a birth certificate shows the date of birth, not the age — age is derived from it and changes daily. When building age-gating logic in software, always calculate age at runtime against today's date rather than storing a calculated age that becomes stale.
Use ISO 8601 date format for calculations
Date format ambiguity is the second most common source of age calculation errors. "06/07/1990" means 7 June in the US and 6 July in the UK. The ISO 8601 format (YYYY-MM-DD) is unambiguous and is the standard for software and data systems. When entering birth dates into calculators, forms, or database fields, always use or convert to ISO 8601 format to avoid ambiguity. The Date Difference Calculator uses ISO 8601 input to eliminate this class of error.
- Specify reference dates: always note the "as of" date alongside any calculated age
- Use ISO 8601 format: YYYY-MM-DD prevents ambiguity between US and UK date format conventions
- Check leap year handling: confirm your tool or code handles February 29 correctly for leap-day birthdays
- Validate the birthday-occurrence step: do not use raw year subtraction without checking whether the birthday has passed
- Use exact tools for infants: for children under 2, use the Baby Age Calculator which shows weeks and months with milestone context
Date Difference Calculator
Calculate the exact number of days, weeks, months, and years between any two dates — useful for age-in-days calculations and time between events.
Key takeaways
- Age in completed years = (reference year − birth year) minus 1 if the birthday has not yet occurred this year — the birthday-occurrence check is the step most people miss.
- For an exact age in years, months, and days, count completed years first, then complete months since the last birthday, then remaining days.
- February 29 birthdays use 28 February (US) or 1 March (UK) in non-leap years — confirm the convention for your jurisdiction before using it in legal or medical contexts.
- Use the Age Calculator for automatic precision in years, months, weeks, days, hours, and minutes from any birth date to any reference date.
- For infants under 24 months, use the Baby Age Calculator which shows age in weeks and months with developmental milestone dates.
- Corrected age for premature babies subtracts weeks-premature from chronological age — paediatricians use it for developmental assessments until around 2 years.
- Always specify the reference date when recording age — a calculated age becomes stale the next day, so date-of-birth is always the authoritative source.