Average Calculator (Mean, Median, Mode & Range)

Mean, median, mode and range of any list of numbers.

Separate with commas, spaces or new lines. You can paste a spreadsheet column.

Try an example

Average (mean)

5.166666667

The average (mean) of these 6 numbers is 5.166666667. The middle value (median) is 4.5.

Median
4.5
Mode
4 (appears 2 times)
Range
7 (9 − 2)
Count
6
Sum
31
Smallest
2
Largest
9

Fix the highlighted field to update the result.

Show the working
Mean = sum ÷ count
31 ÷ 6 = 5.166666667
Median
Middle two values: (4 + 5) ÷ 2 = 4.5

Sorted: 2, 4, 4, 5, 7, 9

How to use

  1. Type or paste your numbers. Separate them with commas, spaces or new lines; a spreadsheet column works too.
  2. Read the mean (the usual “average”), then the median, mode and range below it.
  3. Open Show the working to see the sum, the sorted list and the middle values.

Formulas

  • Mean = sum of the values ÷ how many values there are.
  • Median = the middle value once the list is sorted. With an even count, it is the average of the two middle values.
  • Mode = the value that appears most often. Ties give several modes, and a list with no repeats has no mode.
  • Range = largest value − smallest value.

Example

For 2, 4, 4, 5, 7, 9:

  • Mean = 31 ÷ 6 = 5.17 (5.166666667)
  • Median = (4 + 5) ÷ 2 = 4.5
  • Mode = 4 (it appears twice)
  • Range = 9 − 2 = 7

Mean or median?

Measure Best for Watch out for
Mean Data without extreme values, like test scores One outlier can pull it a long way
Median Skewed data, like incomes or house prices Ignores how far out the extremes are
Mode The most common choice or size There may be several, or none

In one textbook example, 49 people earn 30,000 and one earns 5,000,000. The mean is 129,400, but the median of 30,000 describes a typical person far better.

Decimal commas and long lists

Use a dot for decimals (2.5). If your numbers use decimal commas, separate them with semicolons instead: 2,5; 3,5 is read as 2.5 and 3.5.

You can paste up to 10,000 values. Very long lists are not saved in shared links.

Need to know how spread out the values are? Use the standard deviation calculator.

Frequently asked questions

How do I find the average (mean)?

Add all the numbers, then divide by how many there are. For 2, 4, 4, 5, 7 and 9 the sum is 31, so the mean is 31 ÷ 6 ≈ 5.17.

How do I find the median?

Sort the numbers and take the middle one. With an even count, average the two middle values: for 1, 2, 3, 4 the median is (2 + 3) ÷ 2 = 2.5.

What is the mode, and can there be more than one?

The mode is the value that appears most often. If two or more values tie for most often, they are all modes; 3, 3, 5, 5, 8 has modes 3 and 5.

What if no number repeats?

Then there is no mode: every value appears once, so none is more common than the others. The mean, median and range still work.

Should I use the mean or the median?

Use the median when a few extreme values could distort the picture, like incomes or house prices. The mean uses every value, so one outlier can pull it a long way.

How do I find the range?

Subtract the smallest value from the largest. For 2, 4, 4, 5, 7, 9 the range is 9 − 2 = 7.

Embed this calculator

Add this calculator to your own website for free. Copy the code below and paste it into your page’s HTML. The attribution link is optional.