Age Calculator
Enter your date of birth to find your exact age in years, months, and days. You can also set a custom 'age as of' date — useful for calculating age at a past or future event.
Notes
How Age Is Calculated
Age is calculated by finding the difference between the date of birth and the reference date (today, or a custom date). The result is expressed as a combination of complete years, remaining complete months, and remaining days.
Step-by-Step Method
- Subtract the birth year from the reference year to get a raw year count.
- Subtract the birth month from the reference month. If negative, subtract 1 from years and add 12 to months.
- Subtract the birth day from the reference day. If negative, subtract 1 from months and add the number of days in the previous month.
- The result is the age in years, months, and days.
Worked Example
Date of birth: March 15, 1990. Reference date: November 3, 2024.
| Component | Calculation | Result |
|---|---|---|
| Raw years | 2024 − 1990 | 34 |
| Raw months | 11 (Nov) − 3 (Mar) = 8 | 8 months |
| Raw days | 3 − 15 = −12 (negative → borrow month) | borrow |
| Adjust days | days in Oct = 31, so days = −12 + 31 | 19 days |
| Adjust months | 8 − 1 (borrowed) | 7 months |
| Final age | — | 34 years, 7 months, 19 days |
Total Days and Weeks
Total days lived is computed directly from the timestamp difference:
Total weeks is then floor(total days ÷ 7). This automatically accounts for leap years.
Next Birthday Countdown
The next birthday is set to the birth month and day in the current year. If that date has already passed, the year is advanced by 1. The countdown is the number of calendar days from today to that date.
Leap Year Handling
People born on February 29 (leap day) have a birthday that only exists every four years. This calculator counts February 28 as the birthday in non-leap years for the purposes of the next birthday countdown.
Frequently Asked Questions
How do I calculate my exact age in days?
The calculator shows total days lived automatically. It computes the precise number of days between your date of birth and the reference date, accounting for all leap years in between.
What does the 'Age as of' field do?
It lets you choose a custom reference date instead of today. For example, enter a future date to see how old you will be then, or a past date to verify your age at a historical event.
Why does my age show months and days instead of just years?
The calculator gives the most precise breakdown: complete years, the remaining complete months, and the remaining days. A person who is '30 years, 5 months, 12 days' old has not yet completed their 31st year.
Is there an age limit this calculator can handle?
No practical limit. It can calculate age for dates hundreds of years in the past or future, as long as the date of birth is earlier than the reference date.
What if I was born on February 29?
The calculator handles leap day birthdays correctly. For non-leap years, February 29 does not exist, so the next birthday countdown uses March 1 as the effective date for counting purposes.