Article

How to Calculate Age From Date of Birth: Years, Months and Days

Calendar age is calculated the way you subtract a date on paper: the birth year, month and day are taken from the current year, month and day. This article explains the rule, how short months and February 29 birthdays behave, and works through four examples. Check your own date in the age calculator. Someone born on January 1, 2000 is 26 years, 7 months and 16 days old on August 17, 2026.

Last updated:

To count days between any two dates, use the date difference calculator, and for days until an event the countdown to a date.

How age is calculated from a date of birth

Calendar age is the difference between the day you want the age for and the date of birth, written in years, months and days. It is not found by dividing the number of days by 365, because years differ in length.

years, months, days = target day − date of birth
Jan 1, 2000 → Aug 17, 2026: 26 years, 7 months and 16 days

The calculator subtracts the birth year, month and day from the matching values of the target day. If the birthday has not yet come in the current month, the missing days are borrowed from the previous month. When the birth month has not yet come in that year, the year does not count as complete.

Date of birthTarget dayAgeTotal days
2000-01-012026-08-1726 years, 7 months and 16 days9,725
2023-01-312023-03-010 years, 0 months and 29 days29
2020-02-292026-02-285 years, 11 months and 30 days2,191
1990-05-152026-12-0536 years, 6 months and 20 days13,353
Age as the span between the date of birth and the calculation dateA span from the date of birth 9/30/1984 to the calculation date 12/5/2026. The span is 42 years, 2 months and 5 days, which is 15,406 calendar days.date of birth9/30/1984calculation date12/5/202642 years42 years, 2 months, 5 days
From 9/30/1984 to 12/5/2026 is 42 years, 2 months and 5 days, or 15,406 days. Years, months and days are counted separately, not by dividing days by 365.

Try it with an example

Example: a date of birth of 9/30/1984 and a calculation date of 12/5/2026. Both dates are already stored in the link to the calculator.

Date of birth
9/30/1984
Age on date
12/5/2026
Age
42 years, 2 months and 5 days (15,406 days)

Open the calculator with these numbers

The calculator reads the values from the page address and shows the result right away. You can change them freely.

How the calculator works

The calculator subtracts the birth year, month and day from the matching values of the calculation date and borrows missing days from the previous month. For someone born on February 29 it uses March 1 as the anniversary in common years. Besides age in years, months and days, it shows the total number of calendar days, the weekday of birth and the date of the next birthday. The time of birth does not matter, and when the age-on-date field is empty the calculator uses the date on your device.

Short months and leap years

When the target month has too few days, the calculator borrows them from an earlier month. From January 31, 2023 to March 1, 2023 the age is 0 years, 0 months and 29 days, because February 2023 has 28 days. It is not one month.

A person born on February 29 has a birthday on that date in leap years, and in other years the calculator uses March 1 as the anniversary. On February 28, 2026 a person born on February 29, 2020 is 5 years, 11 months and 30 days old, and the next birthday falls in 1 day, on March 1, and will be the sixth.

The time of birth and the switch between daylight saving and standard time do not affect the result. Only the calendar date counts.

Total days, weeks and the weekday of birth

Beside the age in years, the calculator gives the total number of calendar days since birth. For January 1, 2000 and August 17, 2026 that is 9,725 days, or 1,389 full weeks and 2 days. Under the result you also see the weekday of birth, which for that date is Saturday, and the date of the next birthday.

For a person born on May 15, 1990 the age on December 5, 2026 is 36 years, 6 months and 20 days. The next birthday falls on May 15, 2027, in 161 days, and will be the 37th.

The "age on date" field and the device date

When the "age on date" field is empty, the calculator uses the date on your device. Entering another date lets you check an age in the past or in the future, for example on the first day of school or at retirement. If the date of birth is later than the target day, the calculator does not show a negative age and asks for a correction.

The calculator works from the date of birth as written on an ID: day, month and year. The metric/US switch in the page header is irrelevant here, because years are not units of length.

What else to calculate from a date of birth

