Free calculators tool

Work out an exact age in years, months and days, on any date

Enter a date of birth and the date you care about, today or any other, and the tool walks the calendar month by month to give an exact age. The dates stay in your browser.

Real month lengths, not 30-day monthsTotal days lived and next-birthday countAny as-of date, past or future
Age Calculator

Enter a date of birth and the date to measure to. The exact age, total days and next birthday update as you change the dates.

Runs on your device
36
Years
11
Months
5
Days
13,488
Total days

26 days to the next birthday.

What the Age Calculator does

The Age Calculator takes a date of birth and an 'age on' date and returns the age as whole years, remaining months and remaining days. The as-of date starts as today, so the common case needs only one entry, but you can set any other date to find how old someone was when a document was signed or will be on a future deadline.

Below the three figures the tool prints the total number of calendar days between the two dates and how many days remain until the next birthday. If the birthday falls on the as-of date, it says so instead of showing a count.

Everything is calculated in your browser from the two dates alone. No date is sent anywhere and nothing is kept once you close the page, which matters when the date of birth belongs to someone else.

How to use it

Enter the date of birth

Use the date picker or type the date in your browser's date format. The picker will not let you choose a birth date after the as-of date.

Keep today or choose another as-of date

The second field is filled with today's date. Change it to find an age at a past event, a school entry cut-off or a retirement date.

Read the years, months and days

The three large numbers are the exact age. The line under them gives total days lived and the days remaining to the next birthday.

How the calculator counts years, months and days

The tool first adds whole years to the birth date until adding one more would pass the as-of date. It then adds whole calendar months the same way, and finally counts the remaining days. Each step uses the real length of the month it lands in, so someone born on 15 May 2020 is 6 years, 4 months and 29 days old on 14 October 2026, with 2,343 total days.

This differs from dividing total days by 365.25 or treating every month as 30 days. Those shortcuts drift by a day or two over long spans, and they cannot say which calendar day a milestone falls on. Walking the calendar gives the same answer a person would get with a paper calendar.

Dates are handled as UTC midnight values, built with the Date.UTC function described in the MDN documentation. That keeps each day exactly 24 hours long in the arithmetic, so daylight saving changes never add or remove a day from the total.

Leap years, 29 February and month-end birthdays

Someone born on 29 February has a birthday that exists only in leap years. When the tool lands in a year without that date, it uses 28 February as the anniversary. A person born on 29 February 2000 therefore reads as exactly 25 years old on 28 February 2025, and the page reports a birthday on that day.

The same clamping applies to anyone born on the 29th, 30th or 31st when the anniversary month is shorter. A birth date of 31 January counts a full month on 28 February in a non-leap year. Other calculators sometimes roll these dates into the next month, so results can differ by a day between tools; neither is wrong, they follow different conventions.

The Wikipedia article on leap years explains the rules the Gregorian calendar uses to decide whether 29 February exists in a given year. The browser's date functions implement those rules, and the tool relies on them.

Where an exact age on a chosen date is useful

Forms often ask for an age on a specific date rather than today: school enrolment cut-offs, visa applications, insurance quotes and sports age groups. Set the as-of date to the date on the form and copy the whole years.

Genealogists and researchers can use any pair of dates, including dates long in the past, as long as both are entered as full dates. The total days figure is handy for records that ask for an age in days and for milestones measured in days rather than years, such as a 10,000th day.

Limits to know before you rely on it

  • The date of birth must be on or before the as-of date; otherwise the tool shows a message instead of a result.
  • Times of day and time zones are ignored; the age changes at midnight on the calendar date, not at the hour of birth.
  • A 29 February birthday is counted on 28 February in non-leap years; some other calculators use 1 March.
  • Only the Gregorian calendar is supported, so dates in other calendar systems need converting first.
  • The next-birthday figure is a plain day count; it does not name the weekday.

Questions people ask about the Age Calculator

How old am I today in years, months and days?

Enter your date of birth and leave the second field on today's date. The three numbers are your exact age. The tool counts whole years first, then whole months, then the leftover days, using the actual length of each month in between.

Can I find out how old someone was on a date in the past?

Yes. Change the 'Age on date' field to the historical date. The birth date must not be later than that date. This is the quickest way to check an age at a wedding, a graduation or the date on a legal document.

How many days have I been alive?

The line under the main result shows total days, counted from midnight on the birth date to midnight on the as-of date. Someone born on 1 January 1990 reaches 13,435 days on 14 October 2026. The birth date itself is not counted as a completed day.

What happens if I was born on 29 February?

In leap years the birthday is counted on 29 February as usual. In other years the tool treats 28 February as the anniversary, so your age increases on that day and the next-birthday count points to it. If you prefer 1 March, add one day to the count yourself.

Why does my result differ from another age calculator by a day?

Most differences come from month-end dates. A birth date of 31 January can be treated as completing a month on 28 February or on 1 March, depending on the convention. The total days figure does not depend on any convention, so compare that number when checking two tools against each other.

Is my date of birth sent to a server?

No. The calculation runs in your browser with the browser's own date functions. The page does not store the dates, and reloading it resets both fields to their starting values.

Sources and further reading