How to Calculate Your Exact Age in Years, Months and Days
- Why simple year subtraction is wrong
- Calculating age in years, months and days
- The step-by-step method
- Why months make this awkward
- A worked example
- Leap years and 29 February birthdays
- Calculating age as of a past or future date
- Eligibility cutoffs
- Retirement dates
- Completed years vs decimal years
- Frequently asked questions
- Why does my age in days not match years × 365?
- Does the time of birth matter?
- Can I calculate the gap between any two dates, not just a birth date?
On this page
- Why simple year subtraction is wrong
- Calculating age in years, months and days
- The step-by-step method
- Why months make this awkward
- A worked example
- Leap years and 29 February birthdays
- Calculating age as of a past or future date
- Eligibility cutoffs
- Retirement dates
- Completed years vs decimal years
- Frequently asked questions
- Why does my age in days not match years × 365?
- Does the time of birth matter?
- Can I calculate the gap between any two dates, not just a birth date?
Most people work out an age by subtracting the birth year from the current year. That gives the right answer only after the birthday has already come round this year. Before then, it overstates the age by a full year. For casual conversation this hardly matters. On an application form with an age limit, a pension date or an exam cutoff, it can decide whether you qualify.
This guide covers the correct method, how to handle the uneven lengths of months and the 29 February problem, how to calculate age as of a date other than today, and the difference between age in completed years and age as a decimal.
Why simple year subtraction is wrong
Year subtraction treats every person born in a given year as the same age on any given day. They aren't. Someone born in January 1998 and someone born in December 1998 are nearly a year apart, but subtracting 1998 from 2026 gives both of them 28.
The fix is one extra check. Subtract the years, then ask whether this year's birthday has happened yet. If it hasn't, take one off. Take someone born on 20 November 1998. On 28 September 2026, year subtraction says 28, but their 2026 birthday is still two months away. They are 27, and they stay 27 until 20 November.
Watch out
Year subtraction overstates age for everyone whose birthday falls later in the year than the date you're checking. If you're filling in an age field on an official form, always check whether the birthday has passed. Don't trust the quick subtraction.
Calculating age in years, months and days
A full age breakdown, such as "28 years, 1 month and 13 days", works like column subtraction with borrowing. Subtract the birth date from the target date field by field, starting with days.
The step-by-step method
- Subtract the birth day from the target day. If the result is negative, borrow one month: subtract 1 from the months and add the number of days in the month before the target month.
- Subtract the birth month from the target month. If the result is negative, borrow one year: subtract 1 from the years and add 12 to the months.
- Subtract the birth year from the target year. What's left, after any borrowing, is the number of completed years.
Why months make this awkward
Months range from 28 to 31 days, so "one month" is not a fixed length of time. When you borrow a month to fix a negative day count, the number of days you add depends on which month you borrow from. Most calculators, including ours, use the month just before the target date. That means two people the same number of days apart can get slightly different month-and-day breakdowns depending on the calendar months involved. It's a convention, and the total number of days elapsed stays the same either way.
A worked example
Take a date of birth of 15 August 1998 and a target date of 28 September 2026:
- Days: 28 − 15 = 13. Positive, so no borrowing.
- Months: 9 − 8 = 1. Positive, so no borrowing.
- Years: 2026 − 1998 = 28.
- Exact age: 28 years, 1 month, 13 days.
- Total days lived: 10,271.
- Age in decimal years: 10,271 ÷ 365.25 ≈ 28.12 years.
Now change the target date to 10 July 2026. Days: 10 − 15 = −5, so borrow June's 30 days to get 25 and cut the months to 6. Months: 6 − 8 = −2, so borrow a year to get 10 months and cut the years to 27. The result is 27 years, 10 months, 25 days. The birthday hasn't arrived yet, and the method catches that automatically.
Leap years and 29 February birthdays
For most people, leap years only matter in the total day count. A four-year span that includes a 29 February has 1,461 days rather than 1,460, and that's why decimal-age calculations divide by 365.25 rather than 365.
The awkward case is someone born on 29 February. In three years out of four, that date doesn't exist, so when do they turn a year older? Conventions differ. Some systems treat 28 February as the birthday in a common year, and others treat 1 March. Our calculator follows the date arithmetic: on 28 February of a common year, a 29 February birthday is still one day short of the next year of age, and it ticks over on 1 March. If a specific rule, such as an eligibility cutoff, depends on the exact day, check which convention the issuing body uses.
Calculating age as of a past or future date
Many real-world age questions aren't about today at all. Admission rules, recruitment notices and sports categories usually set an age limit "as on" a fixed date, such as 1 January or 1 August of the admission year. Pension and retirement planning works the other way: you need the future date on which you reach a given age.
Eligibility cutoffs
To check eligibility, set the target date to the cutoff date in the notice, not the date you're applying. Someone who is 24 today might be 25 on the cutoff date, or the other way round, and the cutoff date is what counts. Read the wording closely too. "Not more than 25 years" and "must not have attained 25 years" can differ by a day at the boundary. Indian courts have also held that a person completes a given age on the day before the anniversary of their birth. Where a single day decides the matter, go by the notice's own definition.
Retirement dates
Retirement usually follows a similar rule. In Indian central government service, for example, an employee normally retires on the afternoon of the last day of the month in which they reach the retirement age. The exception is someone born on the 1st of a month, who retires on the last day of the previous month. Private employers set their own rules, often retirement on the date you turn 58 or 60, or at the end of that month. Knowing the exact date helps you plan for gratuity, PF settlement and the gap before any pension starts.
Tip
For any age-limit application, calculate your age as of the cutoff date printed in the notice, then check the day before and the day after as well. If the answer changes across those three days, you're right at the boundary and should read the eligibility wording closely before applying.
Completed years vs decimal years
"How old are you?" can mean two different things, and they suit different jobs:
- Age in completed years: the whole number of birthdays you've passed. This is what forms, legal age limits and everyday conversation mean. It changes only once a year, on your birthday.
- Age in decimal years: total days lived divided by 365.25. It changes every day and suits calculations such as actuarial tables, medical growth charts and research datasets, where a year-long step is too coarse.
- Never round a decimal age to get completed years. 27.9 years is still 27 in completed years, not 28. Always round down.
Frequently asked questions
Why does my age in days not match years × 365?
Because of leap years. Every four-year span usually includes one 366-day year, so a 28-year-old has lived roughly seven extra days compared with a plain 28 × 365 calculation. An accurate day count uses the real calendar, not a fixed year length.
Does the time of birth matter?
For almost every practical purpose, no. Age calculations, official forms and legal age limits work in whole calendar days. Time of birth only matters in specialised settings, such as some astrological calculations or newborn medical care in the first days of life.
Can I calculate the gap between any two dates, not just a birth date?
Yes. The method works for any two dates: length of service at a job, the age of a company, or the time left until a deadline. Put the earlier date in place of the birth date and the later date as the target, and the same borrowing steps apply.
Exact age comes down to one check that quick subtraction skips: has the birthday happened yet? Get that right, use the correct reference date for cutoffs, and remember to round down, not to the nearest year, and your age calculations will hold up on any form.
Ready to put this into practice?
Calculate Your Age Free