# 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.

- Author: AltFTool Editorial
- Published: 2026-12-04
- Category: Tools
- Tags: dates, leap years, exams
- Canonical URL: <https://www.altftool.com/blogs/how-to-calculate-exact-age-years-months-days>

---

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](https://www.altftool.com/tools/all/age-calculator), the [age on cutoff date calculator](https://www.altftool.com/tools/all/age-on-exam-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.

|  | Years | Months | Days |
| --- | --- | --- | --- |
| As on 13 November 2026 | 2026 | 11 | 13 |
| Born 15 August 1998 | 1998 | 8 | 15 |
| Days: 13 − 15 is negative, so borrow October's 31 days |  | 11 − 1 = 10 | 13 + 31 − 15 = 29 |
| Months: 10 − 8 |  | 2 |  |
| Years: 2026 − 1998 | 28 |  |  |
| Exact age | 28 | 2 | 29 |

*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](https://www.altftool.com/tools/all/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.

| Born | As on | Roll forward to the 1st | Roll back to the last day | Total days |
| --- | --- | --- | --- | --- |
| 31 Jan 2025 | 28 Feb 2025 | 0 months, 28 days | 1 month, 0 days | 28 |
| 31 Jan 2025 | 1 Mar 2025 | 1 month, 0 days | 1 month, 1 day | 29 |
| 31 Mar 2000 | 30 Apr 2026 | 26 years, 0 months, 30 days | 26 years, 1 month, 0 days | 9,526 |
| 31 Mar 2000 | 1 May 2026 | 26 years, 1 month, 0 days | 26 years, 1 month, 1 day | 9,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 on | Roll forward (anniversary 1 March) | Roll back (anniversary 28 February) |
| --- | --- | --- |
| 28 Feb 2025 | 20 years, 11 months, 30 days | 21 years, 0 months, 0 days |
| 1 Mar 2025 | 21 years, 0 months, 0 days | 21 years, 0 months, 1 day |
| 29 Feb 2028 | 24 years, 0 months, 0 days | 24 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 birth | Age as on 1 Aug 2026 | Has attained 26? | Meets a 'not attained 26' limit? |
| --- | --- | --- | --- |
| 2 Aug 2000 | 25 years, 11 months, 30 days | No | Yes, by 1 day |
| 1 Aug 2000 | 26 years, 0 months, 0 days | Yes | No |

*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](https://www.altftool.com/tools/all/age-in-days-calculator) gives the same kind of totals, and the [age difference calculator](https://www.altftool.com/tools/all/age-difference-calculator) applies the same method to the gap between two people.

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

| Cause | Typical size of the difference | What to do |
| --- | --- | --- |
| Counting the end date as well (inclusive counting) | 1 day in totals | Age 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 columns | Follow the convention your form specifies |
| 29 February anniversary on 28 Feb vs 1 Mar | 1 day, in non-leap years only | Check the relevant authority's rule |
| Time of birth or time zone | Up to 1 day | Compare calendar dates, not timestamps |
| Months worked out from total days (÷ 30 or ÷ 30.44) | Several days | Use calendar months for exact age |

## Frequently asked questions

### Which month do I borrow days from?

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.

### Do I count the day I was born when working out age in days?

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.

### Does age in days include leap days?

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.

### When does someone born on 29 February turn a year older in a non-leap year?

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.

### What does 'age as on 1 August' mean in an exam notification?

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.

### Why do calculators disagree for 31 January or 29 February birthdays?

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

1. [Leap Years](https://aa.usno.navy.mil/faq/leap_years) — U.S. Naval Observatory, Astronomical Applications Department
