Age Calculator
Exact age in years, months and days — using calendar arithmetic, not a division by 86,400,000.
Runs in your browser. Nothing you enter here is uploaded to a server.
What this tool does
Enter a date of birth and this calculator gives the completed age in years, months and days, along with the totals in months, weeks and days, the weekday you were born on and how long until the next birthday. It works from calendar dates rather than timestamps, which is why the day counts stay correct across daylight-saving changes and leap years. You can calculate an age on any date, not just today.
How to use this tool
Step 1: Enter the date of birth
Use the date field or type the date directly. The date is treated as a plain calendar date, so no timezone shifts it by a day.
Step 2: Choose the date to measure to
This defaults to today in your local calendar. Change it to work out an age on a past or future date — useful for eligibility cut-offs.
Step 3: Read the breakdown
Completed years, months and days appear first, then total months, weeks and days, the birth weekday and the countdown to the next birthday.
Worked example
Someone born on 29 February 2004, measured on 1 March 2026
A leap-day birthday is the case that breaks naive age code, so it is worth walking through.
- Date of birth
- 29 February 2004 (a Sunday)
- Age on 1 March 2026
- 22 years, 0 months, 1 day
- Age on 28 February 2026
- 22 years, 0 months, 0 days
- Next birthday
- 28 February 2027, because 2027 is not a leap year
This tool treats 28 February as the birthday in non-leap years, which matches the most common legal and administrative convention. It says so on screen rather than deciding silently.
How calendar age is computed
Years, months and days are borrowed down in that order, exactly the way you would do it on paper. Totals are counted in whole calendar days, never by subtracting timestamps.
years = target year − birth year
months = target month − birth month
days = target day − birth day
if days < 0: borrow the number of days in the month before the target month
if months < 0: borrow 12 months from the year count- Total days is counted as a difference of calendar day numbers, so a clock change never adds or removes a day.
- A birth date after the target date is rejected rather than reported as a negative age.
- The weekday is derived from the calendar date itself, independent of your device timezone.
Sources and methodology
ToolNimbly performs this work locally in your browser using the method shown above. Read how ToolNimbly tests calculations and generated documents.
Why calendar age is not elapsed time divided by 365
Calendar age is built from anniversaries, not from an average year length. The calculator first counts complete years, then complete months after the last anniversary, and finally the remaining days. Dividing elapsed days by 365 fails around leap years and month ends because calendar months are not equally long. The years-months-days result is therefore a calendar description, while total days is an elapsed-duration measurement.
A date without a time zone is intentionally treated as a calendar date. Converting midnight through a time-zone offset can otherwise move it into the previous day and create an off-by-one result. People born on 29 February also need a convention for non-leap-year anniversaries; legal and cultural rules differ between 28 February and 1 March. The calculator reports the mathematical calendar interval, not a jurisdiction-specific legal age rule.
Limitations and privacy
What this tool does not do
- Ages are calculated from calendar dates only. Time of day and birth timezone are not considered.
- For a 29 February birthday in a non-leap year, this tool uses 28 February. Some jurisdictions use 1 March for specific legal purposes.
- Historical dates before the Gregorian calendar was adopted locally will not match contemporary records, because adoption happened in different years in different countries.
- This is a calendar tool, not a legal determination of age for any specific purpose.
A date of birth is personal data, so it never leaves this page. It is not transmitted, not stored, and never included in any analytics event.
Frequently asked questions
How is age in years, months and days worked out?
The same way you would by hand: subtract the years, then the months, then the days, borrowing from the next unit up when a subtraction goes negative. That is why the result is completed age — you turn a year older on your birthday, not gradually through the year.
What happens to a 29 February birthday?
In leap years the birthday is 29 February. In other years this tool uses 28 February, which is the convention most administrative systems follow. The next-birthday line tells you which date it picked so there is no ambiguity.
Why does my total day count differ from another calculator?
Usually because the other tool subtracted two timestamps and divided by the number of milliseconds in a day. Across a daylight-saving boundary one of those days is 23 or 25 hours long, which can shift the total by one. This tool counts calendar days instead.
Can I calculate an age at a date in the past?
Yes. Change the "age on" date to any date after the birth date. This is the quickest way to check something like whether someone was 18 on a particular cut-off day.
Is the day of the week I was born accurate for old dates?
Yes, for any date in the Gregorian calendar. Be aware that countries adopted that calendar at different times, so very old records from some regions were written using the Julian calendar and will not match.
Read more about this
Reading health calculators honestly
BMI is weight over height squared and knows nothing else. Daily calorie figures are population equations. What both can and cannot tell you.
Related tools
Other tools people use alongside the age calculator.
Days Between Dates Calculator
Count the days, weeks, months and years between two dates, with options to include the end date or to count business days only.
BMI Calculator
Calculate body mass index in metric or US units, see the standard adult category and the healthy weight range for your height. Information only.
Calorie Calculator
Estimate resting metabolic rate and daily calorie needs with the Mifflin-St Jeor equation, plus illustrative targets for gradual loss or gain.
Part of Calculators. Last reviewed .