About age calculation
Age is calculated by comparing today's date to the birth date. The year count increases each birthday; the remaining months and days are computed from the anniversary of the last birthday. Total days lived is the simple difference in calendar days between birth and today.
How do I calculate age?
To calculate age, subtract the birth date from today's date, then adjust the year count for whether this year's birthday has occurred yet. Example: someone born March 22, 1998 is, as of July 16, 2026, 28 years, 3 months, and 24 days old, since that year's birthday has already passed.
Steps to calculate age
- Subtract the birth year from the current year to get a starting year count.
- Subtract the birth month from the current month, and the birth day from the current day.
- If the day difference is negative, subtract one from the month count and add the number of days in the previous calendar month.
- If the month difference is negative, subtract one from the year count and add 12 to the months.
- The three resulting numbers are the years, months, and days of the current age.
Age formula
Total days lived = Today's date − Birth date (in days)
- Years = calendar years fully completed since birth, adjusted for whether this year's birthday has passed
- Months, days = time elapsed since the most recent birthday anniversary
- Next birthday = the coming date matching the birth month and day, this year or next
Example ages as of July 16, 2026
| Birth date | Age | Total days lived | Next birthday in |
|---|
| 1998-03-22 | 28y 3m 24d | 10,343 days | 249 days |
| 2000-01-01 | 26y 6m 15d | 9,693 days | 169 days |
| 1990-12-31 | 35y 6m 15d | 12,981 days | 168 days |
| 2010-07-16 | 16y 0m 0d | 5,844 days | 365 days |
| 1985-07-15 | 41y 0m 1d | 14,976 days | 364 days |
Frequently asked questions
Why does this show a different age than simply subtracting the birth year from this year?
Subtracting years alone ignores whether the birthday has already happened this year. If today's month and day come before the birth month and day, a full year has not yet passed, so one year is subtracted from the simple difference.
How is total days lived different from age in years?
Total days lived counts every calendar day between the birth date and today, including leap-year days, with no rounding to months or years. It is the most precise single number for how long someone has been alive.
Why is the days-to-next-birthday sometimes 365 and sometimes 364?
It depends on whether a leap year falls between today and the next birthday. If today is the birthday itself, the countdown is set to a full year until the following one.
Does the calculator account for time zones?
No. It compares calendar dates only, using the device's local date. Time of day and time zone do not affect the year, month, and day breakdown.
This calculator works with calendar dates only; it does not account for time zones or the exact hour of birth. Results are for general reference — for legal or medical age requirements, confirm the exact calculation method required in your context.