For an instant answer, enter a birth date in the age calculator. It gives years, months and days, the total days lived, and the date of the next birthday. Below is how the same result is worked out by hand, and the cases where it becomes ambiguous.

Count whole years, then whole months, then days

Age in years is not “this year minus birth year”. That is off by one until your birthday has passed. The reliable method is to move your birth date forward in steps and see how far you can go without passing today.

Worked example: born 15 June 1990, measured on 29 October 2026

  1. Whole years: 15 June 1990 + 36 years = 15 June 202636 years
  2. Whole months: 15 June 2026 + 4 months = 15 October 20264 months
  3. Days: 15 October to 29 October 202614 days
  4. Your exact age36 y 4 m 14 d

The same person has lived 13,285 days in total, which is the number to use if you want days or weeks rather than years and months.

The month trap: months are not all the same length

Years are easy because a birthday returns on the same date. Months are harder because 31 January plus one month has no 31 February to land on. A standard approach, and the one the calculator uses, is to move to the last day of the shorter month.

Someone born on 31 January 1990 comes out like this:

Measured on Age
28 February 2026 36 years, 1 month, 0 days
1 March 2026 36 years, 1 month, 1 day
31 March 2026 36 years, 2 months, 0 days

On 28 February the “one month” step lands on 28 February, so the day count is 0. The day after, it is 1 day. Other tools may choose differently, so two calculators can disagree by a few days when the birth date is the 29th, 30th or 31st. Neither is a bug: they follow different conventions for the short month.

Check the convention for official uses

For anything official, such as an age limit on a form, a pension or a school cut-off, use the rule that the form or the law states. This guide is general information.

Leap day birthdays

A person born on 29 February has a real birthday only in leap years. In other years the age rolls over on 28 February or on 1 March, depending on the country and the purpose. Legal conventions differ, so check the rule that applies to you.

The calculator treats 28 February as the birthday in non-leap years. Born 29 February 2000, on 28 February 2026 the age is 26 years, 0 months, 0 days, and on 1 March 2026 it is 26 years, 0 months, 1 day.

Excel and Google Sheets formulas

With the birth date in A1 and the date to measure on in B1, the DATEDIF function returns each part:

What you want Formula
Whole years =DATEDIF(A1,B1,"y")
Months after the whole years =DATEDIF(A1,B1,"ym")
Days after the whole months =DATEDIF(A1,B1,"md")
Total days lived =B1-A1
Age as of today =DATEDIF(A1,TODAY(),"y")

Microsoft documents that the "md" unit can return an inaccurate result in some cases, so for the days part of an exact age, a cross-check by hand or with the calculator is wise. DATEDIF also returns an error if the start date is after the end date.

Time of birth and time zones are ignored

The calculator counts whole calendar days, so it does not use the time of birth or the time zone. Hours lived are shown as days lived multiplied by 24, which is an approximation. If you were born in one time zone and live in another, the date can differ by a day for a few hours around midnight.

To see the same person’s age for a given year across all birth months, look at the pages such as age for people born in 1990.