👥 Total Users: – 🟢 Online Now: –

How to Calculate Age from Date of Birth

Work out an exact age in years, months and days by hand, in Excel, or with a free calculator, including the leap-year cases that trip people up.

Quick Answer: How Do You Calculate Age?

  • Fastest: enter the date of birth into the Docynx Age Calculator to get years, months and days.
  • By hand: subtract the birth year from the current year, then subtract one if this year's birthday has not happened yet.
  • In Excel: =DATEDIF(A1,TODAY(),"Y") gives the age in whole years.

Age sounds simple until a form asks for it "as of 1 January" or you need months and days for a child's vaccination or an eligibility date. This guide covers the exact method, so you get the same answer every time.

Manual Method: Years, Months and Days

  1. Write down the birth date and the date you are measuring to, as day, month and year.
  2. Subtract the days. If the birth day is larger than the current day, borrow the number of days in the previous month and reduce the month difference by one.
  3. Subtract the months. If the birth month is larger than the current month, borrow 12 months and reduce the year difference by one.
  4. Subtract the years.

Example: born 25 August 1995, measured on 10 March 2027. Days: 10 is less than 25, so borrow the 28 days of February 2027 (it is not a leap year). That gives 38 minus 25 = 13 days, and the month count drops by one. Months: March (3) minus one is 2, which is less than 8, so borrow 12 months: 14 minus 8 = 6 months. Years: 2027 minus 1 minus 1995 = 31. Result: 31 years, 6 months and 13 days.

Calculate Age in Excel

GoalFormula (birth date in A1)
Age in years=DATEDIF(A1,TODAY(),"Y")
Months left over after years=DATEDIF(A1,TODAY(),"YM")
Days left over after months=DATEDIF(A1,TODAY(),"MD")
Age on a specific date (B1)=DATEDIF(A1,B1,"Y")

DATEDIF works in Excel even though it is not listed in the function menu. Make sure the cells hold real dates, not text.

Leap Years and the 29 February Birthday

A leap year has 366 days, with 29 February added. People born on 29 February have a birthday only every four years, so rules differ for legal purposes. Many systems treat the birthday as 28 February or 1 March in non-leap years. For official documents, follow the rule that the organisation uses.

Common Age Calculations

Different Age Systems

Most of the world uses the international system described here, where you turn one year older on your birthday. Some cultures have counted age differently, for example by treating a newborn as one year old. If a form is from another country, check which rule it uses.

Common Mistakes

Final Thoughts

For an exact age, count years, months and days with proper borrowing, or let a tool handle it. Use the free Age Calculator whenever you need a fast, correct result.

Get an Exact Age Instantly

Enter a date of birth and see the age in years, months and days, free.

Open Age Calculator

Frequently Asked Questions

How do I calculate age from date of birth?
Subtract the birth year from the current year, then subtract one if the birthday has not yet occurred this year. For exact months and days, subtract each unit and borrow where needed, or use an age calculator.
What is the Excel formula for age?
Use =DATEDIF(A1,TODAY(),"Y") for whole years, with the birth date in cell A1. Use "YM" and "MD" to get the leftover months and days.
How do I calculate age on a specific date?
Use that date as the end date instead of today, for example =DATEDIF(A1,B1,"Y") in Excel, or enter it in the Docynx Age Calculator.
How is age calculated for a 29 February birthday?
Rules differ. Many systems treat the birthday as 28 February or 1 March in non-leap years. For legal documents, follow the organisation's rule.
How do I calculate age in months?
Multiply the full years by 12 and add the extra months. For example, 2 years and 5 months is 29 months.
Is the Docynx Age Calculator free?
Yes. The tool is free to use and needs no sign-up.

Author: Vaibhav

Last Updated: November 2026

Explore Free Online PDF & Image Tools by Docynx