Date & Time

Age Calculator

Enter a birth date and optional comparison date to calculate age.

App view

Inputs

Results

Result Enter values to calculate.
Your result explanation will appear here.

Useful next checks

  • Confirm timezone and calendar assumptions for important dates.
  • Try nearby dates to compare different scenarios.
  • Use the detail text to check exactly what was counted.

Intro

Use this age calculator to calculate age from a date of birth.

How it works

Enter a birth date and optional target date. If no target date is entered, the calculator uses today.

Formula

Age in years is calculated by comparing birthdays, while total days are calculated from elapsed calendar days.

Example calculation

Someone born on 1 January 2000 is 30 years old on 1 January 2030.

FAQs

  • Leap years are handled by browser date calculations.
  • You can calculate age on a past or future target date after the birth date.

Related calculators

Frequently asked questions

Can I calculate age on a future date?

Yes. Choose any target date after the birth date.

Does it account for leap years?

Yes. Date calculations use browser Date objects, which account for leap years.