Age Calculator
Enter a birth date and a reference date to calculate calendar age, elapsed days and the next birthday from that date.
Dates use the Gregorian calendar, years 0001–9999. Whole years and months clamp to the last valid day of the destination month; February 29 becomes February 28 in non-leap years. The next birthday includes the reference date itself. No time-of-day or daylight-saving adjustment is applied.
Enter valid dates; the birth date must not be later than the reference date.
How age is calculated
Enter a birth date and a reference date to calculate calendar age, elapsed days and the next birthday from that date.
Dates use the Gregorian calendar, years 0001–9999. Whole years and months clamp to the last valid day of the destination month; February 29 becomes February 28 in non-leap years. The next birthday includes the reference date itself. No time-of-day or daylight-saving adjustment is applied.
Frequently asked questions
Does this account for leap years?
Dates use the Gregorian calendar, years 0001–9999. Whole years and months clamp to the last valid day of the destination month; February 29 becomes February 28 in non-leap years. The next birthday includes the reference date itself. No time-of-day or daylight-saving adjustment is applied.
What happens if my birthday is February 29?
Dates use the Gregorian calendar, years 0001–9999. Whole years and months clamp to the last valid day of the destination month; February 29 becomes February 28 in non-leap years. The next birthday includes the reference date itself. No time-of-day or daylight-saving adjustment is applied.
Why does the total days count differ slightly from years × 365?
Because leap years add an extra day roughly every four years, the exact total depends on how many leap years fall within your lifetime, not a flat 365-day average.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Date of birth = 1990-05-15
Reference date = 2026-11-24
|
total days lived: 13342
Total hours: 320208
Age at next birthday: 37
Next round number of days lived: 14000: 2028-09-12
|
| 2 |
Date of birth = 2000-02-29
Reference date = 2027-03-01
|
total days lived: 9862
Total hours: 236688
Age at next birthday: 28
Next round number of days lived: 10000: 2027-07-17
|
| 3 |
Date of birth = 1985-11-24
Reference date = 2026-11-24
|
total days lived: 14975
Total hours: 359400
Age at next birthday: 41
Next round number of days lived: 15000: 2026-12-19
|