Skip to main content

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.

Age

Awaiting date of birth

...

Was this helpful?

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

Blake Boege
Written by Blake Boege · Founder, Calculator Answers

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:

  1. 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.
  2. 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.
  3. 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

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

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.

Frequently asked questions

Count the completed calendar years from your date of birth, then the completed months after that, then the days left over. The calculator does this by advancing your birth date by whole months until one more month would pass the target date, then counting the remaining days. Working in that order is what keeps every part positive and matches what people mean by an age.

It clamps to the last day of the target month. One month after 31 January is 28 February in a common year and 29 February in a leap year, because those months have no 31st. So 31 January to 1 March is 1 month and 1 day. Clamping is also what stops the day figure from going negative, which is a common failure in age arithmetic.

This calculator uses the same clamping rule as everywhere else, so a leap day birthday falls on 28 February in a common year and a person born on 29 February 2000 is 26 on 28 February 2026. Everyday practice varies, and some people mark 1 March instead. Legal rules for leap day birthdays differ between jurisdictions, so check the rule that applies to your situation rather than treating this calculator as authoritative for a legal deadline.

Because a single rounded number would be wrong. Rounding 11 days to the nearest week gives 2 weeks, which overstates the age. The calculator shows 1 week plus 4 days instead, so the figure is exact and nothing is quietly rounded up.

Because the calculator only asks for dates. A date has no time of day and no original time zone, so any hour or second figure would be a guess dressed up as precision, out by up to a day either way. Multiplying calendar days by 24 does not fix that, and it is not even the true number of elapsed hours across a daylight saving change. Calendar days are the finest unit the inputs actually support, so that is where the calculator stops.

No. Calendar totals are counted from the dates themselves using day numbers rather than by subtracting two timestamps. Subtracting timestamps is what makes a daylight saving change turn a two day span into one, and this calculator does not do it.

Switch the calculator to Milestone date, enter your date of birth, then the amount and the unit. It gives the calendar date and the day of the week. Years and months follow the calendar and clamp at month ends; weeks and days are plain day counts.

Stay in Age on a date mode and change the second field to the date you want. This is useful for forms that ask for your age at a past event, and for genealogy work.

They are the same measurement shown two ways. Completed calendar months is the total count of whole months, so 1 year and 6 months is 18. The years, months and days breakdown splits that same total into years and a remainder, then adds the days that have not yet formed a whole month.

Yes. Age starts at 0 at birth and increases by 1 on each birthday. Some traditions count differently, including systems that start at 1 at birth or increment at the lunar new year rather than the birthday. This calculator does not attempt those, because getting them right needs a lunar calendar rather than a Gregorian one.

This calculator does not compute it. The traditional Korean counting system starts a person at 1 at birth and adds a year each New Year rather than each birthday, and since 2023 South Korea has standardised official uses on the international system this page implements. If you need the traditional count for a cultural context, it is usually your international age plus one or two depending on whether your birthday has passed.

Yes. The result always includes total calendar days and a whole number of weeks with the days left over. For a date-of-birth to today span, set the target date to today; the counts come from calendar day numbers, so they are exact for dates, with no time-of-day guesswork.

Yes. The target date accepts any future date, so you can answer a form that asks for an age on the first day of school or on the date of a flight. Milestone mode approaches the same question from the other side and returns the date a chosen age is reached.

There is no dedicated half-birthday button, but Milestone mode answers it: enter the date of birth, the number 6, and the unit months. The result is the date the first half birthday falls, and adding 12-month steps gives later ones. Month-end birthdays clamp the same way ages do, so a 31 August half birthday lands on 28 or 29 February.

Enter the date of birth and the result panel includes the day of the week alongside the completed age. It comes from the same civil-calendar arithmetic as the rest of the result, so it is correct for any date the calculator accepts, including dates well before computers existed to check it.