Text & Developer tool

Age Calculator: Find Your Exact Age

Enter a date of birth to get the exact age in years, months and days.

  • Instant results
  • Working shown
  • No sign-up
  • Runs in your browser
ToolUpdates as you type

Loading today's date...

Your dates stay in your browser. Nothing is sent or saved.

How it works

This age calculator counts the whole years, then the whole months, then the leftover days from your date of birth to today or any date you choose. Leap years are counted. For example, someone born on 15 Aug 2004 is 22 years, 3 months and 19 days old on 4 Dec 2026.

This age calculator finds your exact age in years, months and days from your date of birth. It also shows your age in total months, weeks and days, the day you were born and the days left until your next birthday.

How to use the age calculator online

  1. Enter your date of birth.
  2. The "Age on this date" box is set to today. Change it to find your age on any other date.
  3. Read your age in years, months and days.
  4. Check the extra lines: total months, total weeks, total days and the next birthday.

Forms for exams and government jobs often ask your age "as on" a cut-off date. Enter that date in the second box to get the exact figure they want.

How age is calculated

Years  = full years from the date of birth
Months = full months after the last birthday
Days   = days left after those months

Example: born on 15 Aug 2004, age on 4 Dec 2026.

Step From To Count
Full years 15 Aug 2004 15 Aug 2026 22 years
Full months 15 Aug 2026 15 Nov 2026 3 months
Days left 15 Nov 2026 4 Dec 2026 19 days

So the age is 22 years, 3 months and 19 days.

Common mistake: A common mistake is subtracting the birth year from the current year. 2026 − 2004 = 22 is right only after the birthday. On 1 Aug 2026 the same person is still 21.

Leap years and month ends

The calculator uses real calendar dates, so these cases come out right:

Case How it is handled
Leap years February has 29 days in leap years, such as 2024 and 2028, and 28 days otherwise.
Born on 29 February In years without 29 February, the birthday is taken as 28 February.
Born on the 31st When a month has fewer days, the month counts as complete on its last day.
Total days Every real day is counted, including 29 February.

A year is a leap year if it divides by 4, except years that divide by 100 but not by 400. So 2000 was a leap year and 1900 was not. See the rule as code in this leap year program in Python.

Write an age calculator as a program

Age calculation is a common coding exercise because of these edge cases. Try it yourself with calculate age from date of birth, then compare your answers with this tool for dates such as 29 Feb 2000 and 31 Jan 2004.

Pro tip: For job applications, write your age exactly as the form asks. Some ask for completed years only, which is the first number this tool shows.

Your dates stay on your device. This age calculator does not send or save them.

Frequently asked questions

How do I calculate age from date of birth?
Count the full years since your last birthday, then the full months since that birthday, then the days left over. The calculator does this for you and also shows the total days and weeks.
How does the age calculator handle leap years?
It works on real calendar dates, so 29 February is counted in leap years only. If you were born on 29 February, the tool treats 28 February as your birthday in other years. Some offices use 1 March instead, so check if the exact day matters.
Why does a month sometimes count as complete early?
When you were born on the 29th, 30th or 31st and a month is shorter, the month is taken as complete on its last day. So from 31 January, one month is complete on 28 February (or 29 in a leap year).
Can I find my age on a past or future date?
Yes. Change the 'Age on this date' box. This is useful for forms that ask your age as on a cut-off date, such as 1 January or the last date to apply.
Is my date of birth saved anywhere?
No. The calculation runs in your browser and nothing is sent or stored.

Try another tool

See all free tools
Chat with us