How to Calculate Age from Date of Birth — Exact Years, Months, and Days
Most of the time, knowing someone's age means knowing what year they were born and doing quick subtraction. But the exact age — in years, months, and days — is trickier than it looks, particularly around month-end dates, leap year birthdays, and legal contexts where precision matters.
The Age Calculator handles all of this: enter a date of birth and a reference date (or use today) and it returns the exact age in years, months, days, weeks, and total days lived. This article explains the calculation method and where it gets complicated.
The Basic Method: Years, Months, Days
Age is calculated in three steps:
Step 1: Count complete years. The year count increments on each birthday. If today is April 7, 2026 and you were born on June 15, 1990, your most recent birthday was June 15, 2025 — so you've completed 35 years. You haven't yet reached your June 15, 2026 birthday, so the year count is 35, not 36.
Step 2: Count complete months since the last birthday. From June 15, 2025 to April 7, 2026: July, August, September, October, November, December, January, February, March = 9 complete months. April hasn't finished (it's only the 7th), so the month count is 9.
Step 3: Count remaining days. From March 15, 2026 (9 months after June 15, 2025) to April 7, 2026 = 23 days.
Result: 35 years, 9 months, 23 days.
This matches the conventional way age works in most countries: your age increases by one on your birthday, stays the same throughout the year, and the months and days fill in the gap since your last birthday.
Why the Calculation Isn't Just Subtraction
You can't get an exact age by simply subtracting birth year from current year — that ignores whether the birthday has occurred yet this year. And you can't calculate months by subtracting birth month from current month — different months have different lengths, so "3 months after January 31" isn't April 30, it's April 30 only if the month has 30 days starting from January 31.
The edge cases:
When the birth day is greater than the last day of the current month. If you were born on the 31st, and we're in April (which has 30 days), the "monthly anniversary" is treated as April 30. The month count uses the last valid day of the target month.
Leap year birthdays. February 29 only exists every 4 years. People born on Feb 29 typically observe their birthday on Feb 28 in non-leap years (some use March 1, but Feb 28 is the more common standard). This means their age increments on Feb 28 in non-leap years.
Year-end edge cases. Calculating age on Dec 31 vs Jan 1 can produce different year counts by one. The rule is simple: you turn N years old on your birthday, and you stay N until the next birthday — regardless of where the year boundary falls.
Calculating Total Days Lived
For a precise integer count of days, the calculation is different: simply count the number of calendar days between date of birth and the reference date. No rounding, no month grouping.
Born June 15, 1990. Calculating on April 7, 2026:
- This spans 35 years and 9 months, crossing 9 leap years (1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020, 2024)
- Total days: approximately 13,080 days
At exactly 10,000 days old, you've lived about 27 years and 4–5 months. At 20,000 days, you're about 54 years and 9 months. These are the kinds of milestone calculations the Age Calculator can verify instantly — enter your birth date and today's date to see your exact day count.
Age Calculation for Legal Purposes
In legal contexts, precision matters more than in everyday use. A few important specifics:
When exactly do you turn a given age? In most jurisdictions, you turn N years old at the first moment of your birthday — the stroke of midnight at the beginning of that date. This means someone born on April 7 is legally 18 (or 21, or whatever threshold applies) starting at 12:00:00 AM on April 7 of the relevant year.
Some legal systems use the day before the birthday as the exact transition point. The rule derives from an old common law principle: since you were born on a specific day, that day was already "used up" at birth, so you complete a year of age at the end of the preceding day. This distinction rarely matters in practice, but it occasionally comes up in criminal law cases where the exact moment of an age threshold determines which legal regime applies.
Completed years vs. current year. Most legal age requirements use completed years: you must have turned 18, not simply be in your 18th year. These are different. A 17-year-old in their 18th year has not yet turned 18.
Medical and developmental contexts. For premature infants and young children, clinicians use corrected age (adjusted for premature birth) rather than chronological age. A baby born 8 weeks early at 20 weeks old has a corrected age of 12 weeks. Developmental milestones are assessed against corrected age until approximately 2 years.
Age in Other Units
Age in weeks: Divide total days by 7. At 35 years and 9 months, the total of roughly 13,080 days gives about 1,868 weeks. Weeks are the clinical standard for tracking infant development — the difference between a 6-week-old and a 10-week-old is significant in ways that "both under 3 months" fails to capture.
Age in months: Multiply years by 12, then add the month count. 35 years × 12 = 420 months, plus 9 months = 429 months. Or use the total days: 13,080 days ÷ 30.44 (average days per month) ≈ 429 months. Age in months is used in pediatrics and in some actuarial and epidemiological contexts.
Age in hours: Total days × 24. 13,080 days = 313,920 hours. This is rarely used but comes up in certain legal and technical contexts.
Age Calculation Across Different Systems
The Western age system — 0 at birth, incrementing on each birthday — is the international standard but not universal historically.
The traditional East Asian system counted a person as 1 at birth (the first year of life was already in progress), and added a year at each Lunar New Year rather than at the individual's birthday. Under this system, a baby born on December 30 would be 2 years old two days later on January 1. South Korea officially discontinued this system in 2023 and now uses the international standard for legal purposes. Some older contexts in Chinese, Japanese, and Vietnamese culture still reference the traditional system.
The difference between the two systems can be 1–2 years depending on when in the year a person was born relative to the Lunar New Year. For historical figures or genealogical research, it's worth knowing which system a record uses.
Quick Reference: Age Calculation Examples
| Born | Reference date | Age |
|---|---|---|
| Jan 1, 2000 | Jan 1, 2026 | 26 years, 0 months, 0 days |
| Jan 1, 2000 | Dec 31, 2025 | 25 years, 11 months, 30 days |
| Feb 29, 2000 | Feb 28, 2026 | 26 years, 0 months, 0 days |
| Feb 29, 2000 | Mar 1, 2026 | 26 years, 0 months, 1 day |
| Mar 31, 1990 | Jun 30, 2026 | 36 years, 3 months, 0 days |
| Mar 31, 1990 | Jun 29, 2026 | 36 years, 2 months, 29 days |
| Dec 15, 1985 | Apr 7, 2026 | 40 years, 3 months, 23 days |
For any date combination not in this table, the Age Calculator computes the result instantly, including the total days, weeks, and hours for the exact span. If you need to calculate how many days are between two specific dates more generally, the Days Between Dates tool handles arbitrary date pairs without the birthday framing.


