Average Calculator

Paste a list of numbers to get the mean, median, mode, range and more.

Example: Average (mean)

79.8

(72 + 85 + 90 + 64 + 88) ÷ 5 = 399 ÷ 5 = 79.8

From the faint example numbers. Type your own to replace them.

Median
85
Mode
None
Range
26
Count
5
Sum
399
Smallest
64
Largest
90
Std. dev. (sample)
11.27829774
Std. dev. (population)
10.08761617
Where the numbers fall

Last reviewed:

Mean, median, mode and range compared

In everyday speech, average usually means the mean. Statisticians use the word more loosely, for any single number that sums up a typical value. Each measure answers a slightly different question, and the clearest way to see the difference is on one small set of numbers: 3, 7, 7, 9, 14.

MeasureHow to find itFor 3, 7, 7, 9, 14
MeanAdd all the values and divide by how many there are40 ÷ 5 = 8
MedianThe middle value once the list is sorted7
ModeThe value that appears most often7
RangeLargest value minus smallest value14 − 3 = 11

With an even count there is no single middle value, so the median sits halfway between the two middle ones: for 2, 4, 6, 8 it is (4 + 6) ÷ 2 = 5. If no value appears more than once, the list has no mode at all.

Which average should you use

The mean uses every value, which is both its strength and its weakness. One very large or very small number, called an outlier, drags it away from the typical value. The median only cares about the middle position, so it barely moves.

Example: five salaries

  1. Salaries in thousands: 30, 32, 35, 38, 250
  2. Mean: 385 ÷ 5 = 77
  3. Median: 35

Four of the five people earn less than half the mean. The median, 35, describes a typical salary far better.

  • Use the mean for fairly even data with no extreme values: test scores in a class, daily temperatures, or lap times from a Stopwatch.
  • Use the median for lopsided data such as incomes, house prices and waiting times, where a few extreme cases are normal. That is why incomes and home prices are often reported as medians.
  • Use the mode for the most popular choice: the most common shoe size, the answer most people picked, the busiest hour.
  • Use the range for a quick sense of spread, remembering that it depends on just two values.

How to calculate a weighted average

A plain mean treats every value as equally important. When some values count for more, such as a final exam worth half the grade, you need a weighted average: multiply each value by its weight, add the results, and divide by the total of the weights.

Weighted average = (w₁x₁ + w₂x₂ + …) ÷ (w₁ + w₂ + …)
x = each value
w = its weight, such as a percentage, credit hours or a count

Example: a course grade

  1. Homework 90, worth 20%; midterm 75, worth 30%; final exam 82, worth 50%
  2. 0.2 × 90 + 0.3 × 75 + 0.5 × 82
  3. 18 + 22.5 + 41 = 81.5
  4. The weights add up to 1, so there is nothing more to divide by

The course grade is 81.5. A plain mean of the three scores, 82.33, would overstate it.

This tool gives a plain mean, but whole-number weights still work: enter a score that counts double twice. For percentage weights, the Online Calculator handles the sum in one line.

Standard deviation: how spread out the numbers are

Two lists can share a mean and look nothing alike: 49, 50, 51 and 0, 50, 100 both average 50. Standard deviation measures how far values typically sit from the mean. A small value means the numbers are bunched together; a large one means they are spread out.

σ = √( Σ(x − mean)² ÷ n )
x = each value, n = how many values there are
For a sample, divide by n − 1 instead of n

Example: 2, 4, 4, 4, 5, 5, 7, 9

  1. Mean: 40 ÷ 8 = 5
  2. Squared distances from 5: 9, 1, 1, 1, 0, 0, 4, 16
  3. Their total is 32, and 32 ÷ 8 = 4
  4. √4 = 2

The standard deviation is 2.

This calculator reports the population standard deviation, dividing by n. If your numbers are a sample from a bigger group and your course or software expects the sample version, multiply by √(n ÷ (n − 1)). For the list above that gives 2 × √(8 ÷ 7) ≈ 2.14.

Common averaging mistakes

  • Averaging averages. If a class of 20 averages 70 and a class of 30 averages 80, the combined average is (20 × 70 + 30 × 80) ÷ 50 = 76, not 75. The bigger class pulls harder.
  • Averaging speeds. Driving out at 60 km/h and back the same distance at 40 km/h averages 48 km/h, not 50, because you spend longer at the slower speed. The same holds in mph.
  • Treating a blank as a zero. Leaving out a missing score and entering it as 0 give very different means. Decide which one you mean before you calculate.
  • Averaging percentages from groups of different sizes. 50% of 10 people and 90% of 100 people is 95 out of 110, or 86.4%, not 70%. Work from the counts, or use the Percentage Calculator on the totals.

Sources and further reading

How to use it

  1. 1Paste or type your numbers.
  2. 2Separate them with commas, spaces or new lines.
  3. 3Read the statistics instantly.

Questions

What's the difference between mean and median?

The mean adds every value and divides by the count. The median is the middle value once the list is sorted, so it is less affected by outliers.

What if there are two modes?

All values that share the highest frequency are listed.

Also handy: Grade Calculator, GPA Calculator, Unit Converter