How this calculator works
The calculator compares calendar dates and subtracts one year if the birthday has not yet occurred in the reference year. Total days is calculated from UTC midnight, so daylight-saving changes do not affect it.
The formula
Use the units shown beside each field. Results are calculated from the full input precision, then rounded for display; use unrounded values when doing further calculations.
Keep in mind
Dates only; time of birth is ignored. For February 29 births, the birthday is treated as March 1 in non-leap years.
Frequently asked questions
What inputs should I use?+
Enter your values using the units shown in the field labels. Dates only; time of birth is ignored. For February 29 births, the birthday is treated as March 1 in non-leap years.
How is the answer calculated?+
The calculator compares calendar dates and subtracts one year if the birthday has not yet occurred in the reference year. Total days is calculated from UTC midnight, so daylight-saving changes do not affect it. The formula is Completed years = Year difference − 1 if birthday has not occurred.
Are my inputs stored?+
No. Your calculator inputs and results stay in the browser and are not sent to our server. Reset restores the example inputs and clears the result.