Calculivo

Age Calculator

Find your exact age in years, months and days from any date.

Result —

About this calculator

An age calculator gives you the exact distance between two dates — usually a birthday and today. It’s useful for filling in forms that need a precise age, for retirement and pension planning, or simply for fun calculations like how many days old someone is.

How it works

The calculator counts whole years between the two dates, then whole months in the partial year, then the remaining days. Leap years and varying month lengths are handled correctly so the result matches what a human would write on a passport or visa form.

It also returns the total in months and the total in days, which is useful for younger children where age is more naturally expressed in months, and for any context where you need a single integer for comparison.

If the target date is before the start date the calculator reports an error rather than producing a negative age. This avoids accidental nonsense answers when fields are filled in the wrong order.

Time zones aren’t considered. Age is a civil concept tied to the calendar in your locale — the calculator uses the date as you entered it and never converts.

Formula

years  = to.year  − from.year   (− 1 if month/day rolled back)
months = to.month − from.month  (+ 12 if rolled back)
days   = to.day   − from.day    (+ days-in-previous-month if rolled back)

Examples

Born 2000-01-01, today 2026-05-22

Someone born on the first day of the century is 26 years, 4 months and 21 days old as of 22 May 2026.

Result: 26 years, 4 months, 21 days — 9,638 total days

Across a leap-year boundary

Because 2026 has no 29 February, the calculator recognises that 28 February 2026 is one day shy of a full second year.

Result: 1 year, 11 months, 30 days

Frequently asked questions

Why does the result use my time zone? +
Age is a civil concept rooted in the calendar where you live. The calculator uses the date you enter as a literal calendar date and doesn’t convert time zones.
Does it handle leap years? +
Yes. The year-month-day arithmetic correctly accounts for leap days and varying month lengths.
Can I use it for pets or projects? +
Absolutely — any pair of dates works. Use it for project elapsed time, pet age, anniversaries or vintage ages.
What if my birth date is after the target date? +
The calculator returns an error rather than a negative result. Swap the inputs and try again.
Is there a maximum range? +
Practically no. The Date object supports dates from around 271,000 BC to 271,000 AD.

Related calculators