Date & Time

Age Calculator

Calculate age and elapsed time between important dates.

Free to use No account required Browser calculation
Input

Enter your values

Enter the values for this calculator. We’ll show the answer, the method and the formula together.

Ready
Calculate age

The birth date must be on or before the target date.

Leave blank to use today.

Calculation method

Formula & methodology

The result above is backed by the calculator-specific formulas and assumptions shown here.

Calendar ageLargest whole years + largest whole months + remaining calendar days
Total elapsed days(Target UTC date − Birth UTC date) ÷ 86,400,000 ms
Method & assumptions

Calendar age is calculated from clamped year/month anniversaries instead of treating every month or year as a fixed number of days.

Month-end dates are handled by clamping to the last valid day of the destination month before counting remaining days.

Total days are calculated from UTC date boundaries to avoid daylight-saving-time differences.

For a February 29 birthday in a non-leap year, February 28 is used as the next-birthday reference.

Examples

Worked examples

Examples use this calculator’s own inputs and outputs, not generic page filler.

Example 01Born May 20, 1995; calculated September 9, 202620 May 1995 → 9 Sep 2026

31 years, 3 months, 20 days

Example 02Month-end example31 Jan 2021 → 28 Feb 2021

0 years, 1 month, 0 days

Example 03Leap-day birthday29 Feb 2000 → 28 Feb 2021

21 years, 0 months, 0 days · next-birthday countdown 0 days

Help & assumptions

Frequently asked questions

Important assumptions and practical details for this calculator.

Does the calculator use today automatically?+

Yes. If the target date is left blank, the calculator uses the current date on your device.

Why are years and months not converted using a fixed number of days?+

Calendar months and years have different lengths. The calculator uses calendar anniversaries and month anchors, which avoids fixed-day approximations and handles month-end dates consistently.

How are leap-day birthdays handled?+

The age calculation uses the actual birth date. For the next-birthday countdown in a non-leap year, February 28 is used.

What does “days until next birthday” mean when I choose a past or future target date?+

The countdown is measured from the selected target date, not always from today. If you leave the target date blank, the calculator uses the current date on your device.