Age Calculator
Calculate your exact age in years, months, and days. See total days, minutes, seconds, and how many days until your next birthday.
Examples
Born 1 January 1996, measured on the 30th birthday.
Exact age
30 years 0 months 0 days
Total days
10,958
Total minutes
15,779,520
Total seconds
946,771,200
Next birthday
2027-01-01 (365 days)
Life stage: Adult (20-64).
Was this useful?
Examples
How It Works
Formula
Variables
- Milliseconds between the birth date and the reference date
- Whole calendar days between the two dates
- Milliseconds in one day (24 × 60 × 60 × 1000)
Enter your date of birth and an optional reference date (defaults to today). The calculator computes your exact age broken down into years, months, and days, plus total days, minutes, seconds, and the date of your next birthday.
Calendar-style age breakdown, the same way you would count on your fingers:
- Tentatively take the year, month, and day differences: , , .
- If the day count is negative, the reference day has not yet caught up to the birth day this month — borrow the days of the previous month and subtract one from the months count.
- If the months count is then negative, the reference month is still before the birth month this year — borrow 12 months and subtract one from the years count.
- Compute total elapsed days from the raw timestamps: ; minutes and seconds are derived from that whole-day count.
- Find the next birthday by setting the year of the birth month-and-day to the reference year (or the next year if that anniversary has already passed) and counting the days remaining.
Frequently Asked Questions
01How does the age calculation work?
The calculator subtracts the birth date from the reference date, handling month and day boundaries correctly. It counts full years, then remaining months, then remaining days — the same way you would count on a calendar.
02What is the reference date?
The reference date is the date you want to measure age against. It defaults to today but you can change it to any date — past or future — to calculate age at a specific point in time.
03How is "next birthday" calculated?
The calculator finds the next occurrence of your birth month and day after the reference date and shows both the date and the number of days remaining.
04Does it account for leap years?
Yes. The total days calculation uses actual calendar dates, so leap years (with 366 days) are handled automatically. February 29 birthdays will show March 1 as the next birthday in non-leap years.
05Can I calculate age for a future date?
Yes. Set the reference date to a future date and the calculator will show the projected age at that point. This is useful for planning milestones or retirement dates.