DailyNumeric
Age, Date & Calendar

How to Calculate Your Age in Years, Months, and Days

Learn the calendar method for finding your exact age in years, months, and days, with a worked example, leap-year rules, and common mistakes to avoid.

A calendar page with a highlighted birthday date

Saying “I’m 26” is easy. Working out that you are 26 years, 5 months, and 29 days old takes a little more care, because months have different lengths and leap years add an extra day now and then.

This guide explains the method in plain steps, shows a full example, and lists the mistakes that trip most people up. If you only want the answer, the Age Calculator does all of this in one click.

Quick answer: subtract the birth date from today’s date in three parts. Count the full years first, then the full months left over, then the days left over.

The 3-step method

Start with your date of birth and the date you want to measure your age on (usually today).

  1. Count the full years. Move forward one year at a time from your birth date without going past the target date.
  2. Count the full months. From the date you reached in step 1, move forward one month at a time without going past the target date.
  3. Count the days. Whatever is left between that point and the target date is your number of days.

That is all there is to it. The only tricky part is what to do when the numbers do not line up, which is covered further down.

A worked example

Let’s find the age of someone born on March 15, 2000 as of September 13, 2026.

StepCounting from → toResult
1. YearsMarch 15, 2000 → March 15, 202626 years
2. MonthsMarch 15, 2026 → August 15, 20265 months
3. DaysAugust 15, 2026 → September 13, 202629 days

Why we stop where we do:

  • The next birthday, March 15, 2027, has not happened yet, so the years stop at 26.
  • Moving on to September 15 would go past September 13, so the months stop at 5.
  • From August 15 to September 13 is 16 days left in August (it has 31 days) plus 13 days in September, which makes 29.

Answer: 26 years, 5 months, and 29 days, which is 9,678 days in total. You can double-check that total with the Age in Days Calculator.

What if the day of the month is too small?

Sometimes the target day is smaller than the birth day. For example, you were born on the 28th and today is the 10th. You cannot take 28 away from 10.

The fix is the same as in ordinary subtraction: borrow one month and add its days to the small number. Always use the real length of the month just before the target date.

Example: June 28, 1995 to October 10, 2026

StepCounting from → toResult
YearsJune 28, 1995 → June 28, 202631 years
MonthsJune 28, 2026 → September 28, 20263 months
DaysSeptember 28, 2026 → October 10, 202612 days

September has 30 days, so there are 2 days left in September plus 10 in October, which makes 12. If you had wrongly assumed every month has 31 days, you would get 13 and be off by one.

Age: 31 years, 3 months, and 12 days.

Leap years and February 29 birthdays

A leap year has 366 days instead of 365 because February gets an extra day, February 29. This affects age in two ways.

1. Total days

Leap days make the total number of days a little higher than most people expect. Multiplying your years by 365 will always come out slightly short.

2. Leap-day birthdays

If you were born on February 29, your birthday does not exist in most years. Different systems handle this differently. This site treats March 1 as the day your age goes up in a non-leap year, while some other systems use February 28. If an official form asks for your age, check which rule it follows.

Which years are leap years?

A year is a leap year when it passes this test:

Divisible by 4?      No  → not a leap year
Divisible by 4?      Yes → leap year, unless...
Divisible by 100?    Yes → not a leap year, unless...
Divisible by 400?    Yes → leap year
YearLeap year?Reason
2024YesDivisible by 4 but not by 100
2026NoNot divisible by 4
1900NoDivisible by 100 but not by 400
2000YesDivisible by 400

You can test any year with the Leap Year Calculator.

Common mistakes to avoid

MistakeWhy it goes wrongDo this instead
Treating every month as 30 daysMonths have 28 to 31 days, so results drift by a few days.Use the real month lengths from the calendar.
Ignoring an upcoming birthdaySubtracting only the years makes you look a year older before your birthday arrives.Check whether this year’s birthday has passed yet.
Counting the birth date as day 1Age measures time that has passed, so the birth date is day 0.Do not add 1 to the day count.
Forgetting time zonesNear midnight, the date can differ between two places.Use the local date where the birth or event took place.

Other ways to measure the same age

Once you know your birth date, you can express your age in whatever unit you need:

Key takeaways

  • Age is calendar subtraction: full years, then full months, then days.
  • When a number is too small, borrow the real length of the previous month.
  • Never assume 30 days per month or 365 days per year.
  • February 29 birthdays follow different rules in different places, so check which one applies.
  • For a quick, error-free answer, let the Age Calculator do the arithmetic.
  • #age
  • #birthday
  • #date math
  • #leap year
All blog posts