Excel Age Calculation Formulas

Use these <strong>Excel formulas</strong> to calculate chronological age from date of birth. The <strong>DATEDIF function</strong> provides the most accurate results in years, months, and days. Copy-paste these formulas directly into your spreadsheets for bulk age calculation.

Formula 1: Basic Age in Years

=DATEDIF(A1, B1, "Y")

A1 = birth date, B1 = target date. Returns complete years.

Formula 2: Age in Years, Months, and Days

=DATEDIF(A1,B1,"Y")&" years, "&DATEDIF(A1,B1,"YM")&" months, "&DATEDIF(A1,B1,"MD")&" days"

Returns a formatted text string like "8 years, 3 months, 12 days".

Formula 3: Age as of Today

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

Automatically calculates current age. Updates every day.

Formula 4: Total Months

=DATEDIF(A1, B1, "M")

Returns total complete months between dates.

Formula 5: YEARFRAC Alternative

=INT(YEARFRAC(A1, B1, 1))

Uses actual day count for more precise fractional year calculation. The basis parameter of 1 uses actual/actual day counting.

Formula 6: Days Until Next Birthday

=DATE(YEAR(B1)+IF(DATE(YEAR(B1),MONTH(A1),DAY(A1))<B1,1,0),MONTH(A1),DAY(A1))-B1

Calculates how many days remain until the next birthday from the target date.

Bulk Calculation Tips

To process an entire column of birth dates:

  1. Place birth dates in column A starting at A1
  2. Enter =TODAY() in cell C1 for current date reference
  3. In B1, enter: =DATEDIF(A1,$C$1,"Y")&"y "&DATEDIF(A1,$C$1,"YM")&"m "&DATEDIF(A1,$C$1,"MD")&"d"
  4. Press Ctrl+D to fill the formula down column B

For more calculation tools, visit our interactive calculator or manual calculation guide.

Frequently Asked Questions

What is the Excel formula for chronological age?
Use =DATEDIF(A1, B1, "Y") for years, DATEDIF(A1, B1, "YM") for months, and DATEDIF(A1, B1, "MD") for days, where A1 is birth date and B1 is target date.
Does DATEDIF work in all Excel versions?
DATEDIF is an undocumented function that works in all modern Excel versions including Excel 365, Excel 2021, Excel 2019, and Excel Online, but it does not appear in formula autocomplete.
How do I calculate age in Excel for a whole column?
Enter the formula in the first cell, then use Ctrl+D to fill down the column. Replace the target date cell reference with TODAY() for current age.