Age Calculator — Date of Birth to Years, Months & Days
Enter a date of birth and the date to measure on, and see the age in years, months and days — plus totals and the countdown to the next birthday.
—
Total — · — · —
—
—
What this tool does
It turns a date of birth and a reference date into an age. The headline answer is the familiar years-months-days form — “34 years, 2 months, 5 days” — computed on real calendar months rather than an average month length. Around it the tool reports totals (days, weeks and months lived) and the next birthday with a countdown, so it answers both “how old am I?” and “how long have I been alive?”.
How calendar age is counted
Age is measured in completed calendar units. From a birth date, each time the day-of-month comes round you gain a month; each time the month and day come round you gain a year. Because months and years have unequal lengths, the total in days is not simply years × 365 — leap years and the different month lengths all count. That is why the tool gives the totals separately: they are the exact figures, while years-months-days is the human-readable summary.
A birth date of 31 January illustrates the month-length rule: one month later is 28 February (or 29 February in a leap year), the last day of that month, because there is no 31 February. The same rule runs in both directions — a 29 February birthday comes round on 28 February in a common year — and the next-birthday countdown uses it too, so the age and the countdown never disagree.
The month-end rule is also where naive age calculators break. Subtracting whole years, months and days column by column gives a negative day count whenever the birth day is larger than the reference day and the intervening month is short: 31 January to 1 March comes out as “1 month −2 days”. This tool anchors on the clamped anniversary date and counts the remaining days from there, so the day figure is never negative.
Age in law and in practice
This calculator reports completed calendar units, which is the convention used for age limits. You are 18 on your eighteenth birthday, not the day before; the years figure here increments on that date. Some jurisdictions and some documents count differently for people born on 29 February — a few treat the birthday as 1 March in common years — so where an exact legal threshold matters, the rule of the issuing authority governs, not the arithmetic.
The totals are the other question people ask. “Days lived” is an exact count of calendar days and includes the leap days; weeks are that figure divided by seven and rounded down, so the remainder is not shown as a fraction. Months lived is the count of completed calendar months, not days ÷ 30.44 — the average month is only useful for estimation, and it disagrees with the calendar by several days over a lifetime.
Time zone and date-only input
The inputs are dates, not instants: 1990-01-31 names a day, not midnight in a particular
zone. They are read as UTC by this tool so that the arithmetic cannot be shifted by the viewer's
offset — a date-only value parsed as local midnight can land on the previous day for someone in a
negative-offset timezone. If you need the age at a specific moment (a timestamp of birth rather than
a date), that is a different question: it needs the time of day and both zones, and the answer can
differ from the calendar age by a day at the boundary.
Examples
| Born | Age on | Age | Total days |
|---|---|---|---|
| 1990-01-01 | 2026-01-01 | 36 years | 13,149 |
| 2000-06-15 | 2025-06-15 | 25 years | 9,131 |
| 2024-02-29 | 2025-02-28 | 1 year | 365 |
| 1990-01-31 | 1990-03-01 | 1 month 1 day | 29 |
Frequently asked questions
How is age calculated?
Age is the time between the birth date and a reference date, expressed as completed years, months and days — not as an average month. Each calendar month and leap year is counted on its real length, so someone born on 31 January reaches one month exactly on 28 February (or 29 February in a leap year) rather than 2 or 3 March.
Why does the total in days matter?
The years-months-days figure is what people usually mean by “age”, but totals are what forms, eligibility rules and celebrations often need. The tool also shows the total days, weeks and months lived, so you can answer questions like “which day is my 10,000th day?” without a second calculation.
How is the next birthday worked out?
The next birthday is the next occurrence of your birth month and day on or after the reference date, together with the number of days until it. A 29 February birthday falls on 28 February in a common year, the last day of that month — the same end-of-month rule used for the age itself.
Can I calculate age on a past or future date?
Yes. Change the “age on” date to any day — a past date to see how old you were then, or a future date to see how old you will be. The birth date must not be after the reference date.
Does the time of day matter?
No. Only calendar dates are compared, so the result is the age on that day regardless of the clock. This matches how age is normally stated on documents.
Is anything sent to a server?
No. The calculation is plain calendar arithmetic in your browser.
Go deeper
Longer explanations of the problems this tool solves:
Sources
- ISO 8601, Date and time format — the calendar-date conventions used here.
Everything runs in your browser — nothing you type is uploaded.