AbraCalc

Exact Age Calculator

Calculate your exact age in years, months, and days from your date of birth to any reference date.

Embed this tool on your site

How to use this tool

  1. Enter your date of birth.
  2. Set the 'as of' date (defaults to today).
  3. Read your exact age in years, months, and days.

Find your exact age down to the day — not just years, but full years, months, and remaining days.

Formula

Age = (reference date − date of birth) expressed as years, remaining months, and remaining days.

Day borrowing: if the reference day < birth day, subtract 1 month and add the days in the previous month. If months go negative after subtraction, subtract 1 year and add 12 months.

How it works

The calculator performs a calendar-aware subtraction of the birth date from the reference date in UTC, yielding a precise age broken down into whole years, whole months, and residual days. It correctly handles month-length differences (e.g., February) by borrowing days from the preceding month when needed.

All dates are interpreted in UTC to avoid timezone-related off-by-one errors. The result represents the exact completed units of time: for example, a person born on 15 June 1990 is 36 years, 0 months, and 9 days old as of 24 June 2026.

Worked example

Worked example: born 1990-06-15, reference date 2026-06-24

  1. Year difference: 2026 − 1990 = 36. Month difference: 6 − 6 = 0. Day difference: 24 − 15 = 9.
  2. Day difference is non-negative (9 ≥ 0), so no borrowing needed.
  3. Month difference is non-negative (0 ≥ 0), so no year adjustment needed.
  4. Result: 36 years, 0 months, 9 days.

Exact age: 36 years, 0 months, and 9 days.

Key terms

UTC (Coordinated Universal Time)
The timezone-neutral time standard used here to prevent daylight saving time or local offset from shifting the parsed date by a day.
Day borrowing
When the reference day is earlier in the month than the birth day, one month is subtracted from the month count and its day-count is added to the day remainder.
Completed units
Age components count only fully elapsed periods: a person is 36 years old the day of their birthday, not the day before.
Calendar-aware subtraction
Age arithmetic that respects variable month lengths (28–31 days) rather than assuming a fixed number of days per month.
Reference date
The target date as of which the age is calculated; defaults to today but can be set to any past or future date for historical or planning purposes.

Frequently asked questions

How is exact age calculated?
Subtract the birth date from the reference date, borrowing days from months and months from years as needed to keep each component non-negative.
Why is exact age useful?
Exact age matters for legal documents, medical assessments, insurance, and milestone celebrations where the precise number of days counts.

References & sources