Skip to content

Average Age Calculator

The average, median, youngest and oldest age of a group

Type an age in years (for example 34) or a date of birth as year-month-day (for example 1990-05-14). For many people of one age, type 30 x 12 for twelve people aged 30.

Try:

Updated November 9, 2026 · 10 minute read · How we calculate

By the Age-Finder team · Last updated 7 November 2026

Quick answer

Add everyone’s ages and divide by the number of people: five ages of 34, 29, 41, 52 and 38 add to 194, and 194 divided by 5 is 38.8 years. The calculator also shows the median, the youngest and the oldest ages, and it takes dates of birth for exact ages.

The Average Age Calculator finds the average (mean) age of a group, along with the median, youngest and oldest ages. Type ages in years, dates of birth, or a mix of both, one per line, and the calculator works out exact ages from any dates of birth.

Average age: a gold bar chart with a line marking the average
A bar chart with a line marking the average: the mean is the total of everyone’s ages divided by the number of people.

How to Use the Average Age Calculator

Type each person’s age (for example 34) or date of birth as year-month-day (for example 1990-05-14), one per line. Commas also work as separators. Select Calculate. The result shows the average age in years and months, the median, the youngest and oldest ages, and the age range. Nothing you enter is saved or sent anywhere.

The calculator needs at least two entries. Ages can be decimals, such as 34.5, and at most 125. Dates of birth must be from 1900 onwards and not in the future. If an entry cannot be read, the calculator lists it by name and asks you to check it.

How the Average Is Calculated

The average, or mean, age is the total of everyone’s ages divided by the number of people. For ages of 34, 29, 41, 52 and 38: Add them up: 34 + 29 + 41 + 52 + 38 = 194.

Divide by the number of people: 194 ÷ 5 = 38.8. The average age is 38.8 years, or 38 years and 9 months. The calculator shows years and months by cutting the fraction down to whole months: 0.8 of a year is 9.6 months, shown as 9 months.

For dates of birth, the calculator first works out each person’s exact age today, including months and days, so the average is more precise than with whole-year ages.

Average or Median?

The median is the middle age when everyone is sorted from youngest to oldest; with an even number of people it is the average of the two middle ages. The median is less affected by one very young or very old person:

Table 1: Mean and median for two groups, showing why the median is steadier
Group Average Median
8, 10, 12, 35, 37, 62, 64 32.6 35
34, 29, 41, 52, 38 38.8 38

In the family example, the average of 32.6 sits between the children and the adults, while the median of 35 is an actual age in the group. When ages are spread out, quote both.

Mean, Median, Mode, Range and Standard Deviation

The calculator shows the mean, the median, the youngest and the oldest ages, and the range. It does not show the mode or the standard deviation, so here they are for the same group, worked by hand.

Table 2: Every summary number for the group 34, 29, 41, 52, 38
Number Value How it is worked out
Mean 38.8 194 ÷ 5
Median 38 Middle of 29, 34, 38, 41, 52
Mode None No age repeats
Range 23 52 − 29
Standard deviation (population) 7.73 Square root of 59.76
Standard deviation (sample) 8.64 Square root of 74.7

The standard deviation measures how spread out the ages are. Take each age’s distance from the mean, 38.8: −4.8, −9.8, 2.2, 13.2 and −0.8. Square them: 23.04, 96.04, 4.84, 174.24 and 0.64, which add to 298.8.

Divide by 5 for the population variance, 59.76, and the square root is 7.73 years. Divide by 4 instead, for the sample variance, 74.7, and the square root is 8.64 years.

Use the population figure when the group is everyone you care about, and the sample figure when the group is a sample drawn from a larger group.

For the family group above, the spread is much wider: the population standard deviation is 22.09 years, because the children and the grandparents sit far from the mean of 32.6.

Where Average Age Is Used

  • Teams and workplaces, to describe the age profile of a group.
  • Classes and clubs, to set activities for an age group.
  • Families and events, out of curiosity.
  • Surveys and reports, where the mean or median age summarises a sample.

For national statistics, such as the median age of a country’s population, use figures from the official statistics office, which are based on census data. The United Nations puts the median age of the world’s population at 30.6 years in 2024, in World Population Prospects 2024, up from 30.4 in 2023.

Using Dates of Birth for Exact Ages

Typing dates of birth gives exact results because ages change every day. A group born in 2015 and 2016 has whole-year ages of 9, 10 and 11, but their exact ages differ by just a few months.

The calculator uses the same method as the Age Calculator to find each exact age, with real month lengths and leap years.

Average Age Difference in a Couple or Pair

For two people, the average age is simply halfway between their ages. To compare two people precisely, including who is older and by how much, use the Age Difference Calculator.

Common Mistakes

  • Mixing ages measured on different dates: calculate everyone’s age on the same day.
  • Rounding before averaging: averaging exact ages, then rounding, is more accurate.
  • Forgetting outliers: one much older or younger person can pull the average far from most of the group, so check the median too.
  • Averaging averages: if two groups have different sizes, the average of their averages is not the overall average. A group of 12 people aged 30 and a group of 8 aged 40 have an overall average of 34, not 35, because the larger group carries more weight. Use the weighted average instead.

