Age & Dates

How to Calculate Age from Date of Birth

Count completed calendar years and months, then the remaining days. Understand why days divided by 365 is not calendar age.

Your age in years is the number of birthdays you have completed. An age written as years, months and days is more detailed: it describes the calendar interval from your birth date to a comparison date. It is useful for checking a personal timeline or understanding a form that asks for more than a whole number of years.

The Age Calculator compares your date of birth with today on your device. The fixed dates below make the method reproducible; they are teaching examples, not an extra comparison-date input in the tool.

Start with completed years, then months and days

  1. Write both dates with the month spelled out, so 6 July cannot be confused with 7 June.
  2. Subtract the birth year from the comparison year. For an ordinary birthday, subtract one more year if that birthday has not yet occurred in the comparison year.
  3. Count the completed calendar months after the last birthday. Do not assume every month has 30 days.
  4. Count the remaining days after the last completed month. Read the month-end convention below before using dates such as the 29th, 30th or 31st.

Completed years = comparison year − birth year − 1 if this year's birthday is still ahead.

For the full result, OnlineCalMaster counts completed months anchored to the birth date, splits them into years and months, and then counts the remaining days. Anchoring matters: a short February does not permanently move a January 31 birth date to the 28th of every later month.

Two examples around the same birthday

Birth date: 15 June 2000
Comparison dateCalendar ageReason
10 June 202524 years, 11 months, 26 daysThe 25th birthday is still five days away.
20 August 202525 years, 2 months, 5 daysThe 25th birthday was on 15 June; two full months end on 15 August.

For the first row, the last completed month ends on 15 May 2025. From 15 May to 10 June there are 26 days. For the second, the path is 15 June 2000 → 15 June 2025 → 15 August 2025 → 20 August 2025.

Month ends and leap birthdays need a convention

When the birth day does not exist in the target month, the calculator uses that month's last day. From 31 January 2025 to 28 February 2025, this convention produces 0 years, 1 month, 0 days. The elapsed-day difference is 28 days. Both descriptions can be correct because a calendar month is not a fixed number of days.

For a 29 February birthday, the calculator uses 28 February in non-leap years. This describes the software's convention, not a legal ruling about eligibility, contracts or official birthday recognition. Follow the responsible organization's rules when a legal age threshold matters.

Why not divide days by 365?

Leap years have an extra day, and months have unequal lengths. Dividing elapsed days by 365 gives a duration expressed in approximate 365-day years; it does not reconstruct completed calendar years, months and days. Use the Date Difference Calculator if the number of days itself is what you need.

The related guide to elapsed days and inclusive counting explains why adding both endpoints changes a date count. Do not add an extra day to ordinary age just because both dates appear on a calendar.

Check the inputs before relying on the result

For a birthday countdown rather than age, use the Countdown Calculator. It calculates when requested; it is not a continuously updating clock.

Found an error? Contact OnlineCalMaster with the article URL, inputs and expected result. Avoid sending sensitive personal information.