What is an age in years, months and days calculator?
An age in years, months and days calculator takes two dates — a birth date and a target date — and breaks the span between them into three familiar units: completed years, the leftover months, and the leftover days. Instead of a single rounded number, you get the full, human-readable picture, such as “29 years, 8 months and 28 days.”
This breakdown is the way people naturally describe a child’s age in the first years of life, the way milestones and anniversaries are counted, and the way many official forms expect an age to be entered. It keeps the everyday meaning of “how old are you” while preserving the part of the year that a whole-year count throws away.
When you need a years, months and days breakdown
Babies, toddlers and milestones
For young children a single number rarely says enough. “1 year and 4 months” carries real meaning that “1 year” or “1.3 years” does not. Parents, paediatricians and childcare providers track growth, vaccinations and developmental stages against an age expressed in months and days.
Anniversaries and exact spans
Counting how long ago an event happened — a wedding, a work start date, a sobriety date — is most satisfying when you see the years, months and days at once. The breakdown also makes “in three months and ten days it will be exactly ten years” the kind of statement you can read straight off the result.
How does the calculator work?
You provide a date of birth and a calculate age on date (which defaults to today). The calculator measures the calendar span between them and reports it as years, months and days.
It works from the larger unit down. First it counts the whole years that have elapsed, then the whole months that remain, then the leftover days. Because months and years have different lengths, the calculator borrows from the next-larger unit whenever a subtraction would go negative — exactly the way you would when working it out by hand. This calendar-aware approach keeps the result correct across month boundaries and leap years.
If either date is missing, the calculator shows no result. If the target date falls before the birth date, the calculator uses the absolute span, so the order of the two dates never produces a negative answer.
Formula
Let the earlier date be and the later date be .
The years are the whole calendar years between them:
The months are the whole calendar months remaining after adding years to the earlier date:
The days are what remain after adding years and months:
When a step would be negative, one unit is borrowed from the level above (a month becomes the appropriate number of days, a year becomes twelve months) before the next step is computed.
Examples
-
Example 1 — a round 30 years.
- Date of birth: January 1, 1990
- Target date: January 1, 2020
- Result: 30 years, 0 months and 0 days
-
Example 2 — a partial year.
- Date of birth: June 15, 1990
- Target date: March 15, 2020
- Result: 29 years, 8 months and 28 days, because the 30th birthday (June 15, 2020) has not yet arrived
-
Example 3 — years, months and days together.
- Date of birth: January 15, 2000
- Target date: April 20, 2023
- Result: 23 years, 3 months and 5 days
Notes
- The breakdown is calendar-aware: a “month” is a real calendar month, not a fixed 30 days, so adding the result back to the birth date lands exactly on the target date.
- Leftover days are reported relative to the day-of-month of the birth date, which is why a span can read as “8 months and 28 days” rather than rounding to “9 months.”
- The calculator works with calendar dates and is independent of time zones.
FAQs
How is this different from an age in years calculator?
An age in years calculator gives a single number — whole or decimal years. This calculator keeps the leftover months and days, so you see the complete breakdown.
Why does a month not always mean 30 days?
Calendar months have different lengths (28 to 31 days). The calculator counts whole calendar months, then the remaining days, so the result matches what you would get by counting on a calendar.
What happens if the target date is before the birth date?
The calculator uses the absolute span between the two dates, so it returns the same positive years, months and days regardless of which date is earlier.
Does this calculator account for leap years?
Yes. Because it advances by real calendar years and months, February 29 and the varying month lengths are handled automatically.
Can I calculate a future age?
Yes. Set the “calculate age on” field to a future date to find out how old someone will be, in years, months and days, on that day.