Skip to main content

Age Calculator

Find an exact age in years, months and days between any two dates — today, or any date you choose.

Age Calculator

Defaults to today. Change it to work out an age on any date.

This is an estimate. It counts whole calendar years, then months, then days between the two dates. Your institution may weight credits differently, exclude certain courses, round at a different stage, or apply its own conversion rule — so an official transcript can legitimately differ from the figure shown here. Always treat your institution's own calculation as definitive.

Everything is calculated in your browser. Your grades are never sent to a server and nothing you type is stored.

How the calculation works

Age is counted the way people actually say it: whole years first, then whole months, then the remaining days. You are 20 years and 3 months old from the day after your 20-year-and-3-month mark until the next one, not fractionally 20.25.

  1. Subtract the birth year from the target year.
  2. If the target month and day have not yet been reached in that year, subtract one year and carry the remaining months.
  3. If the day of the month has not yet been reached, subtract one month and add the number of days in the preceding month — which is why the day count depends on whether that month had 28, 29, 30 or 31 days.

The total-days figure is counted separately, as a direct difference between the two dates, so it accounts for every leap day that fell between them.

Why month lengths make this awkward

There is no universally agreed answer to "how many months is it from 31 January to 28 February". Different conventions give different results, and they are all defensible. This calculator borrows days from the month preceding the target date, which is the most common convention and the one most people's intuition matches.

Leap years are handled by the date arithmetic rather than by an approximation, so someone born on 29 February gets a correct day count. For the purposes of the "next birthday" figure, a 29 February birthday in a non-leap year is reported as 1 March, since that is where the date arithmetic lands.

Limitations

  • Time of day is ignored. Both dates are treated as whole days, so the result can be a few hours out if you need precision to the hour.
  • Time zones are not modelled. Dates are interpreted in your own device's local time zone. If you were born in a different zone, the day count near a boundary may differ by one.
  • Legal and official ages may be defined differently. Some jurisdictions and some institutions compute age as at a fixed cut-off date, or use a different convention for the day before a birthday. Where an official age matters — eligibility, admissions, benefits — use the definition set by the body concerned.

Frequently asked questions

Yes. The "Age at date" field defaults to today but you can set it to any date on or after the date of birth — useful for working out how old someone will be on a particular day, or how old they were at a past event.