Free online age calculator
Age is how long you've been alive. This calculator tells you your exact age in years, months, and days — and how long until your next birthday.
Saved to favorites
Your favorites are on the home page under “Your favorites.” They are saved only in this browser on this device, so they will not appear on another device or browser. No account, no server.
How to use
- Enter your date of birth using the date input.
- Optionally, set a target date — leave it blank to use today.
- Your age in years, months, and days appears at the top.
- Below, see total days lived, total weeks, and days until your next birthday.
Calendar arithmetic
Simple division (total days / 365.25) gives an approximate age. The exact approach:
- Subtract years: how many full years from birth to target?
- Subtract months: how many full months remain after removing full years?
- Subtract days: how many days remain after full months?
The tricky part is months with different lengths. If the day-of-month subtraction goes negative, borrow one month and add the days-in-that-month back.
Worked example
Born January 15, 1990. Age on March 20, 2026:
- Full years: 2026 − 1990 = 36, but January 15 hasn’t passed yet on March 20 — wait, it has (Jan 15 < Mar 20). So 36 years.
- Remaining months: March − January = 2 months. But day 20 ≥ day 15, so no borrowing needed. 2 months.
- Remaining days: 20 − 15 = 5 days.
- Age: 36 years, 2 months, 5 days.
Notes
- The calculator uses local calendar arithmetic, not UTC, so it matches how people think about birthdays.
- For historical dates before 1582, calendar reform (Julian vs. Gregorian) can affect the result — this calculator uses the proleptic Gregorian calendar throughout.
References
- Gregorian calendar — month lengths and leap-year ruleWikipedia · en.wikipedia.org
- Leap year — Gregorian leap-year rules (Feb 29)Wikipedia · en.wikipedia.org
Frequently asked
How is exact age in years, months, and days calculated?
Can I calculate age at a specific past or future date?
Why does the total days count differ from years × 365?
How are weeks calculated?
How is the next birthday calculated?
Embed this calculator
Add this free calculator to your own site. Copy the snippet — it works anywhere you can paste HTML, and stays in sync with this page.
Articles about the age calculator
Related calculators
- Date difference calculator
Count the exact number of days, weeks, or business days between any two dates.
- Pregnancy due date calculator
Estimate due date from LMP or conception date using Naegele's rule.
- Percentage calculator
Five common percentage calculations in one place.
- Tip calculator
Calculate tip amount and per-person split for any party size.