How the age calculator works
Enter your date of birth and choose the date in Age on. The default result gives completed years, remaining months and remaining days. You can switch the result to years with a decimal fraction, whole months, weeks, days, hours, minutes, seconds or milliseconds.
Time of birth is optional. Leave it blank and counting starts at midnight; enter it and counting starts at that local clock time. In the years, months and days view, a supplied birth time also adds completed hours and minutes to the note below the result.
Whenever Age on is today's date, the endpoint is the current moment, even if you selected today manually. For any other date, the endpoint is your birth time on that date, or midnight if no time was entered. The result also shows your birth weekday and a birthday message with the remaining calendar days and weekday.
How the formulas work
The calendar calculation first finds the last completed daily anniversary of your birth. If today's clock has not yet reached your birth time, it uses yesterday as the calendar cutoff. It then finds whole calendar years and months, followed by the days remaining after those whole months.
For example, 36 completed years and 436 completed months leave 436 − 12 × 36 = 4 remaining months. The remaining days are counted from that last completed monthly anniversary, without assigning every month a fixed number of days.
Birth and end are day numbers that include the time of day, and a day has 86,400,000 ms. The total is rounded to the nearest millisecond before the smaller units are worked out.
Hours, minutes and seconds divide this millisecond total by 3,600,000, 60,000 and 1,000 respectively, then round down to whole units. Weeks use completed days divided by 7, with the fraction discarded. The week note shows any remaining whole days.
The Years view is cut down to two decimal places and displayed with both places.
The decimal fraction measures progress through the interval between those birthday moments. It does not divide your total days lived by a fixed 365 or 365.25.
Worked example with the default birth date
On November 8, 2026, the default birth date of June 15, 1990, with the birth time left blank, gives the result below. This calendar result stays the same throughout that date because the assumed birth time is midnight.
The first 36 years end on June 15, 2026. Four more calendar months reach October 15, followed by 24 days to November 8. The full interval contains 13,295 days: 36 × 365 + 9 leap days + 146 days since June 15, 2026.
What each result format shows
| Show age in | Result or counting rule |
|---|---|
| Years, months, days | 36 years, 4 months, 24 days; the note gives 13,295 days. |
| Years | 36.40; the note gives the calendar age. |
| Months | 436 whole months; the note adds 24 remaining days. |
| Weeks | 1,899 whole weeks; the note adds 2 remaining days. |
| Days | 13,295 completed days; the note gives the calendar age. |
| Hours | Whole hours from the birth moment. |
| Minutes | Whole minutes from the birth moment. |
| Seconds | Whole seconds from the birth moment. |
| Milliseconds | Elapsed time rounded to the nearest millisecond. |
Tips for choosing your inputs
- 1Check the comparison date. Age on must be on or after the birth date. You can use a past or future date, but choosing today always starts a live calculation.
- 2Leave an unknown birth time blank. A guessed time can change completed-day counts and every smaller-unit total. If the birth date is today, a birth time later than the current moment is rejected.
- 3Choose the unit you need. Use the calendar view for years, months and days. Choose Months or Weeks for completed units with a remainder, or a smaller unit for an elapsed-time count.
Frequently asked questions
Can I calculate my age on a future date?
Yes. Choose a future date in Age on, and the calculator counts to your birth time on that date, or midnight if the birth time is blank. There is no separate endpoint time field.
Is 36.40 years the same as 36 years and 4 months?
No. The .40 is a fraction of the interval between birthday moments, not a month count. In the worked example, 36.40 years corresponds to 36 years, 4 months and 24 days.
Does the birthday greeting wait until my birth time?
No. The greeting is based on the birthday date, so it can say today is your birthday before your birth time arrives. When a birth time is supplied, the live calendar age can still show the previous completed age until that time.
How are leap years and February 29 birthdays handled?
Calendar calculations include leap days instead of treating every year as 365 days. For birthday dates, the calculator shifts the birth date by whole years and adds one day if that shift changes the day of the month. This is a built-in birthday convention, so check the displayed countdown for the year you need.
Why does entering a birth time change my age in days?
A completed day runs from your birth time to the same clock time on the next date. Before that time arrives today, one fewer full day has elapsed than a midnight-based count would show.
Does the millisecond display give an exact measurement?
It gives the calculated local-clock interval rounded to a millisecond, but that does not make the birth time more precise than the time you entered. The live millisecond view requests updates every 47 milliseconds; other views request updates every second.
Sources
- 1Leap Years · U.S. Naval Observatory · Accessed November 2026
- 2NIST Guide to the SI, Chapter 5: Units Outside the SI · National Institute of Standards and Technology · Accessed November 2026
- 3Daylight Saving Time Rules · National Institute of Standards and Technology · Accessed November 2026