Age Calculator
Enter a date of birth to get a completed age in years, months and days, or switch to milestone mode to find the date you reach a given age.
What to work out
Defaults to today. Change it for a past or future date.
Awaiting date of birth
...
Quick Answer
Enter a date of birth and a target date to get the completed age in years, months and days, plus the total number of calendar days. Milestone mode reverses the question and gives the date a given age is reached.
Source: US Naval Observatory, Astronomical Applications Department · Source verified August 18, 2026
An age calculator works out the completed time between a date of birth and a target date, expressed as calendar years, months and days. It accounts for leap years and for months of different lengths, and clamps month ends so that one month after 31 January is the last day of February. Calendar day totals are counted from the dates themselves rather than from elapsed time, so they do not shift with time zones or daylight saving.
Enter your date of birth to find your completed age in years, months and days on any date you choose. The calculator also gives total calendar days, a whole number of weeks plus the days left over, the day of the week you were born, and a countdown to your next birthday. Milestone mode answers the reverse question: the date you reach a given number of years, months, weeks or days.
Examples
Born January 1, 2000, age on January 1, 2026
26 years, 0 months, 0 days · 9,497 calendar days
Born July 4, 1976, age on January 1, 2026
49 years, 5 months, 28 days · 18,078 calendar days
Born February 29, 2000, age on February 28, 2026
26 years, 0 months, 0 days · leap day clamped to February 28
Born January 31, 2025, age on March 1, 2025
0 years, 1 month, 1 day · 29 calendar days
Milestone: born January 15, 1995, reaching 10,000 days
Thursday, June 2, 2022
How it works
Formula · months = largest n where (birth + n months) is on or before the target; days = target minus (birth + n months)
The calculator counts completed calendar units between your date of birth and a target date. It finds the whole months first, by advancing the birth date one month at a time until one more month would overshoot the target, then counts the days remaining from that point.
Doing it in that order matters. The obvious alternative, subtracting the day numbers and borrowing from the previous month when the result goes negative, breaks whenever the birth day is later in the month than the borrowed month is long. It reports 31 January to 1 March as one month and minus two days. Anchoring to a clamped date cannot produce a negative remainder.
months = largest n where (birth + n months) ≤ target
days = target − (birth + n months)
Calendar day totals come from day numbers, an integer count of days since a fixed reference date, rather than from subtracting two timestamps. That keeps the answer identical in every time zone and across daylight saving changes, when a civil day can be 23 or 25 hours long.
Working from a DOB
DOB is the abbreviation for date of birth, and it is the only thing this calculator needs to start. Enter the DOB and it returns a completed age in years, months and days, along with the totals in weeks and days. Everything else on the page, including the age on a future date, is worked out from that one date of birth.
What this calculator does
It answers two questions. In Age on a date mode it gives a completed age for any target date, past or future, which is what school and medical forms ask for and what genealogy research needs. In Milestone date mode it runs the question backwards and gives the date you reach a given age, so you can find when someone turns 18 or 21, or which day they were 10,000 days old.
Worked example
Date of birth 15 January 1995, target date 24 May 2026.
- Advancing 15 January 1995 by 376 months reaches 15 May 2026, which is on or before the target. One more month would reach 15 June 2026 and overshoot, so 376 whole months have completed.
- 376 months is 31 years and 4 months.
- 15 May 2026 to 24 May 2026 leaves 9 days.
Result: 31 years, 4 months and 9 days.
The same span in other units:
- Completed calendar months: 376
- Calendar days: 11,452
- Weeks: 1,636 with 0 days left over
- Born on a Sunday
- Next birthday 15 January 2027, 236 days after the target
Common age calculation mistakes
- Letting the day component go negative. Borrowing the length of the month before the target fails when the birth day is longer than that month. It is why so many age scripts report a result like “1 month, -2 days”.
- Treating a month as 30 days. Months run from 28 to 31 days. An average only ever gives an approximation.
- Forgetting the century leap rule. A year divisible by 4 is a leap year, except a century year, unless it is divisible by 400. 1900 was not a leap year and 2000 was.
- Counting the birthday year too early. If the birthday has not arrived yet this year, the age is still last year’s.
- Rounding weeks. Eleven days is one week and four days, not two weeks.
- Subtracting timestamps to count calendar days. Across a daylight saving change a civil day is 23 or 25 hours, so dividing an elapsed millisecond count by 24 hours can lose or gain a day.
Working it out by hand
The pencil-and-paper method is column subtraction with borrowing, exactly like subtracting large numbers. Take a date of birth of 20 September 1990 and a target of 5 March 2026:
- Days: 5 is less than 20, so borrow a month. The month before the target is February 2026, which has 28 days, so the day figure is 5 + 28 − 20 = 13 days.
- Months: the borrow used up one month, so compute 3 − 1 − 9. That is negative, so borrow a year: 3 + 12 − 1 − 9 = 5 months.
- Years: the second borrow used up one year, so 2026 − 1990 − 1 = 35 years.
Result: 35 years, 5 months and 13 days, which is exactly what the calculator returns for this pair.
The caveat: naive borrowing misfires when the birth day is a higher number than the borrowed month is long, which is how 31 January to 1 March comes out as one month and minus two days. The calculator sidesteps that entirely by anchoring to a clamped date and counting forward, as described above, so by hand you only need the borrow method on dates where the subtraction stays positive.
Edge cases
- Born on 29 February. In a common year the birthday clamps to 28 February, the same convention the birthday calculator on this site uses, so the two tools always agree. A person born on 29 February 2000 is 26 on 28 February 2026.
- Month-end birth dates. One month after 31 January is the last day of February, so 31 January to 1 March is 1 month and 1 day. Clamping to the end of a shorter month is what keeps the day figure from ever going negative.
- A target before the date of birth. The calculator reports it as an error rather than inventing a negative age. Swap the two dates if you meant a span rather than an age.
- Time zones and day boundaries. The inputs are dates, not moments, so someone born late on the 14th in one time zone may be born on the 15th in another. The calculator works entirely from the dates you enter and never converts between zones, which is also why it shows no hour or second totals: the inputs cannot support them honestly.
Your date of birth stays in the page
Every date you enter is processed by this page in your browser. Dates of birth are not sent to a server, not stored after you close the tab, and not visible to anyone else. There is no account and nothing to sign up for.
Sources
- US Naval Observatory, Astronomical Applications Department for the Gregorian calendar rules this page computes with, including the leap-year rule: divisible by 4, except century years, unless divisible by 400.
Clamping month-end and leap-day birthdays to the last valid day of the month is this site’s own convention, shared with the birthday calculator so the two always agree. No standards body mandates it.
Related calculators
- Birthday calculator for the other half of the question: when your next birthday falls, how long is left, and the birthdays coming after it.
- Chronological age calculator for educators tracking precise student age.
- Date calculator to find the duration between any two dates or add and subtract days.
- Pregnancy due date calculator to estimate an arrival date and gestational age.
- Dog age calculator to see how old your dog is in human years.
Disclaimer. This calculator uses the Western age system, where age starts at 0 at birth and increases on each birthday, and it clamps month ends and leap day birthdays to the last valid day of the month. Other conventions exist, and legal definitions of age can differ by jurisdiction. For an official document, follow the rule that form specifies.
Related Calculators
More tools from Everyday Life



