Skip to main content
100% private — runs in your browser

Age Calculator

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

Your details

How to use Age Calculator

  1. Enter the date of birth

    Use the date picker to choose the day you were born.

  2. Choose the reference date

    Leave it on today, or pick another date to work out an age as of that moment.

  3. Read the result

    The calculator shows your age in years, months and days, plus totals and next birthday.

Frequently asked questions

How is my age calculated exactly?

The calculator compares the month and day of your birth against the reference date to work out whether the birthday has passed, then counts the remaining whole months and days.

What happens if I was born on 29 February?

The calculation uses the actual calendar and handles leap-year birthdays correctly.

Is my date of birth stored anywhere?

No. It stays in the page in your browser and is never transmitted or saved.

About Age Calculator

The Age Calculator tells you your exact age in years, months and days on any given date, along with the number of days, weeks and hours you have been alive. It also counts down to your next birthday, which makes it handy for planning a celebration or checking eligibility for something that has an age requirement.

Why the answer is not simply a subtraction

Subtracting the year of birth from the current year gives an approximation that is wrong for most of the year. If you were born on 20 July and today is 3 March, you are still the age you turned last July, not the age the subtraction suggests. A correct calculation has to account for whether the birthday has passed this year, and then work out the remaining months and days using the actual length of the months involved. This tool does that properly, including in leap years, and handles the edge case of a 29 February birthday in a year that is not a leap year.

Counting the days

The number of days you have lived is simply the difference between the two dates, measured in whole days. It sounds obvious but it is surprisingly hard to calculate by hand, and it is the figure most people are actually after when they ask the question. The same value gives you the number of complete weeks and the approximate number of months and hours.

Calculating an age on another date

The second date field lets you calculate an age as of any moment, not just today. That is useful for checking whether someone meets a minimum age requirement on a particular day, for working out an age on a historical document, or for planning ahead. Because everything is computed locally, no information about a birth date is sent anywhere.

Use Age Calculator on your site

This tool runs free and private in the browser. Paste it anywhere — blog posts, documentation, team wikis — and your visitors will use it without leaving your site. The embed includes a small "Made with The Tools Today" credit link.

Open the tool page →

Your privacy, your choice

We use cookies to understand how the site is used and to show relevant ads. Every tool on this site runs entirely in your browser, so the files and text you process are never uploaded. Read our privacy policy.