Skip to main content
Toolsage-calculator10 min read

How to calculate exact age in years, months and days

The borrowing method for exact age, worked step by step, plus month-end and 29 February birthdays, exam 'as on' cut-off dates and why calculators differ.

Published

Cover banner: How to calculate exact age in years, months and days, with the free Age Calculator

To calculate age from a date of birth, subtract the birth date from the later date in three columns (years, months, days), borrowing the previous month's days whenever the day column goes negative. Someone born on 15 August 1998 is 28 years, 2 months and 29 days old on 13 November 2026: 10,317 days in total.

The method is simple, but a few conventions make calculators disagree, usually by a day: month-end birthdays, 29 February birthdays and "as on" cut-off dates. This guide shows the hand method, then each of those cases. The figures were computed with AltFTool's own date code: the age calculator, the age on cutoff date calculator and the AltFCalculators age calculator. The cutoff calculator and the AltFCalculators one both accept any "as on" date, so you can reproduce every example.

The borrowing method, step by step

Write the later date above the birth date, in day, month and year columns, and subtract from right to left in the order days, months, years.

  1. Subtract the days. If the result is negative, borrow one month: add the number of days in the month before the later date's month, and take 1 off the months column.
  2. Subtract the months. If the result is negative, borrow one year: add 12 to the months and take 1 off the years column.
  3. Subtract the years.
  4. Check: add the result back to the birth date and you should land exactly on the later date.
YearsMonthsDays
As on 13 November 202620261113
Born 15 August 19981998815
Days: 13 − 15 is negative, so borrow October's 31 days11 − 1 = 1013 + 31 − 15 = 29
Months: 10 − 82
Years: 2026 − 199828
Exact age28229
All three AltFTool age tools give 28 years, 2 months, 29 days for this pair of dates.

The detail that catches people out is which month you borrow from. Borrow the length of the month just before the later date's month (October, with 31 days, in this example), not the birth month and not a flat 30. Using 30 here would give 28 days and an answer one day short.

Age Calculator

Enter a date of birth to get your exact age today in years, months and days, plus totals in days and weeks and the countdown to your next birthday.

Open Age Calculator

Month-end birthdays: 31 January to 1 March

The borrowing rule breaks for birthdays on the 29th, 30th or 31st. Take someone born on 31 January who wants their age on 1 March of a non-leap year. Borrowing February's 28 days gives 1 + 28 − 31 = −2 days, which is nonsense.

The fix is to count whole months forward from the birth date, then count the days left over. The only question is what to do when a month has no matching day (February has no 31st). There are two common conventions, and they differ only around the month end:

  • Roll forward to the 1st. The month is complete on the 1st of the following month. 31 January plus one month is 1 March, so on 28 February the person is 0 months 28 days and on 1 March exactly 1 month 0 days. AltFTool's age calculator, age on cutoff date calculator, age difference calculator and age in days calculator all use this convention.
  • Roll back to the last day. The month is complete on the last day of the shorter month. 31 January plus one month is 28 February, so on 28 February the person is 1 month 0 days and on 1 March 1 month 1 day. The AltFCalculators age calculator uses this convention.
BornAs onRoll forward to the 1stRoll back to the last dayTotal days
31 Jan 202528 Feb 20250 months, 28 days1 month, 0 days28
31 Jan 20251 Mar 20251 month, 0 days1 month, 1 day29
31 Mar 200030 Apr 202626 years, 0 months, 30 days26 years, 1 month, 0 days9,526
31 Mar 20001 May 202626 years, 1 month, 0 days26 years, 1 month, 1 day9,527
Roll-forward column: AltFTool's shared age code. Roll-back column: the AltFCalculators age calculator. Total days are the same under both.

Neither convention is wrong; they describe the same number of days lived in a slightly different way. Both give exactly the same answer for any birthday from the 1st to the 28th. If a form or contract specifies a method, follow it.

29 February birthdays and leap years

The Gregorian calendar adds 29 February in every year divisible by 4, except century years, which are leap years only if divisible by 400. So 2000 and 2024 were leap years, while 1900 was not and 2100 will not be.

Someone born on 29 February 2004 has a true birthday only in leap years. In other years, the same two conventions decide when they turn a year older: rolling forward puts the anniversary on 1 March, rolling back puts it on 28 February.

