Average calculator

Paste or type a list of numbers and get the mean, median, mode, sum, range and standard deviation at once, with the steps. Free, instant, and your numbers stay in your browser.

How to use it

  1. Type or paste your numbers in Numbers, separated by commas, spaces or new lines.
  2. If you write decimals with a comma (3,5), check Comma handling.
  3. Read the statistics and the step by step below.

Mean, median, mode and standard deviation explained

Why one number is rarely enough

"The average" sounds like a single idea, but a list of numbers can be summarized in several ways, and they often disagree. Five salaries of 2,000 and one of 40,000 have a mean of 8,333, yet almost nobody earns that. This calculator gives you the main summaries side by side, so you can see how the data is really shaped before you quote a figure in a report, a grade sheet or a budget.

What each result means

ResultHow it is foundBest used when
Mean (average)Sum divided by countValues are fairly even, with no extreme outliers
MedianMiddle value of the sorted list (average of the two middle ones if the count is even)Data has outliers, such as salaries or house prices
ModeMost frequent value; all tied values are listedYou want the most common case, such as a shoe size
RangeMaximum minus minimumA quick idea of the spread
Standard deviationTypical distance of the values from the meanComparing how consistent two sets are

Sample or population standard deviation

Both versions measure spread. The Population standard deviation divides the sum of squared distances by n, and is right when your list is the entire group, for example every student in one class. The Sample standard deviation divides by n - 1, and is right when your list is only a sample used to estimate a bigger group, such as 30 customers out of thousands. With a single number the sample version is undefined, so the tool shows "n/a".

Worked example

  1. Keep the default list 12, 15, 18, 15, 22, 9 in Numbers.
  2. The sum is 91 and there are 6 values, so the mean is 91 / 6 = 15.166667.
  3. Sorted, the list is 9, 12, 15, 15, 18, 22. The two middle values are both 15, so the median is 15.
  4. The value 15 appears twice, so it is the mode. The range is 22 - 9 = 13.
  5. The sum of squared distances from the mean is 102.833333. Divided by 6 and square-rooted it gives a population standard deviation of 4.139914. Divided by 5 it gives a sample standard deviation of 4.535049.

Now try 1, 2, 2, 3, 3, 100. The mean jumps to 18.5, but the median stays at 2.5, and the modes are 2 and 3. One extreme value drags the mean far from where most of the data sits, which is exactly why the median is reported next to it.

Entering numbers correctly

  • Separate numbers with commas, spaces, semicolons or new lines. Pasting a spreadsheet column works.
  • If you write decimals with a comma, as in 3,5 4,5 8, leave Comma handling on Auto-detect. When commas are used both as separators and decimals, choose the option that matches your list explicitly.
  • One unreadable item stops the calculation and the message names it, so typos are easy to find.
  • The limit is 100,000 numbers per list.

Common mistakes

  • Averaging averages. The mean of group means is only correct when the groups are the same size. Use the raw values instead.
  • Using the mean for skewed data. Prices, incomes and waiting times usually have a few very large values; check the median too.
  • Choosing the wrong standard deviation. If in doubt about whether you have the full group or a sample, the sample version is the safer choice.
  • Rounding too early. Results are shown with up to 6 decimals, so round only the final figure.

Related tools

To express how far one value is from another as a percentage, use the percentage change calculator. For shares and discounts there is the percentage calculator, and for splitting values into whole-number factors the GCD and LCM calculator.

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 of the sorted list. The mode is the value that appears most often.

Sample or population standard deviation?

Use the sample version (divides by n - 1) when your numbers are a sample of a larger group. Use the population version (divides by n) when they are the whole group.

How are decimal commas handled?

In Auto mode, 3,5 is read as 3.5 when numbers are separated by spaces or lines. If you separate with commas, choose the matching option in Comma handling.

What if there is no mode?

When every value appears only once, there is no mode. When several values tie for the highest count, all of them are listed.