Interactive Calculator
When enabled, you can enter times for both dates to refine the calculation.
Results
Use this authoritative age calculator to compute the exact time between your date of birth and any “as of” date. Designed for everyday use and professional contexts, it returns your age in years, months, and days—plus totals in weeks, days, hours, minutes, and seconds.
When enabled, you can enter times for both dates to refine the calculation.
Authoritative source: Dershowitz, N., and Reingold, E. M. “Calendrical Calculations.” 3rd ed., Cambridge University Press, 2008. Publisher page. All computations follow Gregorian calendar arithmetic and ISO 8601 representations for dates and times (ISO 8601:2019, ISO).
Tutti i calcoli si basano rigorosamente sulle formule e sui dati forniti da questa fonte.
Given birth date B = (Y_b, M_b, D_b) and reference date R = (Y_r, M_r, D_r) in the proleptic Gregorian calendar:
Years component
$$ y \;=\; Y_r - Y_b - \begin{cases} 1, & \text{if } (M_r, D_r) \lt (M_b, D_b) \\ 0, & \text{otherwise} \end{cases} $$
Months component (after subtracting y years)
$$ m \;=\; \left(M_r - M_b - \mathbf{1}[D_r < D_b] \right) \bmod 12 $$
Days component (remaining days after adding y years and m months to B)
$$ d \;=\; \mathrm{daysBetween}\!\left(\mathrm{addMonths}(\mathrm{addYears}(B,y), m),\; R\right) $$
Totals in units use UTC-based epoch differences to avoid DST ambiguities:
$$ \Delta t = R_{\mathrm{UTC}} - B_{\mathrm{UTC}},\quad \text{days} = \left\lfloor \frac{\Delta t}{86400} \right\rfloor,\; \text{hours} = \left\lfloor \frac{\Delta t}{3600} \right\rfloor,\; \text{minutes} = \left\lfloor \frac{\Delta t}{60} \right\rfloor,\; \text{seconds} = \left\lfloor \Delta t \right\rfloor. $$
Suppose B = 1990-02-28 and R = 2025-09-15.
The tool implements these steps reliably, handling varying month lengths and leap years per the Gregorian calendar.
It uses Gregorian rules and UTC-based math to avoid daylight-saving offsets. With time-of-day enabled, it is accurate to the second.
Yes. You can see how old you will be on any future “as of” date.
The computation follows Gregorian calendar arithmetic. For next-birthday logic on Feb 29 births, this tool uses March 1 in non-leap years by default.
Some rely on local time with DST transitions, causing off-by-one day differences. This tool uses consistent UTC arithmetic for totals.
All calculations run locally in your browser. Nothing is transmitted or stored.
Yes. Use parameters: ?dob=YYYY-MM-DD&asof=YYYY-MM-DD&time=1. If time=1, you can also pass dobtime=HH:MM:SS and asoftime=HH:MM:SS.
Strumento sviluppato da Ugo Candido,. Contenuti verificati da,.
Last reviewed for accuracy on: September 15, 2025.