Home · Date & Time · Ages & Birthdays · Age in Years Calculator

Age in Years Calculator

Give an age in whole years from a date of birth, with the extra months and days past the last birthday and the total days lived shown alongside.

Your figures

Example result — edit the figures to make it yours

36 years

Age in whole years

Plus5 months, 10 days
Total days13,312

What this calculator does

Give an age in whole years from a date of birth, with the extra months and days past the last birthday and the total days lived shown alongside. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Age in years = whole calendar years from the birth date to the as-of date; a Feb 29 birthday counts on Feb 28 in common years.

Dates use the proleptic Gregorian calendar; a year is a leap year when divisible by 4, except centuries not divisible by 400.

Whole calendar units count complete years, then complete months with the day clamped to the month's length, then leftover days.

Day-based totals are the plain difference between the two dates, with no time-of-day component.

Worked example

With the example inputs this page opens with, the result is 36 years — age in whole years.

Quick reference

Quick reference — the worked example in full
FigureValue
Age in whole years36 years
Plus5 months, 10 days
Total days13,312

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

When does the year count go up?

On the birthday itself: the whole-years figure increments on the anniversary of the birth date each year, not on January 1.

What if someone was born on February 29?

In common years their birthday is counted on February 28, so they still gain a year every year.

How does the Age in Years Calculator work?

Give an age in whole years from a date of birth, with the extra months and days past the last birthday and the total days lived shown alongside. Date of birth · As of date → Age in whole years. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Age in Years Calculator need?

Date of birth · As of date → Age in whole years. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.