The Age Calculator takes two dates — a date of birth and a Calculate as of date — and returns the age as years, months and days. It also shows the total number of whole days between the two dates and the date of the next birthday.
Both date fields start empty, and the workspace also fills the as-of date with today when the tool is opened from the shared date defaults. The calculation runs whenever either date changes.
The tool subtracts the birth date from the as-of date field by field: years from the calendar years, months from the calendar months and days from the days of the month. It then corrects the result by borrowing when the day or month difference is negative, which is what makes the answer an exact calendar age rather than a simple division of days.
If either date is missing, nothing is calculated. If the date of birth is after the as-of date, the Age box shows Invalid dates and the other boxes show dashes. The next birthday is built from the birth month and day in the as-of year; if that date is on or before the as-of date, one year is added. The tool works in whole calendar days and does not calculate hours, minutes or weeks separately.
Years: 2026 − 2000 = 26. Months: 11 − 6 = 5. Days: 28 − 15 = 13, so no borrowing is needed. The tool shows 26y 5m 13d, a total of 9,662 days, and the next birthday as Jun 15, 2027, because 15 June 2026 is already past.
For a birth date of 20 March 2000 calculated as of 10 March 2026, the raw day difference is 10 − 20 = −10. The tool borrows the 28 days of February 2026, giving 18 days, and reduces the months by one, producing 25y 11m 18d rather than a negative day count.
It shows the age as years, months and days, the total whole days between the two dates, and the next birthday date. All three update together when a date changes.
Yes. The second field is a Calculate as of date, not fixed to today. Set it to any future or past date and the age is worked out as of that date.
The tool detects that the birth date is later than the as-of date and shows Invalid dates in the Age box, with dashes in the Total days and Next birthday boxes.
The tool places the birth month and day in the as-of year. If that date is on or before the as-of date, it adds one year, so the result is always the next upcoming birthday date.
The borrowing step uses the real number of days in the relevant month, taken from the calendar, and total days come from the actual difference between the two dates, so February in a leap year is counted with 29 days.
Date and measurement tools that pair naturally with age calculations.
Days Between Dates — Count total days, weeks plus days, and Monday-to-Friday weekdays between two dates.
Unit Converter — Convert length, weight and temperature between common units.
BMI Calculator — Calculate body mass index from height in centimetres and weight in kilograms.
Converters — Browse the full Converters category on ToolGlobalHub.