Age in Years, Months, and Days

Get a precise breakdown of your age in years, months, and days - accurate to a single day, accounting for leap years and variable month lengths.

Time & Date Day-precise Leap-year aware
Rate this calculator · 5.0 (1)

Date of birth → Age breakdown

Years, months, days · variable month length · leap-year accurate

Instructions — Age in Years, Months, and Days

1

Enter your date of birth

Click the date-of-birth field and pick your birthdate. The calculator accepts any date in the Gregorian calendar, including leap-year dates (29 February). Output updates the moment you change the date.

2

Set the reference date

The reference defaults to today. Change it to compute age as of any past or future date — useful for legal documents (“age as of 1 September 2024”), insurance applications, or planning a future birthday. The quick picks let you jump +1 year or -1 year instantly.

3

Read the breakdown

The headline shows years, months, days. The grid below adds total months, total weeks, total days, total hours, and days until the next birthday. The bottom row shows the day of week you were born, the day of week on the reference date, and whether you were born in a leap year.

How the math works: the calculator subtracts year, month, and day separately. If the reference day is earlier in the month than the birth day, it borrows from the previous month (which can be 28–31 days depending on the calendar). The result is always exact to the day.
Leap year babies: the calculator handles 29 February birthdays correctly. In non-leap years, the next birthday is treated as 1 March (the convention used by most government registries and insurance companies).

Formulas

Computing an exact age requires more than subtracting birth year from reference year. Months are variable length, leap years add a day, and a precise breakdown of “years, months, days” needs careful borrowing rules.

Year, month, day subtraction
$$ Y = Y_r - Y_b,\;\; M = M_r - M_b,\;\; D = D_r - D_b $$
Start by subtracting each component: reference year minus birth year, reference month minus birth month, reference day minus birth day. Apply borrowing rules below if M or D goes negative.
Borrow days from prior month
$$ \text{if } D < 0:\; D = D + d_{prev},\; M = M - 1 $$
If days go negative, add the number of days in the previous month (28, 29, 30, or 31 depending on the month and leap year) and subtract one from the months count.
Borrow months from prior year
$$ \text{if } M < 0:\; M = M + 12,\; Y = Y - 1 $$
If months go negative after the days adjustment, add 12 and subtract one from the years count. The final values are always non-negative and form the years-months-days breakdown.
Total days
$$ \text{days} = \frac{T_r - T_b}{86400} $$
Total days equals the time difference in seconds divided by 86,400 (seconds per day). This number is independent of month boundaries and is the most reliable for short-interval age math.
Leap year rule (Gregorian)
$$ \text{Leap}: (Y \bmod 4 = 0) \land (Y \bmod 100 \neq 0 \lor Y \bmod 400 = 0) $$
A year is a leap year if divisible by 4, except century years that are not also divisible by 400. So 2000 was a leap year, but 1900 was not. The rule keeps the calendar aligned with the solar year to about one day per 3,030 years.
Next birthday
$$ \text{next bday} = \text{birth month-day in } (Y_r) \text{ or } (Y_r + 1) $$
Take your birth month and day and apply it to the current year. If that date has passed, advance to the next year. For 29 February birthdays in non-leap years, use 1 March as the substitute (government and insurance convention).

Reference

Days in each month
MonthCommon yearLeap year
January3131
February2829
March3131
April3030
May3131
June3030
July3131
August3131
September3030
October3131
November3030
December3131
Year total365366

Common age questions

Where exact age matters: legal status, insurance, school enrollment, pediatric care.

Legal age milestones (US)
AgeMilestone
5Kindergarten enrollment
16Driving permit (most states)
18Voting, military, adulthood
21Alcohol purchase
25Car rental (no surcharge)
62 / 67Social Security eligibility
Recent leap years
YearLeap?
2020Yes
2024Yes
2028Yes
2000Yes (÷ 400)
2100No (÷ 100, not 400)
2400Yes (÷ 400)

Note: the Gregorian leap year rule (drop the century year unless divisible by 400) is what makes the calendar accurate to about one day every 3,030 years. The Julian calendar (no century exception) drifts about three days per 400 years.

Article — Age in Years, Months, and Days

