Age Calculator
Calculate exact age in years, months and days from a date of birth.
Last updated 27 July 2026
Calculator
Age Calculator inputs
Enter a date of birth.
How this works
What it means
Your exact age broken down into years, months and days, plus useful derived facts like your next birthday and zodiac signs.
How it’s calculated
The calculator takes the calendar difference between your date of birth and the date you're calculating on, counting whole years first, then whole months, then remaining days — the same way you'd count age by hand on a calendar.
Formula
years = target.year − dob.year
months = target.month − dob.month
days = target.day − dob.day
if days < 0: months -= 1, days += (days in the month before target)
if months < 0: years -= 1, months += 12Assumptions
- All dates are treated as calendar dates only (no time-of-day or timezone is involved).
- A birthday on 29 February is treated as falling on 28 February in non-leap years.
- Chinese zodiac is the animal sign based on the Gregorian calendar year, not the precise lunar new year date.
Example calculations
Born 15 August 1990, calculated on 27 July 2026
35 years, 11 months, 12 days — next birthday in 19 days
Born 29 February 2000 (a leap day), calculated on 1 March 2025
25 years, 0 months, 0 days — next birthday shown as 28 February 2026, since 2025 isn't a leap year
Born 1 January 2020, calculated on 1 January 2026
6 years, 0 months, 0 days — exactly 2,192 days old, birthday is today