Age Calculator
Enter your date of birth to find your exact age, how many days you have lived, and when your next birthday falls.
Last updated
Enter your details above to see the result.
How this calculator works
Age looks trivial to calculate and is not. Subtracting the year, month and day separately breaks whenever the birth day is later in the month than today, because months have different lengths — and the naive fix of borrowing days from the previous month can produce a negative result.
This calculator counts whole elapsed months first, then measures the leftover in days. Starting from your date of birth, it steps forward month by month for as long as it can without passing the target date, then counts the remaining days. That approach always produces a sensible answer, including for awkward cases like 31 January to 1 March.
When stepping forward by months lands on a day that does not exist — 31 January plus one month — the date is clamped to the last day of the shorter month rather than rolling into the next one. This matches how people describe durations and how most legal and administrative conventions treat them.
All arithmetic runs on UTC-normalised dates, so the result never shifts by a day because of your timezone.
The formula
Exact age
months = whole months from birth date to target date anchor = birth date + months (clamped to month length) days = target date − anchor years = months ÷ 12, remainder = months mod 12
Counting months first and days second is what guarantees a non-negative day count in every case, including across February and leap years.
Worked example: born 20 May 1990, as on 9 August 2026
Someone born on 20 May 1990 checking their age on 9 August 2026.
| Whole months from 20 May 1990 to 9 Aug 2026 | 434 |
|---|---|
| Anchor date (20 May 1990 + 434 months) | 20 July 2026 |
| Days from 20 July to 9 August | 20 |
| Years (434 ÷ 12) | 36 |
| Remaining months (434 mod 12) | 2 |
| Exact age | 36 years, 2 months, 20 days |
| Total days lived | 13,230 |
The same span can be described as 36 years 2 months 20 days, as 434 months and 20 days, or as 13,230 days. All three are correct; they simply use different units.
Things worth knowing
- Government forms, school admissions and recruitment notifications usually specify an exact cut-off date for age. Use the "age as on" field with that date rather than today’s.
- A person born on 29 February has a legal birthday of 28 February in non-leap years under most Indian administrative practice, which is what this calculator assumes.
- Total days lived includes leap days, so it is slightly more than years × 365.
- The Indian legal age of majority is 18, and eligibility ages for recruitment, schemes and licences vary — always check the specific notification rather than assuming a general rule.
Frequently asked questions
How do I check my age as on a recruitment cut-off date?
Why does the result show a different number of months than I expected?
How is a 29 February birthday handled?
Can I find my age on a past date?
Sources
Every figure on this page is traceable to the official source below. If a source has changed since the date shown, please tell us and we will correct it.
- ISO 8601 — international standard for date representation · Last verified 9 August 2026
All dates on this page use the YYYY-MM-DD format defined by this standard.