Age Calculator

Work out age in years, months, and days from a date of birth, plus total days lived.

Age is calculated as of today. Feb 29 birthdays count on Feb 28 in non-leap years.

Result

Age

—

Total days lived

—

Results appear here

How it works

Enter the date of birth and select Calculate. The result shows the age in years, months, and days as of today, plus the total number of days lived — everything runs in your browser.

How age is counted

The age is measured in whole calendar years, months, and days: it increments on the birthday itself, so the day of birth counts as zero. The total days figure is an exact day count from the date of birth to today.

Today means your device's local calendar date, not a server clock — the caption under the result shows the exact date used.

Leap day birthdays

For someone born on February 29, the birthday is counted on February 28 in non-leap years. This is the convention this tool uses — it is not a universal legal rule for official age.

Assumptions and edge cases

  • The date of birth must not be in the future; it is rejected with an inline message.
  • Supported dates run from 0001-01-01 to 275759-12-31; dates outside that range are rejected with an inline message.
  • Only whole days are counted — no hours, minutes, or timezones are involved, so the result never depends on where you are.
  • The calculation is done entirely in your browser; the date you enter is never uploaded.
Esc