How Age in Years Is Calculated
This calculator finds exact age using calendar-based subtraction, the same method used on official forms and most age calculators. It compares a date of birth to an "as of" date (today, by default) and counts a birthday as reached only once both the birth month and the birth day have occurred in the current year — it does not simply divide total days by 365.25.
The calculation, step by step
- Subtract the birth year from the as-of year to get a starting year count.
- Subtract the birth month and day from the as-of month and day. If the day difference is negative, borrow a month and add the number of days in the previous calendar month (28 to 31, depending on the month and leap years).
- If the month difference is still negative after borrowing, subtract one more year and add 12 to the month count.
- The result is age split into full years, months, and days — for example, someone born January 20, 2000 is 26 years, 5 months, and 27 days old on July 17, 2026.
Other values this tool reports
- Total days lived is the exact day count between the two dates, computed directly from the calendar rather than years × 365, so it correctly accounts for every leap day in between.
- Days until next birthday locates the birth month and day in the current (or next) year and counts forward from the as-of date.
A note on leap-year birthdays
Someone born on February 29 has a true anniversary only once every four years. In non-leap years, this calculator treats their birthday as landing on March 1, following the standard behavior of calendar date arithmetic when February 29 does not exist that year.