Calculate the age of a person, place or thing. The age calculator calculates age given a date of birth in years, months and days. You can also use this calculator to find length of time between two dates.
The age calculator finds the age time span in years months and days, months and days, and in total days only.
Date Duration Calculator
How to Calculate Age
This age calculator uses 2 similar but slightly different methods to calculate age. One method is used to give age in years, months and days, and also months and days. The other method is used to very precisely calculate age in total days only.
When calculating age to the detailed level of days it’s important to remember that not all months have the same number of days. Also, while a year has 365 days, a leap year has 366 days.
When you calculate age in terms that include years, this calculator provides the answer in common terms. For example, a teenager might say he is 15 years old rather than saying he’s 12 normal years old plus 3 leap years old. This age calculator uses the same assumption — although we know years may have different lengths, we generalize between regular years and leap years, and call them equal.
The same is true for months. If a baby is 7 months old, the parents would not say she is 4 months that are 31 days long, plus 2 months that are 30 days long, plus 1 month that is 28 days long. We typically generalize across months of different lengths, and count them all equal as general months.
The age calculator finds age in terms that are commonly used, calling all years equal and all months equal. When calculating days however, the calculator uses a function to find the precise number of days between dates.
If you wanted to know how many days you’ve been alive you need to account for extra days in leap years. You also need to know the total number of months with 31 days, total months with 30 days, and total months with 28 days.
The age calculator uses a function that recognizes how many leap years are in a given time span. It also calculates the specific number of days in a partial year. For example, if you were born on March 5 and today is June 7, the calculator finds the exact number of days that occur between those dates.
Your age in total number of days is calculated as:
- Number of years, x, with 365 days = 365x plus
- Number of years, y, with 366 days = 366y plus
- Number of days in the remaining partial year
This calculator assumes the start date is day 0 and begins counting one full day after day 0. For example if you input the dates 03/15/2022 and 3/18/2022 into the calculator you will get a total age of 3 days. Day 1 is the 16th, day 2 is the 17th, and day 3 is the 18th. The 15th is not counted in the tally of days.
The age calculator allows you to input single digit months and days. You do not have to pad them with a leading zero. You must input the 4-digit year however.
US date formatting can use a forward slash, a period, or a dash:
European date formatting can use a forward slash, a period, or a dash:
International date formatting according to ISO 8601 use only a dash (-):
Today’s date is based on Greenwich Mean Time (GMT).
Related Calculators: Date Difference, Date ± Days or Business Days Calculator.