Home โ€บ Blog โ€บ How to Calculate Age with Date of Birth
โœ๏ธ Blog

How to Calculate Age with Date of Birth

Three reliable ways to turn a birth date into an exact age: by hand, with a spreadsheet formula, or instantly online โ€” with worked examples for each.

Whether you're filling in an official form, checking exam eligibility, or just curious, calculating age from a date of birth comes down to one idea: count the completed years, then the leftover months and days. Here are three ways to do it โ€” from fully manual to fully automatic.

Method 1: By hand (the borrowing method)

Write both dates as day / month / year and subtract column by column, starting with days. When a subtraction goes negative, borrow from the next column โ€” exactly like long subtraction in arithmetic.

STEP 01Days: subtract birth day from current day. If negative, add the number of days in the previous month and carry โˆ’1 to the months.
STEP 02Months: subtract birth month from current month (minus any carry). If negative, add 12 and carry โˆ’1 to the years.
STEP 03Years: subtract birth year from current year (minus any carry). Done.

Worked example

Date of birth: 14 November 1992 ยท Today: 6 July 2026

ColumnWorkingResult
Days6 โˆ’ 14 = โˆ’8 โ†’ borrow June's 30 days: 36 โˆ’ 1422 days
Months(7 โˆ’ 1) โˆ’ 11 = โˆ’5 โ†’ borrow 12: 77 months
Years(2026 โˆ’ 1) โˆ’ 199233 years

Age: 33 years, 7 months, 22 days.

Quick check trick: Has the birthday happened yet this year? If yes, age = current year โˆ’ birth year. If no, subtract one more. 14 November hasn't arrived by 6 July, so 2026 โˆ’ 1992 โˆ’ 1 = 33 โœ“

Where hand calculation goes wrong

Method 2: In Excel or Google Sheets

The DATEDIF function does the whole calculation in one cell. With the date of birth in A1:

Years only:            =DATEDIF(A1, TODAY(), "Y")
Years, months, days:   =DATEDIF(A1,TODAY(),"Y") & " y, " &
                        DATEDIF(A1,TODAY(),"YM") & " m, " &
                        DATEDIF(A1,TODAY(),"MD") & " d"
Total days alive:      =TODAY() - A1

The unit codes: "Y" = complete years, "YM" = months after subtracting the years, "MD" = days after subtracting years and months. Swap TODAY() for any cell containing a target date to get age at that date.

Note: DATEDIF's "MD" unit has documented quirks around end-of-month dates in Excel. For anything critical, verify with a calendar-based tool.

Method 3: Online (the 10-second way)

An online age calculator applies the same borrowing method โ€” with every leap year and month length handled โ€” and adds the extras that are tedious by hand: total weeks, days, hours, minutes, and a countdown to the next birthday.

  1. Open the myagecalc.net age calculator.
  2. Enter the date of birth.
  3. Optionally set an "age at" date (it defaults to today).
  4. Click Calculate โ€” the full breakdown appears instantly.

Everything runs in your browser, so the date of birth is never sent anywhere.

Which method should you use?

SituationBest method
One-off, no device handyBy hand (borrowing method)
A whole column of birth datesSpreadsheet with DATEDIF
Exact age with all units, fastOnline calculator
Legal/official cutoff datesOnline calculator with a custom "age at" date

Frequently asked questions

Age = current date โˆ’ date of birth, computed column-wise: subtract days (borrowing from the previous month if negative), then months (borrowing 12 if negative), then years. The result is expressed as completed years, months, and days.
Subtract the birth year from the current year, then subtract 1 if the birthday hasn't occurred yet this year. That's it.
Dividing total days by 365 ignores leap days, so it drifts by about a day for every four years lived. Calendar comparison (the borrowing method) is the accurate approach โ€” see our guide on how age is calculated.
Use the same method but replace "today" with the target date โ€” or set the "Age at Date" field in our calculator to that date.

Let the calculator do the borrowing

Exact age in years, months, days, hours, and minutes โ€” from one date input.

Calculate Age Now โ†’

Keep reading