Skip to main content

Age Calculator

Calculate your exact age in years, months, days, hours and seconds. Includes zodiac and generation.

Age
36y 4m 13d
Born on a Monday
Age
36 years, 4 months, 13 days
Born on a Monday
Total days
13,282
Total hours
3,18,768
Western zodiac
Capricorn
Chinese zodiac
Horse
Generation
Millennial
Next birthday
232 days
Jan 1, 2027
  • 100% private

    All math runs in your browser. Nothing leaves your device.

  • Formula-verified

    Each calculator is unit-tested against authoritative sources.

  • Instant results

    Static-rendered pages. Sub-second loads on any device.

  • Works offline

    Visit once and it keeps working without an internet connection.

How to use the Age Calculator

  1. 1

    Enter the date of birth

    Type or pick the birth date in the format the calculator shows. Use a four-digit year so historical dates (1920s, 1940s) are unambiguous and avoid the 2-digit year roll-over problem.

  2. 2

    Set the reference date (optional)

    By default the calculator uses today. Override it to compute age on a future event (visa appointment, school cut-off) or a historical date (age at marriage, age at death from genealogy records).

  3. 3

    Read the years, months and days breakdown

    The result shows the exact gap as Y years, M months, D days using component-wise subtraction with proper borrow logic so leap years and month-length variability are handled correctly.

  4. 4

    Check derived units

    Scroll to see total weeks, days, hours, minutes and seconds lived, plus next-birthday countdown, zodiac sign and generation cohort. Useful for milestone planning, insurance and statistics.

  5. 5

    Share or copy the exact age string

    Use the share link to send the precise age and reference date to someone else, or copy the formatted string for use in legal documents, insurance applications or visa forms.

What this calculator does

Age is the elapsed time between two dates: typically a birth date and "today" (or any chosen reference date). The complication is that "elapsed time" can be measured in many units and calendars are uneven — February has 28 or 29 days, months have 28-31 days, years have 365 or 366. A correct age calculation expresses the gap as "X years, Y months, Z days" by subtracting calendar component-wise with proper borrow logic, then converts that to other units exactly. Most "age in years" calculations are floor-truncated: someone born on 1 April 1990 is "34" from 1 April 2024 until 31 March 2025, then becomes 35 on their next birthday. Some jurisdictions (notably East Asian age reckoning) count age differently; this calculator uses the Western convention.

Formula

AgeYears = floor((today − birthday) in years). Components: subtract Y/M/D with borrow from previous unit when needed.
D₁
Date of birth
D₂
Reference date (default: today)
years
Complete years elapsed (floor)
months
Remaining complete months after subtracting years
days
Remaining days after subtracting years and months

The right way to compute "years, months, days" is component-wise subtraction with borrow: compute D₂.day − D₁.day; if negative, borrow 1 month from the months gap and add the number of days in the previous month. Then compute D₂.month − D₁.month; if negative, borrow 1 year from the years gap and add 12. Years is the simple difference of the year components after the borrows. This handles leap years correctly because the borrow uses the actual days-in-month value.

Worked examples

Example: born 15 March 1990, today 20 November 2025

Day: 20 − 15 = 5 (no borrow) Month: 11 − 3 = 8 (no borrow) Year: 2025 − 1990 = 35

Age = 35 years, 8 months, 5 days. In total days: 13,034 days. In hours: 312,816 hours. Next birthday: 15 March 2026 — 115 days away.

Example: birthday hasn't happened yet this year

Born 20 December 2000, today 5 May 2025.

Day: 5 − 20 = −15 → borrow. April has 30 days, so day becomes 30 − 20 + 5 = 15. Month: 5 − 12 = −7 → borrow. Months becomes 12 + 5 − 12 = 5, year decreases by 1. Wait — re-do: after borrowing 1 month into days, months becomes 4 − 12 = −8 → borrow into years. Years becomes 2024 − 2000 = 24, months becomes 12 + 4 − 12 = 4.

Age = 24 years, 4 months, 15 days. The person is 24, not 25, because their 2025 birthday hasn't happened yet.

Example: leap-day birthday on a non-leap year

