Skip to content
CalcLab

Age Calculator

Calculate exact age in years, months, and days from a date of birth.
Use the format YYYY-MM-DD.
The date to measure age at (defaults to a fixed reference).
No data
No results yetEnter values and run the tool to see results.

What is this calculator?

Calculates an exact age as a number of complete years, months, and days between a date of birth and a reference date, along with the total days elapsed. It counts completed calendar units rather than dividing days by an average month length.

Use it when:

  • You need an exact age for a form, an eligibility check, or a record.
  • You want age as of a specific past or future date, not just today.
  • You need the total days lived as well as the calendar breakdown.

Intended for: Anyone completing a form, checking an eligibility threshold, or recording an exact age.

How is this calculated?

  1. The calculation walks the calendar rather than dividing elapsed days: it counts how many complete years fit between the two dates, then how many complete months remain, then the leftover days.
  2. A year is complete only once the same month and day have been reached or passed — so someone born on 30 June is not a year older until 30 June comes round again, regardless of how many days that took.
  3. Leftover months and days are counted against the actual lengths of the months involved, so February and a 31-day month are handled correctly.
  4. Total days lived is computed separately as a straight day count between the two dates, which is why it does not equal years × 365.

Formula

Completed calendar age

Age = complete years, then complete months, then remaining days

Counted against the real calendar, not derived by dividing a day count by an average month length.

Example

A date of birth of 1990-06-30 with a reference date of 2026-07-23.

  1. From 1990-06-30, 36 complete years reach 2026-06-30.
  2. From there, no complete month has passed by 2026-07-23.
  3. The remaining span is 23 days.

Result: 36 years, 0 months, 23 days — a total of 13,172 days.

Frequently asked questions

Why is my age in days not simply years × 365?

Because of leap years. Roughly one year in four has 366 days, so a straight day count runs ahead of the 365-per-year approximation by about a day every four years.

How is a 29 February birthday handled?

In a non-leap year the anniversary is treated as falling at the end of February, so the year completes on 28 February. This matches the convention most jurisdictions use.

Can I calculate age at a future date?

Yes. The reference date can be any date on or after the date of birth, which is useful for checking when someone reaches an age threshold.

Assumptions

What this calculator takes as given:

  • Dates are treated as civil calendar dates (year, month, day) with no time-of-day component.
  • No time zone is applied, so a date means the same thing wherever you are — the result never shifts by a day depending on your location.
  • The proleptic Gregorian calendar is used throughout, including for dates before its historical adoption.
  • The reference date is on or after the date of birth.
  • Age counts COMPLETED units — a person is 36 until the day they turn 37.

Limitations

What this calculator cannot know or does not model:

  • Time of day is not considered, so age is exact to the day and no finer.
  • Jurisdictions with a different legal convention for leap-day birthdays may compute a threshold differently.
  • Non-Gregorian calendars are not supported.