Average Calculator

Find the mean, median, mode, range, sum and geometric mean of a list of numbers, or a weighted average of values and weights.

Reviewed · How we build and check our calculators

Your details

Kind of average

Separate the numbers with commas, spaces or line breaks. Write 1500, not 1,500.

Average (mean)

6

Of 8 numbers

Median
6.5
The middle value when sorted
Mode
7
Appears 2 times
Range
8
2 to 10
Count
8
Sum
48
Geometric mean
5.3131

The mean (6) is below the median (6.5): a few low values pull the average down.

How the average calculator works

Type a list of numbers to get the mean, median, mode, range, count, sum and geometric mean in one go. Switch to the weighted average when some values count more than others, such as test scores worth different shares.

Formula

Mean = sum ÷ count. Median = middle value of the sorted list (the mean of the two middle values for an even count). Mode = the value seen most often. Weighted average = Σ(value × weight) ÷ Σweight. Geometric mean = (x₁ × x₂ × … × xₙ)^(1/n).

  1. 1

    Add the numbers and divide by the count

    3 + 7 + 7 + 2 + 9 + 10 + 4 + 6 = 48, and there are 8 numbers, so the mean is 48 ÷ 8 = 6.

  2. 2

    Sort them to find the median

    Sorted: 2, 3, 4, 6, 7, 7, 9, 10. With an even count the median is the mean of the two middle values, 6 and 7: 6.5.

  3. 3

    Find the mode and the range

    7 is the only value that appears twice, so it is the mode. The range is 10 − 2 = 8.

  4. 4

    Take the geometric mean

    All values are positive, so the 8th root of their product 635,040 gives a geometric mean of 5.3131.

Worked example

The calculator opens with these values

Kind of average
Mean, median and mode
Numbers
3, 7, 7, 2, 9, 10, 4, 6

Average (mean)

6

How one extreme value moves the mean

The mean uses every value, so a single very high or very low one pulls it along. The median only looks at the middle of the sorted list, so it stays put. Here one expensive house changes the mean a lot and the median not at all.

Mean and median of five home prices ($ thousands)
PricesMeanMedian
240, 255, 270, 285, 300270270
240, 255, 270, 285, 450300270
240, 255, 270, 285, 900390270
240, 255, 270, 285, 3000810270

Which average to use

Each average answers a slightly different question, so pick the one that matches yours.

  • Mean: when the values are spread fairly evenly, such as daily temperatures or the scores in one class.
  • Median: when a few values are extreme, which is why incomes and home prices are usually reported as medians.
  • Mode: for categories and sizes, such as the shoe size a shop sells most often.
  • Weighted mean: when values count differently, such as exams worth different shares of a grade.
  • Geometric mean: for growth rates and returns. A gain of 50% followed by a loss of 50% averages 0% with the ordinary mean, but you end with 75% of what you started with. The geometric mean of 1.5 and 0.5 is 0.866, a change of -13.4% a year.

Working out the score you need

To reach a target average, multiply the target by the number of scores you will have, then subtract the sum of the scores you already have. Needed score = target × (count + 1) − current sum.

With test scores of 82, 75 and 90 (a sum of 247) and a target average of 85 over four tests, you need 85 × 4 − 247 = 340 − 247 = 93 on the fourth test. Check it above: the mean of 82, 75, 90 and 93 is 85.

Common questions

What is the difference between mean, median and mode?

The mean is the sum divided by the count. The median is the middle value once the numbers are sorted, so one extreme value barely moves it. The mode is the value that appears most often, and a list can have several modes or none.

When should I use a weighted average?

When the values do not count equally: a final exam worth 50% of a grade, courses with different credits, or prices bought in different quantities. Each value is multiplied by its weight, and the total is divided by the sum of the weights.

What is the geometric mean used for?

For values that multiply together, such as growth rates or investment returns over several years. It is always at most the ordinary mean, and it is defined only when every value is above zero.

Do the weights have to add up to 100?

No. The calculator divides by the total weight, so weights of 1, 2 and 3 work as well as 20%, 30% and 50%.

Add this calculator to your website

Free for blogs, schools and businesses. Paste this code into your page; the calculator works inside it, with no ads and no tracking. Please keep the credit line.