Born 29 February 2000. On 28 February 2025 (non-leap year), this person is 24 years, 11 months, 30 days — not yet 25. On 1 March 2025 they become 25 years, 0 months, 1 day. Most jurisdictions treat 1 March in non-leap years as the legal "next birthday" for leap-day babies, so this calculator follows that convention.

Common use cases

  • Legal documents — exact age for ID applications, driving licences, alcohol/gambling age verification
  • Insurance underwriting — age at policy start affects premiums down to the day
  • Retirement planning — exact months until pension eligibility (e.g. UK State Pension age, US Social Security FRA)
  • Visa and immigration — exact age on application date and at planned travel date
  • Pregnancy and fertility — child age in weeks for paediatric milestones
  • School admissions — age cut-offs are date-specific (e.g. "must be 5 by 1 September")
  • Sports eligibility — junior age categories typically defined to the day
  • Estate and inheritance — date of birth on legal documents must match exactly
  • Genealogy — computing age at marriage, death, immigration from historical dates
  • Birthday and anniversary planning — days until next milestone

What affects the result

  • Time zone — birth time and current time may be in different zones; days can differ by 1
  • Leap years — handled correctly by component-wise subtraction with actual days-in-month
  • Daylight saving time — affects hour-level precision twice a year by ±1 hour
  • Calendar convention — this calculator uses the proleptic Gregorian calendar (back-dated to before 1582)
  • Leap-day birthdays — celebrated on 28 Feb or 1 Mar in non-leap years depending on jurisdiction
  • Birth time vs birth date — if you need age-in-hours precision you need both

Tips

  • For legal documents, always use the date format the receiving authority uses (DD/MM/YYYY in most of the world, MM/DD/YYYY in the US)
  • When comparing ages across people, use date of birth not age — ages "drift" by a day every year
  • For pension and Social Security planning, compute age in months not years — eligibility windows are month-precise
  • For child development tracking, use age in weeks (0-52) then months (2-24) then years
  • For statistics or epidemiology, convert age to exact decimal years (e.g. 25.42 years) for regression models
  • When age matters for an event scheduled in the future, compute age on the event date, not today

Mistakes to avoid

  • Computing years by simple subtraction (2025 − 1990 = 35) when the birthday this year hasn't happened yet (actual age may be 34)
  • Forgetting that age in days is not "years × 365" — it must account for leap years (every 4 years adds 1 day)
  • Mixing "year of birth" with "age" — someone born 31 December 2000 is younger than someone born 1 January 2000
  • Using "age at next birthday" for insurance — most insurers use age last birthday or age nearest birthday, and the difference can change your premium
  • Forgetting time-zone offsets when computing age in hours or minutes
  • Truncating instead of using exact decimals when converting age to fractional years for statistical models

Frequently asked questions

How exact is the age calculation?

Down to the second if you provide both birth time and reference time. Without times, it is exact to the day. The calculator handles leap years and variable month lengths automatically. Time-zone differences can shift the day by ±1 if you cross the date line.

How is age in days different from age in years × 365?

Years average 365.2425 days because of leap years (every 4 years except century years not divisible by 400). Over 80 years you accumulate about 20 leap days, so 80 × 365 = 29,200 days under-counts; the actual total is ~29,220 days.

How does the calculator handle people born on 29 February?

In non-leap years, the calculator treats 1 March as the "next birthday" for purposes of computing exact age in years. So a leap-day baby born 29 Feb 2000 becomes 25 on 1 March 2025 (the next leap-day birthday is 29 Feb 2028). This matches the convention in most legal systems.

What is the difference between Western and East Asian age?

In Korea, China, Japan (traditional) and Vietnam, people were historically considered 1 year old at birth and aged by 1 every Lunar New Year — so a baby born in December could be "2" by February. This calculator uses the Western convention: 0 at birth, +1 each birthday.

Can I compute age between two arbitrary dates?

Yes — set the "reference date" to any date in the past or future. This is useful for "what was my age at X event" or "what will my age be on Y date".

Does the age calculator account for time zones?

Yes if you provide times; no if you only provide dates. Without times, the calculator assumes both dates are in the same time zone. With times, it converts to UTC internally for the subtraction.