Date & Time

How to Calculate Age in Years, Months, and Days

Learn how to calculate exact age in years, months, and days using a date of birth and target date, with a step-by-step example.

Updated July 14, 2026

To calculate age in years, months, and days, compare the complete date of birth with the target date. Count completed years first, completed months after the most recent birthday second, and the remaining days last. This calendar-based method gives a more accurate result than treating every year as 365 days or every month as 30 days.

Related toolAge Calculator

Enter a date of birth and target date to calculate completed years, months, days, total days, and the next birthday.

Open calculator
Visual timelineExact age is calculated in three stages

Count completed years first, move through the completed months, and then count the remaining days.

Exact age timeline in years, months, and days A timeline showing completed years, completed months, and the remaining days.Date of birth15 Jan 200026 yearsLast birthday15 Jan 20265 monthsMonth anchor15 Jun 2026+ 14 days

What Exact Age Means

Exact age is the calendar difference between a date of birth and a selected target date. Instead of showing only completed years, it separates the result into completed years, completed months, and remaining days.

For example, someone may normally say they are 26 years old, while their exact age is 26 years, 5 months, and 14 days. The additional months and days show how much time has passed since the most recent birthday.

The Age Calculator can calculate this breakdown automatically from any valid date of birth and target date.

Why the Calculation Order Matters

Exact age should be calculated in a specific order. Begin with completed years, calculate completed months after the latest birthday, and count the remaining days last.

This method follows real calendar anniversaries. It avoids converting the whole period into days and dividing by fixed values such as 365 or 30.

Calendar years and months are not equal in length. A year can contain 365 or 366 days, while a month can contain 28, 29, 30, or 31 days.

Step 1: Calculate Completed Years

Subtract the birth year from the target year to get an initial year difference. Then compare the birth month and day with the target month and day.

When the birthday has already happened on or before the target date, keep the initial year difference. When it has not happened yet, subtract one year.

Someone born on December 10, 2000 is 25 years old on June 24, 2026. Although the two year numbers are 26 apart, the December birthday has not yet occurred.

Step 2: Calculate Completed Months

After finding the most recent completed birthday, count full calendar months from that birthday to the target date.

For someone born on January 15, each additional completed month is reached on the 15th. One month is completed on February 15, two months on March 15, and so on.

When the target date is June 29, five complete months have passed by June 15. The period after June 15 is counted as days.

Step 3: Calculate Remaining Days

The days part begins after the latest completed month. Count the actual days from the month anchor to the target date.

In the example, five completed months finish on June 15. From June 15 to June 29 there are 14 remaining days.

The full result is therefore 26 years, 5 months, and 14 days.

Worked Example

Suppose the date of birth is January 15, 2000 and the selected target date is June 29, 2026.

From January 15, 2000 to January 15, 2026 there are 26 completed years. From January 15, 2026 to June 15, 2026 there are five completed months. From June 15 to June 29 there are 14 days.

The exact calendar age on June 29, 2026 is 26 years, 5 months, and 14 days.

Completed years26 years
Completed months5 months
Remaining days14 days

Why Fixed-Day Borrowing Can Be Wrong

Some manual methods borrow 30 days whenever the target day is earlier than the birth day. That shortcut can produce an incorrect answer because the previous month may contain 28, 29, 30, or 31 days.

A safer method is to move through valid calendar anniversaries. Count completed years and months using real dates, then calculate the actual days remaining.

This is why calendar-based age calculators are more reliable than methods that assume every month has the same length.

How Month-End Birthdays Are Handled

Birthdays on the 29th, 30th, or 31st need special attention because not every month contains those day numbers.

A calendar calculation may adjust a monthly anniversary to the final valid day of a shorter month. For example, one month after January 31 may be treated as the last day of February.

An organisation may use a different administrative rule, so its instructions should be checked when the calculation is needed for official eligibility.

Leap Years and February 29

A person born on February 29 has that exact birthday date only during leap years.

In a year without February 29, calendar arithmetic may use February 28 as the last valid day of that month. Legal or administrative recognition can differ depending on the organisation or jurisdiction.

The general age calculation remains the same: completed years first, completed months second, and remaining days last.

Exact Age vs Total Days

Exact age and total days describe the same duration in different formats. Exact age uses calendar units, while total days counts every day between the two dates.

A result such as 26 years, 5 months, and 14 days is easier to understand on age-related forms. A total such as 9,662 days may be more useful for duration analysis.

The Age Calculator displays exact age, total days, complete weeks, birth weekday, and time until the next birthday.

Common Mistakes

The first common mistake is subtracting year numbers without checking whether the birthday has happened.

The second is assuming every month contains 30 days. The third is dividing total days by 365 and treating the answer as exact age.

Another mistake is calculating age for today when the question asks for age on a different past or future date.

Conclusion

To calculate age in years, months, and days, count completed years first, completed months second, and remaining days last.

Using real calendar dates gives a more dependable result than treating all years or months as fixed lengths.

Enter the date of birth and target date in the Age Calculator to receive the full result immediately.

Related guides and tools

FAQs

How do I calculate age in years, months, and days?

Count completed years first, completed months after the latest birthday second, and the remaining days last.

Why should I not divide total days by 365?

Years do not all contain the same number of days, so dividing by 365 does not reproduce exact calendar anniversaries.

How are months with different lengths handled?

The calculation uses real calendar dates and adjusts month-end anniversaries to valid dates when necessary.

Can I calculate exact age on a past date?

Yes. Use the past date as the target date, provided it is the same as or later than the date of birth.

Try the calculator

Use the Age Calculator to calculate exact age from a date of birth and any valid target date.

Use Age Calculator