Age in Years, Months, and Days: A Precise Calculation Guide

A precise age in years, months, and days is the answer to "how old are you, exactly?" — not rounded to whole years, but broken down to the calendar day. Computing it requires three sequential subtractions (year, month, day) with borrowing rules that account for the variable lengths of months and the leap-year exception. The calculator above does it automatically for any birthdate and any reference date in the Gregorian calendar.

About 8,100 monthly searches ask for the years-months-days breakdown of age, mostly for legal documents, insurance applications, school enrollment forms, and pediatric records. This guide walks through the math, the leap-year complications, the special case of 29 February, and where precise age matters in real life.

Age in years, months, days — the short version

To compute an exact age:

  1. Subtract birth year from reference year (call this Y).
  2. Subtract birth month from reference month (M).
  3. Subtract birth day from reference day (D).
  4. If D is negative, add the days in the previous month (28–31) and reduce M by 1.
  5. If M is then negative, add 12 and reduce Y by 1.

The result is your age in completed years, completed months past your last birthday, and completed days past the month boundary. A person born on 15 March 1995, viewed on 10 May 2025, is 30 years, 1 month, and 25 days old: 2025-1995=30, 5-3=2, 10-15=-5 (borrow 30 from April → 25, M becomes 1).

Did you know

The phrase “30 years old” in legal contexts usually means “at least 30 years old, by completed years.” A person who is 29 years, 11 months, and 28 days is still 29 in legal counting. The exact day matters for things like alcohol-purchase eligibility, voting registration, and contract signing — most legal systems use the completed-years rule.

Why age math is harder than it looks

Three things complicate exact age:

Variable month length. February has 28 or 29 days. April, June, September, and November have 30. The rest have 31. When you borrow days from the previous month, the right number depends on which month it is.

Leap years. A regular year has 365 days. A leap year has 366 (29 February). Leap years occur every 4 years, except century years not divisible by 400 (so 2000 was a leap year, 1900 was not). For someone born in late February or early March, the exact day count to a future date depends on whether intervening years were leap years.

Day-of-month boundary. Being born on the 31st of a 31-day month and turning a year older during a 30-day month creates an edge case. The convention is that the birthday occurs on the last day of the shorter month (so 31 May falls on 30 June in a year-over-year sense), but practice varies.

Tip

For day-precise age over short intervals (less than a year), the simplest method is to count calendar days between dates rather than try to subtract year-month-day. Computers do this internally as milliseconds-since-epoch differences. The result is exact and never needs borrowing.

Leap years and exact age

The Gregorian leap year rule is: a year is a leap year if divisible by 4, except for century years (divisible by 100) that are not also divisible by 400. So 2024 is a leap year. 2100 will not be. 2000 was. 2400 will be.

Each leap year adds one day (29 February) to the calendar. Over a 30-year life span, that adds 7 or 8 days to the total-day count of someone born in any given year. The years-months-days breakdown is not affected — leap years only shift the total-days total slightly.

The rule was introduced by Pope Gregory XIII in 1582 to correct drift in the older Julian calendar. The Julian calendar treated every fourth year as a leap year with no century exception, which made the calendar drift by about 3 days per 400 years. The Gregorian fix made the calendar accurate to about 1 day per 3,030 years — close enough that no further adjustment has been needed.

Age for 29 February babies

People born on 29 February have only one real birthday every four years. In non-leap years, the convention is to use either 28 February or 1 March as the substitute birthday. Different legal systems pick different conventions:

  • UK: birthday falls on 1 March in non-leap years (Births and Deaths Registration Act 1953)
  • US: state by state, but most use 1 March for age-of-majority purposes
  • Hong Kong: birthday falls on 1 March
  • Taiwan: birthday falls on 28 February
  • New Zealand: 1 March for most legal purposes

The calculator uses the 1 March convention — the most common rule in major English-speaking countries. A leap-day baby still has a real birthday on 29 February when it occurs, but their age increments on 1 March in non-leap years.

Chronological vs adjusted age

For most purposes, age means chronological age — the time since birth. For premature infants, pediatricians use adjusted age (also called corrected age) to track developmental milestones.

