๐Ÿ“˜ How to Calculate Age in Excel

Step-by-step tutorial for beginners. Learn the easiest ways to calculate age from date of birth in Excel.

๐Ÿ“Š For Beginners | Step-by-Step | Free Examples

๐Ÿ”ข Test Your Age First

Before learning Excel formulas, try our free age calculator!

๐Ÿ”ต LIVE CURRENT TIME
--
--:--:--
--
๐Ÿ“˜ AGE CALCULATOR
YEARS
0
MONTHS
0
DAYS
0
๐Ÿ“˜ EXCEL AGE TUTORIAL 2026

How to Calculate Age in Excel Using Date of Birth (Complete Guide 2026)

โœ๏ธ 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.

๐Ÿ“š Table of Contents

  1. Introduction
  2. Quick Age Calculator Tool
  3. Using DATEDIF (Best Method)
  4. Age in DD/MM/YYYY Format
  5. Age Between Two Dates
  6. Age from DOB (Text/Other Cells)
  1. Date of Birth from Age
  2. Quick Reference Table
  3. Benefits
  4. Real-Life Use Cases
  5. FAQ
  6. Conclusion

๐Ÿ“Œ 1. Introduction

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.

๐ŸŽ‚ 2. Quick Age Calculator Tool

Don't want to write Excel formulas? Use our free online tool for instant results.

๐Ÿ‘‰ Use Age Calculator Now โ€“ Free

Get your exact age in years, months, days, hours & minutes โ€” no Excel needed!

๐Ÿ“… Calculate My Age Free
๐Ÿ”— Related Excel & Age Tools:

๐Ÿ“Š 3. How to Calculate Age in Excel Using DATEDIF (Best Method)

The DATEDIF function is the most accurate way to calculate age in Excel. It handles leap years, month-end dates, and different date formats automatically.

Step 1: Enter Date of Birth

Open Excel and enter the date of birth in cell A2 (e.g., 01/15/1990).

Step 2: Use the DATEDIF Formula

In cell B2, type:

=DATEDIF(A2, TODAY(), "Y")

This gives age in complete years.

Step 3: Full Age (Years, Months, Days)

Combine all three units for full age:

=DATEDIF(A2,TODAY(),"Y") & " Years, " & DATEDIF(A2,TODAY(),"YM") & " Months, " & DATEDIF(A2,TODAY(),"MD") & " Days"

Output: "36 Years, 8 Months, 2 Days"

๐Ÿ“… 4. How to Calculate Age in Excel in DD/MM/YYYY Format

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.

Step 1: Ensure Correct Date Format

Right-click the cell โ†’ Format Cells โ†’ Date โ†’ Select DD/MM/YYYY.

Step 2: Enter Date of Birth

Type your DOB as 15/01/1990 (DD/MM/YYYY).

Step 3: Use the Same DATEDIF Formula

=DATEDIF(A2, TODAY(), "Y")

Excel will automatically calculate the correct age regardless of date format.

๐Ÿ”„ 5. How to Calculate Age Between Two Dates in Excel

Need to find age between two dates (e.g., age on a specific past or future date)? Replace TODAY() with your end date.

Formula: Age Between Two Dates

=DATEDIF(A2, B2, "Y")

Where A2 = Start date and B2 = End date.

Example: Age at End of Year

=DATEDIF(A2, DATE(2026,12,31), "Y")

Full Age Between Two Dates

=DATEDIF(A2, B2, "Y") & " Years, " & DATEDIF(A2, B2, "YM") & " Months, " & DATEDIF(A2, B2, "MD") & " Days"

๐Ÿงฎ 6. How to Calculate Age from DOB in Excel

If your date of birth is stored as text or split across cells, use these methods:

Scenario 1: DOB Stored as Text

=DATEDIF(DATEVALUE(A2), TODAY(), "Y")

Scenario 2: DOB Split in 3 Cells

=DATEDIF(DATE(A2,B2,C2), TODAY(), "Y")

Where A2=Year, B2=Month, C2=Day.

๐Ÿ”™ 7. How to Calculate Date of Birth from Age in Excel

Sometimes you know the age but need the date of birth. Here's how:

Formula: DOB from Age

=TODAY() - (A2 * 365.25)

Where A2 = age in years. Returns approximate DOB.

More Accurate Version

=EDATE(TODAY(), -(A2 * 12))

This subtracts age in months for precise DOB calculation.

๐Ÿ“‹ 8. Quick Reference Table

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

โœ… 9. Benefits of Excel Age Calculation

๐Ÿ’ผ 10. Real-Life Use Cases

1. HR & Payroll

Calculate employee ages for retirement planning and benefits.

2. School Admissions

Verify student ages at specific cutoff dates (September 1, December 31).

3. Medical Records

Precise age for pediatric dosage. Use our Chronological Age Calculator.

4. Insurance & Legal

Verify age for policy eligibility and legal documentation.

โ“ 11. Frequently Asked Questions

Q1: How do I calculate age in Excel using date of birth?

Use =DATEDIF(A2, TODAY(), "Y") where A2 contains the DOB. This returns age in complete years.

Q2: How do I calculate age in Excel in dd/mm/yyyy format?

Same DATEDIF formula works. Just ensure the cell is formatted as DD/MM/YYYY in Format Cells โ†’ Date.

Q3: How do I calculate age between two dates in Excel?

Use =DATEDIF(A2, B2, "Y") where A2 is start date and B2 is end date.

Q4: How do I calculate age from DOB in Excel?

Use DATEDIF with the DOB cell. If DOB is text, wrap it: =DATEDIF(DATEVALUE(A2), TODAY(), "Y").

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

Use =TODAY() - (A2 * 365.25) where A2 is the age in years.

Q6: Why doesn't DATEDIF show in Excel's formula list?

DATEDIF is a hidden function. Type it manually โ€” it works in all Excel versions.

Q7: Can I calculate age in Google Sheets?

Yes! Google Sheets supports the same DATEDIF, TODAY, and YEARFRAC functions.

Q8: How accurate is DATEDIF for age calculation?

DATEDIF is 100% accurate โ€” it automatically handles leap years and month lengths.

๐Ÿ 12. Conclusion

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 This Tool

Share the Excel Age Tutorial with your friends and family!

Zain Uddin - Founder of FreeOnlineTools203.com

About the Author: Zain Uddin

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.

๐ŸŒ Website ๐Ÿ“บ YouTube ๐Ÿ“ธ Instagram ๐Ÿ“˜ Facebook ๐ŸŽต TikTok
Disclosure: This page contains affiliate links. If you buy through these links, I may earn a commission at no extra cost to you.