Calculate Exact Age in Google Sheets (Years, Months, Days, or Decimal)

Use DATEDIF, YEARFRAC, and INT with TODAY() to compute precise ages that update automatically — either as whole years, detailed years/months/days, or as a decimal.

What the video covers

Show three reliable methods to compute exact ages from a birthdate cell in Google Sheets: completed years, years+months+days, and fractional (decimal) age. Includes copying formulas down a column.

Watch the video on YouTube

Step-by-step instructions

  1. Prepare your sheet
    Confirm the birthdate column contains real dates (e.g., A2 = 1995-04-15). Pick cells for outputs (e.g., B2 for years, C2 for detailed age, D2 for decimal).
  2. Calculate completed full years (simple)
    In the output cell enter: =DATEDIF(A2, TODAY(), "Y"). This returns the number of completed years from the birthdate to today and updates daily.
  3. Calculate years, months, and days (detailed)
    Use a combined string formula to show each interval: =DATEDIF(A2, TODAY(), "Y") & " Years, " & DATEDIF(A2, TODAY(), "YM") & " Months, " & DATEDIF(A2, TODAY(), "MD") & " Days". This shows completed years, remaining months, and remaining days.
  4. Calculate decimal (fractional) age
    For an exact decimal age use: =YEARFRAC(A2, TODAY()). To truncate to whole years with math instead of DATEDIF, wrap with INT: =INT(YEARFRAC(A2, TODAY())).
  5. Apply formulas across rows
    After entering a formula in the first row, copy it down the column (drag or double-click the fill handle) so every birthdate row calculates automatically.
  6. Validate edge cases
    Test with known dates (including Feb 29 births and dates near month boundaries). If results look wrong, confirm the birth cell is a proper date rather than text (use DATEVALUE if needed).

Watch the video

Video thumbnail for Calculate Exact Age in Google Sheets (Years, Months, Days, or Decimal) Play tutorial

Watch on YouTube

Why it matters

Simple subtraction of years ignores leap days and month-length differences, producing inaccurate ages for HR, membership lists, and compliance records. These formulas give precise, dynamically updating ages.

Check your result

Verify results by testing a few known birthdates (including leap-day births) against a calendar. The detailed formula should display correct completed years, remaining months, and remaining days; YEARFRAC should produce a plausible decimal.

Troubleshooting

If a formula returns an error or unexpected value: ensure birth cells are real date values (not text). Use DATEVALUE to convert date text. If DATEDIF returns unexpected days/months around month boundaries, confirm both dates are valid and that TODAY() is used for live current date.