Age Calculator

Calculate exact age in years, months and days.

This tool runs entirely in your browser. Your files are never uploaded to a server.

26

Years

10

Months

2

Days

9803

Total days

What this calculator does

Calculates exact age as a calendar-style years, months and days breakdown between a birth date and a reference "as of" date, plus the total number of elapsed days.

How to use it

Enter a birth date and an "as of" date (defaulting to today). The years/months/days breakdown and total elapsed days update immediately. The birth date cannot be later than the "as of" date.

Worked example

A birth date of 2000-01-01 with an "as of" date of 2026-09-21 gives 26 years, 8 months and 20 days — computed from full calendar years and months, with the remaining days counted last.

How the breakdown is computed

The calculator subtracts calendar components and borrows the length of the previous month whenever the day difference comes out negative; total days is derived separately from the millisecond difference divided by 24 hours.

Leap years

Because the calculation works on real calendar dates rather than a fixed 365-day year, leap years are handled automatically and don't need any special input.

Limitations

Month-end dates, unusual browser date parsing and daylight-saving transitions can produce edge cases — don't rely on the result alone for legal, eligibility or contractual age decisions.

Privacy

The calculation runs locally in your browser; the dates you enter are not uploaded.

Frequently Asked Questions

How is age calculated?
It subtracts calendar components, borrowing days from the month before the reference date when needed, and separately derives total days from elapsed milliseconds. Review month-end edge cases.
Can I calculate age as of a specific date?
Yes, change the 'as of' date to any date in the past or future to see age at that point.
Does it account for leap years?
Yes, the calculation uses actual calendar dates, so leap years are handled automatically.