How to calculate exact age in years, months, and days
Exact age is not simply “today’s year minus birth year.” You count complete years, then complete months, then remaining days between a birth date and a target date.
Step 1: Start with years
Subtract the birth year from the target year. If the target month/day is before the birthday month/day, subtract one year—you have not reached the next birthday yet.
Step 2: Count months
Subtract birth month from target month. If the target day is before the birth day, borrow one month and add the number of days in the previous calendar month (this handles February and leap years).
Step 3: Remaining days
After borrowing when needed, the day difference is the “days” part of the age.
Leap-day birthdays
Someone born on 29 February is still a valid calendar date. Compare against any target date the same way; only the month-length borrowing changes in leap years.
Try it instantly
Use the Free Age Calculator on this site or open Compare with another date to measure age between any two days.