Toolmingo

Age Calculator

Find an exact age in years, months and days from a birth date, plus total days lived. Free and in-browser.

Years
Months
Days
Total Days

Enter your date of birth to begin.

How to use the Age Calculator

  1. 1Enter the birth date in the 'Date of birth' field, either by typing it or picking it from the calendar popup.
  2. 2Leave the 'Age at' date on today for current age, or set it to any past or future date to get the age as of that specific day.
  3. 3Click Calculate; the result appears at once as completed years, months, and days.
  4. 4Read the breakdown panel for total days, weeks, and hours lived next to the years-months-days figure.
  5. 5Use the copy button to place the result on your clipboard for a form, email, or document.
  6. 6Change either date and recalculate as often as you need; nothing is saved or sent anywhere.

About the Age Calculator

The Age Calculator answers one precise question: exactly how old is someone, down to the day. Enter a birth date, optionally set an "age at" date other than today, and it returns the age split into completed years, remaining months, and leftover days, plus totals for days, weeks, and hours lived.

The interesting part is the calendar arithmetic. Months run from 28 to 31 days and leap years insert a February 29th, so dividing total days by 365 gives the wrong answer. This tool counts the way a person counts by hand: it subtracts full years first, then full months, then borrows the actual number of days from the specific preceding calendar month when the birth day falls later in the month than the target day. Because it borrows real month lengths rather than assuming a flat 30 days, the "years, months and days" figure matches how age is recorded on official forms, and it stays correct across leap years and awkward month-end birthdays like the 31st.

Everything runs locally in your browser using JavaScript's built-in date handling. Your birth date is never uploaded and nothing is stored on a server, which matters because a date of birth is a common identity-verification detail. Once the page has loaded, it keeps working offline.

The uses are concrete. Fill in forms that demand age in years and months. Check whether a child clears a school-entry or youth-sport age cut-off on a specific date. Confirm eligibility for a pension, licence, or age-gated service. Track an infant's age in weeks, work out a pet's age, or compute a person's age at death from two historical dates for genealogy.

A useful trick: set the "age at" date to a future birthday and read the total-days figure to see exactly how many days remain until it. Set it to a past event to find how old you were on that specific day. Change either date and recalculate as often as you like; each run is independent and nothing is saved between them.

Frequently asked questions

How does it handle a person born on February 29th?

It counts real calendar days, so a leap-day birth is handled exactly. In a common year with no February 29, the tool rolls the anniversary to March 1 for the years-months-days breakdown, while the total-days count stays precise. In leap years the birthday lands on Feb 29 as expected.

Why does the months-and-days part differ from what I estimated?

Because it borrows the real length of the preceding calendar month rather than assuming 30 days. If today is the 3rd and the birth day is the 28th, it borrows the days of the actual prior month (28, 29, 30, or 31), so the day remainder shifts with which month it borrows from. This matches how age is recorded officially.

Can I calculate the gap between two arbitrary dates instead of using today?

Yes. Change the 'Age at' date to any date. Set it in the past to see how old someone was at an event, or in the future for an upcoming date. The years-months-days result and the total days both update for whatever pair of dates you choose.

Is my birth date sent anywhere or stored?

No. All the arithmetic runs in your browser with JavaScript. The dates never leave your device, nothing is uploaded, and the page keeps working offline once loaded. Refreshing the page clears the fields; there is no saved history.

Does it work for old historical dates, like an age at death from records?

Yes. You can enter dates far into the past, so it suits genealogy. It uses the proleptic Gregorian calendar, meaning dates before the 1582 Gregorian reform are treated as a mathematical calendar difference, not the local historical calendar that was actually in use then.

Related tools

Browse all free online tools in Generators and more.

Frequently asked questions

How precise is it?+

It shows years, months and days, plus the total number of days.

Related tools