Age calculator

Enter a date of birth and get the exact age in years, months and days, the days, weeks and hours lived, and how long until the next birthday.

  • Free
  • No sign-up
  • Runs in your browser
age-calculator

Fill in the values above to see the result.

100% private — the calculation is done in your browser and nothing is sent to any server.

How it works

Enter the date of birth

Pick it in the calendar or type it.

Choose the date to measure on

Today by default. Change it to know the age on any other date.

Read the age

Years, months and days, plus totals and the next birthday.

Exactly how old is that?

Age is more than a number of years. For a form you may need the exact age on a given date, for a child the age in months, for a curiosity how many days you have lived, and for a party how long until the next birthday. This calculator works out all of these from a date of birth, and you can measure the age on any date, not just today, which is useful to know how old someone will be at a future event or was at a past one.

How age is worked out

Age in years, months and days is a calendar difference. From the date of birth, whole years are counted up to the latest birthday, then whole months, then the remaining days. If the birthday has not yet happened this year, the age in years is one less. Months are counted with their real lengths, so the result does not depend on an average month.

Totals and other figures

The months, weeks, days and hours lived are shown as running totals, useful for baby milestones ("she is 30 weeks old"), records and celebrations ("10,000 days old" happens at around 27 years and 5 months). The weekday of birth is shown too, together with the next birthday: its date, how many days are left and the age that will be reached.

Leap-day birthdays

People born on 29 February have a real birthday only in leap years. In other years, the tool treats 28 February as the birthday, which is the more common convention, although in some places the law uses 1 March. Check the local rule if it matters for legal purposes.

Age on a given date

Change the second date to know how old someone was or will be on that day: the age required to enter a competition on a fixed date, at the end of a school year, on the day of an appointment or at a historic event. The calculation treats both as calendar dates, without time of day or time zone.

If you only know the year of birth

Subtract the birth year from the current year: that is the age after this year's birthday, and one year less before it. For example, someone born in 1990 turns 36 in 2026, so they are 35 until the birthday and 36 after it. Without the exact date the age is one of two values; to get the exact one, enter the full date of birth. The buttons under the dates show the age on 1 January 2030, 2040 and 2050.

What it does not do

It is a calculation, not an identity check, and it does not adapt to traditional age-counting systems used in some cultures, in which a person is one year old at birth. To find the time between any two dates, not necessarily a birth date, use the date difference calculator.

In Excel and Google Sheets

With the date of birth in A2 and the date to measure on in B2 (here 15 May 1990 and 17 October 2026). To get the age today, replace B2 with TODAY().

Spreadsheet formulas for this calculation
To getFormulaResult
Age in complete years=DATEDIF(A2,B2,"Y")36
Months since the last birthday=DATEDIF(A2,B2,"YM")5
Days since the last monthly anniversary=B2-EDATE(A2,DATEDIF(A2,B2,"M"))2
All three in one text=DATEDIF(A2,B2,"Y")&" years, "&DATEDIF(A2,B2,"YM")&" months, "&B2-EDATE(A2,DATEDIF(A2,B2,"M"))&" days"36 years, 5 months, 2 days
Days lived=B2-A213304
Date of the next birthday=EDATE(A2,12*(DATEDIF(A2,B2,"Y")+1))2027-05-15
Days until the next birthday=EDATE(A2,12*(DATEDIF(A2,B2,"Y")+1))-B2210

The formulas use English function names and commas. If your Excel or Google Sheets is set to another language, the function names change, and in many countries the separator between arguments is a semicolon.

  • For someone born on 29 February, EDATE lands on 28 February in years that are not leap years, which is the convention the calculator uses.
  • DATEDIF is documented by Microsoft and by Google Sheets. Avoid its "MD" unit, as the days are worked out here from EDATE.
  • Do not divide the days by 365: it drifts by a day every four years and gives the wrong age near a birthday.

Frequently asked questions

How do I calculate my exact age?

Enter your date of birth. The calculator shows your age in years, months and days as of today.

How do I find someone's age on a specific date?

Change the "Age on this date" field. The result is the age on that day.

How many days old am I?

The "Days lived" figure counts the days from the date of birth to the chosen date.

How old is my baby in weeks and months?

Enter the baby's date of birth. Besides years, months and days, the result lists the total number of months and weeks, which is how a baby's age is usually given, such as 10 weeks or 4 months. Use the "Age on this date" field to see the age on a check-up or vaccination day.

When is my next birthday?

It is shown with the date, how many days are left and the age you will turn.

How old am I if I was born in 1990?

Subtract 1990 from the current year, and take one off if your birthday has not happened yet this year. In 2026 that is 36 after the birthday and 35 before it. Enter the full date of birth for the exact age.

What about birthdays on 29 February?

In years that are not leap years, 28 February is used as the birthday.

Is my date of birth sent anywhere?

No. The calculation is done in your browser.

How do I calculate age from a date of birth in Excel?

With the date of birth in A2, use =DATEDIF(A2,TODAY(),"Y") for the age in complete years. The same formula works in Google Sheets. Use "YM" for the extra months.