01What is Age Calculator?
Age Calculator tells you how old someone is, or was, on a specific date. You pick a Date of Birth, and the "Age on" field starts as today in your own time zone. Change it to any other day and the answer follows. The result shows years, months and days, then Total Months, Total Weeks and Total Days, and finally the next birthday with a countdown. Under the hood, every date is turned into a plain calendar date at UTC midnight before any math happens. That sounds like a small detail, but it means a daylight-saving switch or a time zone change can't shift the answer by a day. The same two dates give the same result on any machine. Months are counted the way people count them, not by adding 30 days. The tool finds the largest whole number of months that, added to the birth date, doesn't pass the target date. When a month is shorter, it clamps to the last day. So one month after 31 January 2012 is 29 February 2012, and 1 March is one month and one day later. Leap years follow the Gregorian rules: every fourth year, except century years that aren't divisible by 400. A worked example: born 15 May 1990, age on 22 November 2026. The tool shows 36 years, 6 months, 7 days. That's 438 total months, 1,905 whole weeks and 13,340 days. The next birthday line reads 2027-05-15, 174 days later. Birthdays on 29 February get special handling. In common years the tool treats 28 February as the birthday, so on 28 February 2025 someone born on 29 February 2000 is exactly 25. Some legal systems use 1 March instead, so check which rule applies if the answer matters legally. Some limits to keep in mind. Total Days counts the gap between the dates, so a baby is 0 days old on the day of birth. Total Weeks is rounded down to whole weeks. The tool doesn't handle times of day, so it can't say someone is 18 at 9 a.m. but not at 8. If the birth date falls after the "Age on" date, you get a prompt to fix it instead of a negative age. The dates you enter never leave the page.
Developers testing age checks and date math, plus anyone filling in a form that wants an exact age on a given day. The tool runs entirely in your browser, so your data never leaves your device.
02How to use Age Calculator
- Pick the date with the Date of Birth picker.
- Leave "Age on (defaults to today)" as it is, or set it to the day you care about.
- Read the age in years, months and days under the Age heading.
- Check Total Months, Total Weeks and Total Days for the same span in other units.
- Read the last line for the next birthday and how many days away it is, or "That date is a birthday."
03Worked examples
- Input:
Date of Birth 1990-05-15, Age on 2026-11-22 - Result:
36 years, 6 months, 7 days. Total Months 438, Total Weeks 1,905, Total Days 13,340. Next birthday: 2027-05-15 (174 days later) - Input:
Date of Birth 2008-11-26, Age on 2026-11-25 - Result:
17 years, 11 months, 30 days. Total Days 6,573. Next birthday: 2026-11-26 (1 day later) - The day before an 18th birthday.
- Input:
Date of Birth 2008-11-26, Age on 2026-11-26 - Result:
18 years, 0 months, 0 days. Total Months 216, Total Days 6,574. That date is a birthday. - Input:
Date of Birth 2000-02-29, Age on 2025-02-28 - Result:
25 years, 0 months, 0 days. Total Days 9,131. That date is a birthday. - In a common year, a 29 February birthday falls on 28 February.
- Input:
Date of Birth 2000-02-29, Age on 2025-03-01 - Result:
25 years, 0 months, 1 day. Total Days 9,132. Next birthday: 2026-02-28 (364 days later) - Input:
Date of Birth 2012-01-31, Age on 2012-03-01 - Result:
0 years, 1 month, 1 day. Total Months 1, Total Weeks 4, Total Days 30 - One month after 31 January clamps to 29 February 2012, so 1 March is one day later.
04Common use cases
- Filling in a form that asks for an exact age in years and months, such as a passport or insurance application
- Working out how old someone was on a past date, like the day a contract was signed or an incident happened
- Checking whether a person reaches 18 or 21 by a specific future date, such as an event or start date
- Counting the days left until a birthday or a work anniversary
- Producing boundary test values for age-gate code: the day before, the day of and the day after a birthday
- Checking how your own date code handles 29 February birthdays and month-end birth dates
05Tips
- To test an age gate, check three "Age on" dates: the day before the 18th birthday (17 years, 11 months, 30 days or similar), the birthday itself, and the day after.
- Month-end birth dates are where hand-written code slips. In JavaScript, setMonth on 31 January can land on 2 or 3 March, while this tool clamps to the last day of February.
- Total Days excludes the birth date itself. If your rule counts it as day 1, add one.
- If your jurisdiction moves 29 February birthdays to 1 March, the tool will read one day ahead of you in common years. Adjust by hand.
- Total Weeks rounds down, so 6,573 days shows as 939 weeks, not 939.0 and change.
06Related concepts
Leap year, Gregorian calendar, Date arithmetic, ISO 8601, Age verification.
Frequently Asked Questions
What is Age Calculator?
Age Calculator is a free, browser-based developer tool on AIDToolStack. Calculate exact age in years, months, and days from a birth date. It requires no installation or sign-up and works entirely in your browser.
Is Age Calculator free to use?
Yes. No sign-up, no fees and no usage cap.
Does Age Calculator store my data?
No. It runs in your browser; nothing is uploaded.