๐ข Test Your Age First
Before learning Excel formulas, try our free age calculator!
Step-by-step tutorial for beginners. Learn the easiest ways to calculate age from date of birth in Excel.
Before learning Excel formulas, try our free age calculator!
โ๏ธ By Zain Uddin | ๐ Updated: January 2026 | โฑ๏ธ 8 min read | โญ 4.9/5 Rating
Want to know how to calculate age in Excel using date of birth? Whether you need age in years, months, days, or between two dates, Excel makes it easy with the DATEDIF, YEARFRAC, and TODAY functions. This complete beginner-friendly tutorial covers every method โ including how to calculate age in dd/mm/yyyy format, how to calculate age from DOB, and even how to find date of birth from age. Perfect for HR, payroll, school admissions, and medical records. Try our free Age Calculator for instant results without Excel.
Learning how to calculate age in Excel is one of the most useful skills for anyone working with data. Whether you're an HR professional managing employee records, a teacher tracking student ages, or just curious about your own exact age, Excel has powerful built-in functions to do it in seconds.
The problem? Most beginners either calculate manually or use simple subtraction (Current Year - Birth Year), which fails on leap years and month-end dates. The solution: use DATEDIF, YEARFRAC, and TODAY functions.
This guide will show you exactly how to calculate age in Excel using date of birth, step by step. If you prefer an instant result without formulas, try our free Age Calculator.
Don't want to write Excel formulas? Use our free online tool for instant results.
Get your exact age in years, months, days, hours & minutes โ no Excel needed!
๐ Calculate My Age FreeThe DATEDIF function is the most accurate way to calculate age in Excel. It handles leap years, month-end dates, and different date formats automatically.
Open Excel and enter the date of birth in cell A2 (e.g., 01/15/1990).
In cell B2, type:
This gives age in complete years.
Combine all three units for full age:
Output: "36 Years, 8 Months, 2 Days"
If your Excel is set to DD/MM/YYYY format (common in UK, Pakistan, India), the DATEDIF formula works the same way โ but ensure your dates are entered correctly.
Right-click the cell โ Format Cells โ Date โ Select DD/MM/YYYY.
Type your DOB as 15/01/1990 (DD/MM/YYYY).
Excel will automatically calculate the correct age regardless of date format.
Need to find age between two dates (e.g., age on a specific past or future date)? Replace TODAY() with your end date.
Where A2 = Start date and B2 = End date.
If your date of birth is stored as text or split across cells, use these methods:
Where A2=Year, B2=Month, C2=Day.
Sometimes you know the age but need the date of birth. Here's how:
Where A2 = age in years. Returns approximate DOB.
This subtracts age in months for precise DOB calculation.
| Formula | Purpose | Example |
|---|---|---|
=DATEDIF(A2,TODAY(),"Y") |
Age in years | 36 |
=DATEDIF(A2,TODAY(),"YM") |
Remaining months | 8 |
=DATEDIF(A2,TODAY(),"MD") |
Remaining days | 2 |
=DATEDIF(A2,B2,"Y") |
Age between two dates | Custom dates |
=DATEDIF(DATEVALUE(A2),TODAY(),"Y") |
Age from text DOB | Text dates |
=TODAY() - (A2 * 365.25) |
DOB from age | Reverse |
Calculate employee ages for retirement planning and benefits.
Verify student ages at specific cutoff dates (September 1, December 31).
Precise age for pediatric dosage. Use our Chronological Age Calculator.
Verify age for policy eligibility and legal documentation.
Use =DATEDIF(A2, TODAY(), "Y") where A2 contains the DOB. This returns age in complete years.
Same DATEDIF formula works. Just ensure the cell is formatted as DD/MM/YYYY in Format Cells โ Date.
Use =DATEDIF(A2, B2, "Y") where A2 is start date and B2 is end date.
Use DATEDIF with the DOB cell. If DOB is text, wrap it: =DATEDIF(DATEVALUE(A2), TODAY(), "Y").
Use =TODAY() - (A2 * 365.25) where A2 is the age in years.
DATEDIF is a hidden function. Type it manually โ it works in all Excel versions.
Yes! Google Sheets supports the same DATEDIF, TODAY, and YEARFRAC functions.
DATEDIF is 100% accurate โ it automatically handles leap years and month lengths.
Now you know how to calculate age in Excel using date of birth โ including how to work with DD/MM/YYYY format, how to calculate age between two dates, and even how to find date of birth from age.
The DATEDIF function remains the most accurate and flexible choice for all scenarios. For instant results without formulas, use our free Age Calculator.
๐ Try the Free Age Calculator Now
Share the Excel Age Tutorial with your friends and family!
Founder, FreeOnlineTools203.com | Web Developer & SEO Expert
Zain Uddin is the founder of FreeOnlineTools203.com, a platform offering 240+ free online tools across 18 categories. With 3+ years of experience in web development, SEO, and freelancing (Fiverr), he personally builds and tests every tool for accuracy. He is also a published author on Amazon Kindle (KDP).
Expertise: Calculator tools, SEO, article writing, translation, graphics design.