The formula is: adjusted age = chronological age - (40 weeks - actual gestational age at birth). A baby born at 32 weeks (8 weeks early) has an adjusted age that lags chronological age by 8 weeks until about 24 months of age. After that, the gap is small enough that chronological age is used.

Use adjusted age for preemie milestones

A 6-month-old baby born 8 weeks premature should be evaluated against the developmental milestones for a 4-month-old (6 months chronological - 2 months adjustment). Comparing to 6-month milestones will incorrectly suggest delay.

Where precise age really matters

Most everyday contexts only need age in years. A few situations need years-months-days precision:

  • School enrollment: kindergarten cutoffs vary by state and country; eligibility hinges on age in months on a specific date
  • Insurance underwriting: many life-insurance policies use age-nearest-birthday math (round to closest 6-month mark) instead of completed years
  • Pediatric records: infant medication dosing, developmental screening, and growth tracking all use months-and-days precision
  • Legal documents: contracts, wills, and court records specify age as of a particular date
  • Sports eligibility: youth leagues commonly use age on a specific cutoff date
  • Retirement planning: Social Security calculates benefits based on age in months past the full-retirement-age threshold

Other cultural age systems

Western counting (years since birth) is one of several age systems used worldwide. The East Asian age system, traditionally used in China, Korea, Japan, and Vietnam, counts a baby as 1 year old at birth and increments age on each Lunar New Year. By that system, a baby born in late December is “2 years old” a few days later.

South Korea officially switched to the international system in June 2023 by passing a law standardising government and contract age on the years-since-birth count. Most Koreans dropped a year (or sometimes two) of legal age overnight. The traditional system is still used informally in conversation.

Mental age math shortcuts

Quick age conversions
1 year ≈ 365.25 days 1 year = 52 weeks + 1 day
1 year = 12 months 1 year ≈ 8760 hours
30 yrs ≈ 10,950 days 50 yrs ≈ 18,250 days
1 month ≈ 30.4 days 1 month ≈ 4.35 weeks

For mental approximation, use 365.25 days per year (the average that accounts for leap years). 10,000 days is about 27.4 years. 1 billion seconds is just under 31.7 years — a milestone some people celebrate.

FAQ

Subtract birth year, month, and day from the reference date. If the reference day is earlier in the month than the birth day, borrow from the previous month (using its specific length: 28, 29, 30, or 31 days). If the reference month is then earlier than the birth month, add 12 months and subtract one year. The calculator handles all the borrowing automatically — just enter your dates.
The calculator uses the 1 March convention for non-leap years. A person born on 29 February 2000 turns 24 on 29 February 2024 (a leap year), 25 on 1 March 2025 (non-leap), 26 on 1 March 2026, then 27 on 29 February 2028 (leap year again). This matches the rule used by US Social Security, the UK Births and Deaths Registration Act, and most insurance companies.
Chronological age is the time since birth. Adjusted age (or corrected age) is used for premature infants and equals chronological age minus the number of weeks the baby was born early. A baby born at 32 weeks (8 weeks early) has an adjusted age of chronological age minus 2 months. Pediatricians use adjusted age for developmental milestones until about 24 months.
Because you are still three days before your 25th birthday. The calculator does not round up. It reports the completed years, completed months, and completed days as of the reference date. Once your birthday arrives, the months and days reset and the year count advances.
The calculator displays this in the “Total days” cell. The math is the difference in calendar days between birth and reference date. A 30-year-old is typically about 10,950 days old (give or take a few for leap years and the day of year). The total includes every leap-year extra day.
It is a common life-curiosity question. The day-of-week of your birth tells you whether you were born on a Monday or Saturday — useful for the “What day was I born?” question that often comes up in conversation. The calculator computes it from the calendar date with no margin of error.
Yes. Set the reference date to any past date (or future date). The calculator works for any pair of dates in the Gregorian calendar. This is useful for “How old was I when X happened?” questions and for filling out forms that ask for age as of a specific historical date.
The calculator works in calendar days, not exact hours. The age increments at midnight local time on the birthdate anniversary. If you need hour-level precision (for some legal documents or scientific records), you would need to also factor in the exact time of birth — most birth certificates record this.