Age Calculator - Calculate Exact Age in Years, Months & Days

Find an exact chronological age from any date of birth to today or any custom date. Shows years, months, and days alongside total elapsed months, weeks, exact UTC days, and the countdown to the next birthday.

Age Calculator

How to use the Age Calculator

  1. 1Select your Date of Birth in the left date input using YYYY-MM-DD format or the browser date picker.
  2. 2Leave Calculate Age At Date set to today’s date, or select any custom past or future date in the right input.
  3. 3Read the purple Exact Age banner showing years, months, and days, along with the four metric cards underneath.
  4. 4Verify the active Formula Box at the bottom and click Copy Result to copy the complete age breakdown.

What the Age Calculator does

Running exact UTC calendar arithmetic directly inside your browser, the Age Calculator reports five metrics and validates date order:

  • Computes chronological years, months, and days by comparing UTC calendar fields directly and borrowing the exact length of the preceding month (28, 29, 30, or 31 days) whenever target day is smaller than birth day.
  • Computes Total Months as (Years × 12) + Months for an easy cumulative month count.
  • Computes Total Days as Math.round((End UTC ms - Birth UTC ms) / 86,400,000) and Total Weeks as Math.floor(Total Days / 7).
  • Calculates days remaining until the next anniversary of your birth month and day, and warns clearly if Calculate Age At Date precedes Date of Birth.

Example

Sample dates
Date of Birth: 2000-03-15 | Calculate Age At Date: 2026-06-20
Calculated age metrics
Exact Age: 26y 3m 5d
Total Months: 315 | Total Weeks: 1,370 | Total Days: 9,593
Next Birthday: 268 days

All numbers update live using calendar month borrowing and elapsed UTC millisecond division (86,400,000 ms per day), with one-click Copy Result.

Frequently asked questions

How are leap years handled in the Age Calculator?

Calendar arithmetic uses real UTC dates (including February 29 in leap years), so total elapsed days count every 366-day leap year accurately and month borrowing uses actual days in each month (28, 29, 30, or 31).

Can I calculate age on a past or future date?

Yes. Edit the Calculate Age At Date input to any date on or after the date of birth—for example, to verify age on an enrollment deadline, event date, or historical milestone.

Why do different month lengths affect the day count?

Because months vary from 28 to 31 days, when the target day-of-month is smaller than the birth day-of-month, the calculator borrows the exact length of the preceding calendar month (28, 29, 30, or 31 days).

What formula computes Total Days and Next Birthday?

Total Days uses Math.round((End UTC ms - Start UTC ms) / 86,400,000), Total Weeks uses Math.floor(Total Days / 7), and Next Birthday measures days to the next occurrence of the birth month and day.

Related tools

View All Tools