Born 29 Feb 2004, as onRoll forward (anniversary 1 March)Roll back (anniversary 28 February)
28 Feb 202520 years, 11 months, 30 days21 years, 0 months, 0 days
1 Mar 202521 years, 0 months, 0 days21 years, 0 months, 1 day
29 Feb 202824 years, 0 months, 0 days24 years, 0 months, 0 days
Roll-forward column: AltFTool's shared age code (also used by the age on cutoff date calculator). Roll-back column: the AltFCalculators age calculator.

Neither is wrong as arithmetic; they are different conventions. Where it matters legally (driving licences, voting, benefits), the rule is set by that country's law or the authority's own rules, not by a calculator, so check with them directly.

Age "as on" a cut-off date

Exam and recruitment notifications rarely ask your age today. They ask your age "as on" a specific date, such as 1 August of the exam year, and set a minimum or maximum. The age on cutoff date calculator reads the two usual phrases like this:

  • "Must have attained X years": your Xth birthday falls on or before the cut-off date.
  • "Must not have attained Y years": your Yth birthday falls after the cut-off date. If your Yth birthday is the cut-off date itself, you have attained Y on that date and are over the limit.
Date of birthAge as on 1 Aug 2026Has attained 26?Meets a 'not attained 26' limit?
2 Aug 200025 years, 11 months, 30 daysNoYes, by 1 day
1 Aug 200026 years, 0 months, 0 daysYesNo
Computed with the age on cutoff date calculator.

One day of difference in birth date flips eligibility. Always use the notification's own cut-off date and wording; where it spells out a range of permitted birth dates, that range is what counts.

Totals in days and weeks, and why calculators differ

Total days lived is a straight count of calendar days between the two dates, leap days included. For the 15 August 1998 example on 13 November 2026, that is 10,317 days, or 1,473 complete weeks. The age in days calculator gives the same kind of totals, and the age difference calculator applies the same method to the gap between two people.

When two tools disagree, it is almost always one of these:

CauseTypical size of the differenceWhat to do
Counting the end date as well (inclusive counting)1 day in totalsAge is normally counted exclusively: a baby is 0 days old on the day of birth
Month-end convention (31 Jan → 1 Mar)How the days are split between the months and days columnsFollow the convention your form specifies
29 February anniversary on 28 Feb vs 1 Mar1 day, in non-leap years onlyCheck the relevant authority's rule
Time of birth or time zoneUp to 1 dayCompare calendar dates, not timestamps
Months worked out from total days (÷ 30 or ÷ 30.44)Several daysUse calendar months for exact age

Frequently asked questions

The month just before the later date's month. For an age on 13 November, borrow October's 31 days. Using a flat 30 or the birth month's length can put the answer out by a day.

No. Age is counted exclusively, so on your date of birth you are 0 days old. Tools that count both the start and end dates report one day more.

Yes. A straight count of calendar days includes every 29 February. From 15 August 1998 to 15 August 2026 is 10,227 days, which is 7 more than 28 × 365 because seven leap days fall in between.

It depends on the convention. AltFTool's age tools roll forward to 1 March, so a person born on 29 Feb 2004 turns 21 on 1 March 2025; tools that roll back use 28 February. Where it matters legally, the relevant law or authority decides.

It means your age calculated on that fixed date, not today. If the rule says you must not have attained 26, your 26th birthday must fall after 1 August. Someone born on 1 August 2000 attains 26 on the cut-off date itself and is over the limit.

Because those dates have no exact match in some months or years, so each calculator picks a convention: roll forward to the 1st of the next month, or roll back to the last day of the shorter month. For a 31 January birthday on 1 March that is 1 month 0 days or 1 month 1 day. The total number of days lived is the same either way.

Sources and notes

Links the author listed for this post.

  1. 1
    Leap Years (opens in a new tab)

    U.S. Naval Observatory, Astronomical Applications Department

Reader feedback

Was this guide helpful?

Your signal helps the editorial team improve stale or unclear guides faster.

Found this useful? Pass it on.

Share this article

Written by

All ages, day totals and eligibility checks were computed on 13 November 2026 with AltFTool's shared age code (the roll-forward convention its age tools use) and the AltFCalculators age calculator, as named in each table.

Your inbox, your topics

What do you want more of?

Pick the topics you'd like in your inbox. We've ticked one that matches this guide — change them freely.

Topics you want more of

Up to 200 characters.

Privacy policy

Discussion

0 comments

Loading discussion