Workbench

Blog / Calculate your exact age

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

Published October 16, 20263 min readBy the Workbench team
Aug 200515Oct 20261621 years2 months, 1 dayDate of birthAge as on

Most of the time, "I am 26" is all anyone needs. Then you meet a form that wants your age on a particular date, an exam that sets a cut-off, or an application that asks for years, months and days. Suddenly it matters whether you are 17 years and 11 months or 18 years and 1 day.

The calculation is simple, but it has one step that trips people up. Here it is, with examples.

The basic method

Write the later date (the one you want the age on) above the date of birth. Subtract the years, then the months, then the days.

Example 1: nothing to borrow

Date of birth: 15 August 2005. Age on 16 October 2026.

YearMonthDay
Age on20261016
Date of birth2005815
Difference2121

Every number came out positive, so the answer is 21 years, 2 months and 1 day. A quick check: 15 August 2026 is the 21st birthday, 15 October is two months later, and 16 October is one more day.

Example 2: when a number goes negative

Date of birth: 28 November 2000. Age on 10 March 2026.

YearMonthDay
Age on2026310
Date of birth20001128
Difference26−8−18

Two of the numbers are negative, so you borrow, starting from the days.

  1. Days are negative (−18). Borrow one month and add the number of days in the month before the "age on" month. That month is February 2026, which has 28 days. So −18 + 28 = 10 days, and the months drop by one, from −8 to −9.
  2. Months are negative (−9). Borrow one year, which is 12 months. So −9 + 12 = 3 months, and the years drop by one, from 26 to 25.

The answer is 25 years, 3 months and 10 days. Borrowing days is the step where people make mistakes, because the number to add depends on the month. A month with 28, 30 or 31 days gives a different result, and that is why two people can end up a day apart.

Do not divide days by 365

It is tempting to count the total days and divide by 365. It does not work, because years are not all the same length. Leap years add an extra day, so over a few decades the answer drifts. Use the calendar dates instead.

Age on a cut-off date

This is where an exact age is most useful. Suppose an application says you must be at least 18 on 1 January 2027. You would work out your age as on 1 January 2027, not today. If the result is 18 years or more, you meet the rule. If it says 17 years and 11 months, you do not, however close it feels.

Born on 29 February? Rules differ. Some institutions treat your birthday as 28 February in ordinary years and some as 1 March. If it affects an application, check the rule of the institution you are applying to.

Let the calculator do it

Open the Age calculator and pick your date of birth. It shows your age in years, months and days, the total number of days you have lived and how many days are left until your next birthday. By default it uses today's date. Change the "Age as on" date to check any other day, past or future, which is exactly what you need for a cut-off.

The result for the second example above is what the calculator gives too, so you can use it to check your own working. Your date of birth is not saved or sent anywhere; the calculation happens in your browser.

Try the Age calculator

Free, private, and no sign-up needed.

Open the tool