A date after adding years and months is in the add years and months calculator, and after adding days only in the add days to a date calculator. The week number calculator gives the week of the year for a chosen date, and the business days calculator counts workdays in a range. Hours within a day are covered by How to Calculate Hours Worked.

The due date calculator estimates a delivery date from the last period. Separate tools describe biological age in the biological age calculator and metabolic age in the metabolic age calculator, which are not calendar age.

Four worked examples

You can repeat each example in the age calculator.

1. Born January 1, 2000, target day August 17, 2026

The basic example.

  1. Choose the date of birth January 1, 2000 and enter August 17, 2026 in the "age on date" field.
  2. Subtract years, months and days: 2026 − 2000, 8 − 1 and 17 − 1.
  3. After the months are completed the age is 26 years, 7 months and 16 days.
  4. The total is 9,725 days.

2. From January 31, 2023 to March 1, 2023

February has only 28 days.

  1. Enter the date of birth January 31, 2023 and the target day March 1, 2023.
  2. The days come out negative, so the calculator borrows days from February, which has 28.
  3. The age is 0 years, 0 months and 29 days.
  4. The total is 29 days.

3. Born February 29, 2020, target day February 28, 2026

The year 2026 has no February 29.

  1. Enter the date of birth February 29, 2020 and the target day February 28, 2026.
  2. The calculator subtracts the dates and borrows missing days from the previous month.
  3. The age is 5 years, 11 months and 30 days.
  4. The anniversary in 2026 falls on March 1, one day later, and will be the sixth birthday.

4. Born May 15, 1990, target day December 5, 2026

Age, weekday and next birthday.

  1. Enter the date of birth May 15, 1990 and the target day December 5, 2026.
  2. The age is 36 years, 6 months and 20 days.
  3. The weekday of birth is Tuesday.
  4. The next birthday is May 15, 2027, in 161 days.

Common mistakes when calculating age

  • Dividing the number of days by 365 — leap years and unequal months make that result only an approximation.
  • Subtracting only the years — the difference of years ignores whether this year's birthday has passed.
  • Leaving out months and days — calendar age is given as years, months and days.
  • Mistakes with February 29 birthdays — in ordinary years the anniversary falls on March 1.
  • Assuming every month has 30 days — the length of the month changes the number of borrowed days.
  • Entering the date in the wrong order — the field format is year-month-day.
  • Using biological age instead of calendar age — they are different quantities from different calculators.

Frequently asked questions

How do you calculate age from a date of birth?

Subtract the birth year, month and day from the year, month and day you want the age for. For January 1, 2000 and August 17, 2026 the result is 26 years, 7 months and 16 days.

How old am I if I was born on May 15, 1990?

On December 5, 2026 you are 36 years, 6 months and 20 days old. Your next birthday is on May 15, 2027.

Is age just the current year minus the birth year?

Only when the birthday has already passed this year. Otherwise, the year is not complete yet and the age is one lower.

How do I calculate age in days?

Count the calendar days between the date of birth and the target day. For January 1, 2000 and August 17, 2026 that is 9,725 days.

When is the birthday of someone born on February 29?

On February 29 in leap years. In other years the calculator uses March 1 as the anniversary, so the age increases on that day.

How old am I if I was born in 1990?

It depends on the month and day. On December 5, 2026, someone born on January 1, 1990 is 36 years, 11 months and 4 days old, while someone born on December 31, 1990 is 35 years, 11 months and 4 days old. Enter the full date in the calculator for the exact age.

How do I calculate age on a future date?

Enter a future date in the "age on date" field. The calculator subtracts the date of birth from it and gives years, months and days.

What is the difference between calendar age and biological age?

Calendar age comes only from dates. Biological age is a separate estimate of the condition of the body, calculated by a different tool.

Check your exact age

Choose your date of birth in the age calculator and click Calculate. The result shows years, months and days, the total days, the weekday of birth and the next birthday.

To compare two dates use the date difference calculator, and for planning the countdown to a date.