Age Calculator

MATH FREE

Free age calculator. Find your exact age in years, months, and days, days lived, and days until your next birthday. No signup.

Exact age in years, months, and days

An age calculator returns an exact age between a date of birth and a chosen target date, expressed in whole years, months, and days rather than a rounded year count. It also reports the total number of days lived and the days remaining until the next birthday.

How the age is calculated

The tool parses both dates at midday so that daylight-saving shifts cannot nudge the count by a day, then subtracts the date parts separately:

  • Years = target year − birth year.
  • Months = target month − birth month.
  • Days = target day − birth day.

When the day difference is negative it borrows from the month, adding the number of days in the month before the target date, and reduces the month count by one. When the month difference is negative it borrows a full year and adds twelve months. This gives complete calendar units, so a partial month does not count until the matching day has passed. Total days comes from the millisecond difference divided by 86,400,000. If the target date is earlier than the birth date, the tool treats it as the birth date.

Worked example

Take a birth date of 15 May 1990 and a target date of 12 August 2026.

StepWorkingResult
Years2026 − 199036
MonthsAugust is month 8, May is month 5, so 7 − 43
Days12 − 15 = −3, so borrow July’s 31 days28
Adjust months3 months minus the borrow2 months

The age is 36 years, 2 months, and 28 days. Total days lived is 13,238, and the days until the next birthday, 15 May 2027, is 276. You can check the day count from the fact that 36 full years to 15 May 2026 contain nine leap days, giving 36 × 365 + 9 = 13,149 days, plus the 89 days from 15 May to 12 August.

Reference: ages on 12 August 2026

Date of birthExact age
15 May 199036y 2m 28d
1 January 200026y 7m 11d
31 December 198540y 7m 12d
20 August 200718y 11m 23d

Each row is computed by the borrow rules above. The last row shows a birth date just after the target day, so the age borrows a month even though the year count is nearly complete.

Common mistakes

  • Rounding to whole years. “Almost 37” and “just turned 36” are a year apart in ordinary speech but can be days apart in fact.
  • Assuming each month has 30 days. Months are calendar units of 28 to 31 days, and the borrow step uses the real length of the previous month.
  • Ignoring time of day. The tool normalises to midday, but a date alone cannot express a precise birth time, so the result is accurate to the day.
  • Using the wrong target date. For eligibility you usually need the age on a specific date, not today, so set the as-of field rather than leaving it blank.
  • Forgetting leap-year birthdays. A 29 February birth rolls to 1 March in non-leap years, which shifts that year’s count by a day.

Does the birthday itself count as a full year older?

Yes. On the birthday the years value increments by one and the months and days reset to zero, because a complete year has been lived. The day before the birthday the year count is still one lower, which is exactly the distinction a rounded year figure loses.

Can I calculate an age on a past or future date?

Yes. Fill in the as-of date with any day you like and the tool measures between the two. If you enter a date before the birth date, it simply uses the birth date, producing an age of zero rather than a negative value.

Why is total days different from years times 365?

Because leap years add an extra day every four years and sometimes on a different schedule. The total-days figure counts every calendar day exactly, so it will always exceed the simple 365-day estimate by roughly one day for every four years.

Is this the same as the time between two dates in any unit?

It is the calendar version of that calculation. Total days is an exact count, while the years, months, and days breakdown keeps calendar boundaries intact, which is what forms and eligibility rules usually require.

Pair an age with a projection using the retirement calculator, or track a pregnancy week by week with the due date calculator; both work in the same calendar-unit logic.