How to calculate age from date of birth

Quick answer
How do you calculate age from date of birth?
To calculate age from date of birth, count the completed years since you were born, then the completed months since your last birthday, then the days left over. Someone born on 15 August 1995 is 31 years, 2 months and 6 days old on 21 October 2026, or 11,390 days.
- Order: completed years, then months, then days
- Birthday rule: you turn a year older on your birthday itself
- 29 February: counted on 28 February in other years
What does “exact age” mean?
Most of the time, your age is just a whole number of years. Forms, exams, insurance and visas often need more: your age in completed years, months and days on a particular date.
“Completed” is the key word. You are 31 only once your 31st birthday has arrived. The day before, you are still 30, however close you are.
So exact age is built in three layers:
- Years: how many birthdays you have had.
- Months: how many full months since your last birthday.
- Days: how many days since the last “month birthday”.
The age calculator does all three for any date of birth and any “age on” date.
How to calculate age from date of birth by hand
Take someone born on 15 August 1995, and find their age on 21 October 2026.
| Step | Working | Result |
|---|---|---|
| Years | 2026 − 1995 = 31. The 2026 birthday (15 August) has passed. | 31 years |
| Months | From 15 August to 15 October 2026 | 2 months |
| Days | From 15 October to 21 October | 6 days |
| Exact age | 31 years, 2 months, 6 days | |
| Total days lived | 21 Oct 2026 − 15 Aug 1995 | 11,390 days |
If the birthday hasn’t happened yet this year, take one away from the years. If the day of the month hasn’t been reached yet, take one away from the months and count the days from the same date last month.
A second example: borrowing a month
Born 20 May 1990, age on 21 October 2026:
- Years: the 2026 birthday on 20 May has passed, so 36 years.
- Months: 20 May to 20 October is 5 months.
- Days: 20 October to 21 October is 1 day.
The answer is 36 years, 5 months and 1 day, or 13,303 days in total.
How are leap years and month-end birthdays handled?
Two cases trip people up.
Born on 29 February. In a non-leap year there is no 29 February. The calculator treats 28 February as the birthday in those years.
| Born 29 Feb 2004, age on… | Result |
|---|---|
| 27 Feb 2026 | 21 years, 11 months, 29 days |
| 28 Feb 2026 | 22 years exactly |
| 1 Mar 2026 | 22 years, 1 day |
| 29 Feb 2028 (leap year) | 24 years exactly |
Born on the 31st. Not every month has a 31st, so “one month later” lands on the last day of the shorter month. For someone born on 31 January 2000:
| Age on… | Result |
|---|---|
| 28 Feb 2026 | 26 years, 1 month, 0 days |
| 1 Mar 2026 | 26 years, 1 month, 1 day |
| 31 Mar 2026 | 26 years, 2 months, 0 days |
This is where different tools sometimes disagree by a day or two. The total number of days lived never changes, so use that if you need a single figure everyone agrees on.
How do you calculate age on a specific date, such as an exam cut-off?
Government exams in India check your age on a fixed cut-off date in the notification, not on the day you apply. UPSC Civil Services, for example, uses 1 August of the exam year.
The method is the same; just replace “today” with the cut-off date. Someone born on 1 January 2000 is 27 years, 7 months and 0 days old on 1 August 2027.
To check this against an exam’s limits and category relaxations, use the exam age calculator. The official notification always has the final word on eligibility.
In the US, age questions usually come up for things like retirement accounts, Social Security and Medicare, which have their own rules about the exact date an age counts. The arithmetic of completed years is the same, but check the specific programme’s rule.
How do you count age in days, weeks or months?
Sometimes you want a single unit rather than years, months and days.
- Days: subtract the date of birth from the later date. 15 August 1995 to 21 October 2026 is 11,390 days.
- Weeks: total days ÷ 7, ignoring the remainder. 11,390 days is 1,627 complete weeks.
- Months: years × 12 + extra months. 31 years and 2 months is 374 months.
Doctors often give a baby’s age in weeks, and some forms ask for age in months. For the gap between any two dates, such as a notice period, the date difference calculator gives days, weeks and working days.
What mistakes should you avoid?
- Subtracting only the years. 2026 − 1995 gives 31, but if the birthday is in December, the person is still 30 in October.
- Counting the day of birth as day one. On your date of birth your age is zero days.
- Using the wrong “age on” date. For exams, visas and insurance, use the date the rule names, not today.
- Mixing up date formats. India and the UK write dates as day/month/year; the US writes month/day/year. 03/04/2000 is 3 April in Delhi but 4 March in New York.
- Assuming every tool counts leftover days the same way. Near month ends, compare total days instead.
- Typing a date of birth into a tool that stores it. The Ganakly age calculator works in your browser, so your date of birth isn’t sent anywhere.
Frequently asked questions
How do I calculate age in Excel?
Put the date of birth in A1 and use =DATEDIF(A1,TODAY(),"Y") for completed years. =DATEDIF(A1,TODAY(),"YM") gives the extra months. For total days, subtract the dates: =TODAY()-A1.
How old is someone born in 2000?
It depends on whether their birthday has passed. On 21 October 2026, someone born on 1 January 2000 is 26 years, 9 months and 20 days old, while someone born on 31 December 2000 is still 25. Always use the full date, not just the year.
What is my age if I was born on 29 February?
In non-leap years the calculator counts your birthday on 28 February. Someone born on 29 February 2004 is exactly 22 on 28 February 2026, and 22 years and 1 day on 1 March 2026. Legal rules can differ, so check the one that applies if it matters for a document.
Why do two age calculators show different days?
The years and months usually agree, but the leftover days can differ when the birth date is near the end of a month. Some tools borrow the length of the previous month, others count from the same date last month. Both are reasonable; the total number of days lived is always the same.
Do you count the day you were born?
No. On the day you are born your age is zero days, and you complete one day of life the next day. The total days figure is simply the later date minus the date of birth.
What does "age in completed years" mean?
It is the number of birthdays you have actually had, ignoring any part-year. Someone born on 22 October 1998 is 27 in completed years on 21 October 2026, even though they turn 28 the next day. Forms and exam rules almost always mean completed years.