Age Calculator

Age in Years36
Months5
Days25
Total Days13,325

The age calculator works out exactly how old someone is on a chosen day, broken down into completed years, the leftover months, and the leftover days. It compares a birth date against a target date (today by default) and also reports the raw total number of days that have elapsed. Because it counts real calendar months and accounts for leap years, the result matches the way age is normally stated rather than a rough days-divided-by-365 estimate.

Formula

age = (target − birth) decomposed into whole years, then remaining months, then remaining days

birth
Date of birth
target
Date to measure the age on (defaults to today)
years/months/days
Completed years, then leftover months, then leftover days after borrowing

How it works

  1. Enter the date of birth and, if you want the age on a day other than today, set the target date in the second field.
  2. The calculator subtracts the calendar components, borrowing days from the previous month and months from the year whenever the target day or month is earlier than the birth day or month.
  3. It displays the age as years, months, and days, plus the total elapsed days so you can also see the figure as a single running count.

Worked example

Someone born on 15 January 1990 wants their age on 20 June 2024.

  1. Years: 2024 − 1990 = 34, but check the month/day first.
  2. June (month 6) is after January (month 1), and the 20th is after the 15th, so no borrowing is needed.
  3. Months: 6 − 1 = 5. Days: 20 − 15 = 5.

34 years, 5 months, and 5 days old, which is 12,575 total days.

Frequently asked questions

Does this age calculator handle leap years?
Yes. The total-days figure is taken from the actual calendar dates, so the extra day in every leap year (29 February) is included automatically without you doing anything.
Why are the leftover months and days sometimes large?
When the target day is earlier in the month than the birth day, the calculator borrows a full month worth of days from the count, which can push the leftover days close to 30 and reduce the months figure by one.
Can I find my age on a past or future date?
Yes. Set the target date to any date you like. Entering a future date gives the age you will be then, and a past date gives the age you were on that day.
How is this different from a date difference tool?
An age calculator is framed around a birth date and shows the result as a familiar years-months-days age. A general date-difference tool just measures the gap between any two dates without treating one as a birthday.