Age Calculator
Calculate your exact age in years, months, and days. This tool also displays your age breakdown in total months, weeks, and days, and tells you exactly how many days are left until your next birthday.
Your Age
—
Next Birthday In
—
Total Months Lived
—
Total Weeks Lived
—
Total Days Lived
—
How the Age Calculation Works
Age calculation measures the time difference between two dates. Calendar months vary in length (28 to 31 days) and leap years add an extra day to February. To calculate age precisely:
- Determine the difference in years first. If the target month/day occurs before the birth month/day, subtract one year from the simple calendar year difference.
- Compute the remaining months. If the target day of the month is less than the birthday, subtract one month and calculate the remaining days based on the number of days in the previous month.
- Total days lived is calculated by finding the absolute difference in milliseconds between the two dates and dividing it by 86,400,000.
Worked Example
Suppose a person was born on 15 October 1995, and we calculate their age on 9 July 2026:
- Years difference: 2026 - 1995 = 31. Since July is before October, they haven't reached their birthday this year. Thus, they are 30 years old.
- Months difference: From 15 October 2025 to 15 June 2026 is 8 months.
- Days difference: From 15 June 2026 to 9 July 2026 is 24 days.
- Exact Age: 30 years, 8 months, and 24 days.
Frequently Asked Questions
How does the age calculator work?
The age calculator compares your Date of Birth (DoB) with the target calculation date (which defaults to today). It computes the exact difference in years, months, and days using standard calendar dates, accounting for leap years and different month lengths.
How is age calculated in years, months and days?
It calculates the difference in years first. If the current month is before the birth month, or if it is the same month but the current day is before the birth day, it subtracts 1 year. The remaining months and days are calculated by stepping back to the anniversary.
Can I calculate age between two arbitrary dates?
Yes, you can specify both the Date of Birth and the 'Calculate on Date' fields. This allows you to find out how old you were at a specific point in the past or how old you will be on a future date.
How many days old am I?
The calculator automatically computes the total number of days you have lived since birth. It divides the total milliseconds elapsed between the two dates by 86,400,000 (the number of milliseconds in a day).
When is my next birthday?
The calculator identifies your upcoming birthday date and outputs the countdown in months, days, and total days. You can use this to plan celebrations or track milestones.
Pocket