Worked Example With Dates of Birth

Four children were born on 1 September 2015, 12 March 2016, 30 November 2015 and 21 June 2016. On 7 November 2026 their exact ages are about 11.2, 10.7, 10.9 and 10.4 years. Their average age is about 10.8 years, or 10 years and 9 months, and the median is about 10.8 years.

With whole-year ages instead (11, 10, 10 and 10), the average would be 10.25 years, about half a year lower. Using dates of birth avoids this rounding error, which matters for groups of children whose ages are close together.

Weighted Averages

Sometimes you know how many people are at each age rather than individual ages, for example 12 people aged 30 and 8 aged 40.

Multiply each age by its count, add the results and divide by the total number of people: (12 × 30 + 8 × 40) ÷ 20 = 34. In the calculator, you can type each age once per person to get the same result.

How to Calculate Average Age in Excel and Google Sheets

Most average age calculators on the first page give the same mean this one does, so the difference is in what else they show.

If your ages are already in a spreadsheet, you do not need a calculator at all: put the ages in a column, for example A2:A6, and use these formulas, which work the same in Excel and Google Sheets.

=AVERAGE(A2:A6) gives the mean. =MEDIAN(A2:A6) gives the median. =MIN(A2:A6) and =MAX(A2:A6) give the youngest and oldest ages, and =MAX(A2:A6)-MIN(A2:A6) gives the range. For the worked example above, with 34, 29, 41, 52 and 38 in A2:A6, =AVERAGE(A2:A6) returns 38.8 and =MEDIAN(A2:A6) returns 38.

For dates of birth, first turn each date into an exact age: in Excel, =DATEDIF(A2,TODAY(),"Y") gives whole years, and the Age on a Specific Date calculator gives the exact age in years, months and days if you need the months too.

Then average the ages column as above. To show the mean in years and months, use =INT(AVERAGE(A2:A6))&" years, "&INT((AVERAGE(A2:A6)-INT(AVERAGE(A2:A6)))*12)&" months", which cuts the fraction down to whole months, the same way this calculator does.

What other average age calculators offer

Most average age calculators on the first page give the same mean this one does, so the difference is in what else they show. The comparison below is against the three average age calculators that rank highest.

Table 3: How Age-Finder compares with the top average age calculators
Feature Age-Finder CodingAce Z-Table PonderLoop
Mean from ages or dates of birth Yes Yes Yes, numbers only Yes, numbers only
Median Yes Yes Yes Yes
Youngest, oldest, range Yes Yes Yes Yes
Mode No, in the guide Not shown Yes Yes
Standard deviation No, in the guide Not shown Not shown Yes, sample and population
Weighted average No, in the guide Yes Not shown Yes
Chart No Yes Not shown Not shown
Exact ages from dates of birth Yes Yes, days ÷ 365.2425 No No
Free, no sign-up or account Yes Yes Yes Yes

What the tool does not show: the tool shows no mode and no standard deviation; it has no weighted average input and no chart; and it has no export, so ages in a spreadsheet have to be typed in by hand.

What it adds is exact ages from dates of birth, which two of the three do not do, and the mode, the standard deviation and the weighted average worked through by hand in the guide.

Frequently Asked Questions

How do I calculate the average age of a group?

Add everyone’s ages and divide by the number of people. The calculator does this for you, from ages or dates of birth.

Can I mix ages and dates of birth?

Yes. Type an age like 34 or a date like 1990-05-14 on each line; the calculator turns dates into exact ages first.

What is the difference between mean and median age?

The mean is the total divided by the number of people. The median is the middle age when sorted. The median is less affected by one very young or old person.

How many people can I enter?

As many as you like, one per line. The calculator needs at least two.

Are decimal ages allowed?

Yes. You can type an age such as 34.5, and the result is shown in years and months.

Why is my average not a whole number?

An average of whole ages is usually a fraction. The calculator shows it in years and months, so 38.8 years becomes 38 years and 9 months.

How do I find the average age of a class?

Type each pupil’s date of birth on its own line and select Calculate. Dates give exact ages, which is useful because pupils in the same class are often only months apart.

Can I calculate an average age for a past or future date?

The calculator uses today. To find someone’s exact age on another date, use the Age on a Specific Date calculator first, then type those ages here.

What is the mode of a group of ages?

The mode is the age that appears most often. For 34, 29, 41, 52 and 38 there is no mode, because no age repeats. If two pupils in a class are both 10 and the rest are different ages, the mode is 10. The calculator does not show the mode, so count the repeats yourself.

Sources

  • United Nations, World Population Prospects 2024 (the median age of the world’s population, 30.6 years in 2024).
  • Age-Finder methodology (how exact ages are calculated from dates of birth).