Average Calculator

Paste or type a list of numbers and see the mean, median, mode, range, quartiles, standard deviation, variance and geometric mean in one table. It is free, handles any list length and works entirely in your browser, so your data never leaves your device.

Average CalculatorPrivate · runs on your device
Your numbers
Results

Fill in the numbers on the left. Results update as you type.

How to use the average calculator

The calculator reads a plain list, so you can paste a column from a spreadsheet, a line from a report or a handful of numbers you typed yourself.

  1. Enter your values in the Numbers (separated by commas, spaces or new lines) box. The box starts with 12, 15, 15, 18, 22, 30 so you can see the layout. Semicolons also work as separators.
  2. Set Decimal places from 0 to 10. The default of 2 suits most lists, while a higher setting helps with small standard deviations.
  3. Read the mean at the top, then the table: count, sum, mean, median, mode, smallest, largest, range, first and third quartile, both kinds of standard deviation and variance, and the geometric mean.
  4. Check the note under the mean. Any entry that is not a number, such as a word, a currency sign or a percent sign, is skipped and counted so you know it was left out.
  5. Edit the list or the decimal places to see the figures change.

What each figure tells you

FigureHow it is found
MeanThe sum divided by the count.
MedianThe middle of the sorted list, or the average of the two middle values when the count is even.
ModeThe most frequent value. Ties are all listed, and the tool says there is no mode when every value appears once.
RangeLargest minus smallest.
Q1 and Q3The medians of the lower and upper halves of the sorted list. With an odd count the middle value is left out of both halves.
Standard deviation and variancePopulation figures divide by n. Sample figures divide by n - 1.
Geometric meanThe nth root of the product. It needs every value above zero, and the tool says so otherwise.

Worked examples

The reference list below is short enough to check by hand, which is a good way to learn what each row means.

Take the list 12, 15, 15, 18, 22, 30. There are 6 values with a sum of 112, so the mean is 18.67. The sorted middle pair is 15 and 18, so the median is 16.5. The value 15 appears twice, which makes it the mode. The range is 30 - 12 = 18. The lower half is 12, 15, 15 and the upper half is 18, 22, 30, so Q1 is 15 and Q3 is 22. The population standard deviation is 5.93, the sample standard deviation is 6.50 and the geometric mean is 17.83.

For 2 4 4 4 5 5 7 9 the mean is 5, the median is 4.5 and the mode is 4. The squared distances from the mean add up to 32, so the population variance is 32 / 8 = 4 and the population standard deviation is exactly 2. The sample version divides by 7 instead, giving a variance of 4.5714 and a standard deviation of 2.1381 at four decimal places.

Now add one extreme value, 300, to the first list. The mean jumps to 58.86 while the median only moves to 18. That gap is the usual sign that one outlier is pulling the mean.

Choosing the right average, and limits

Use the mean when values are fairly even and you want every one to count. Use the median for skewed data such as wages or property prices, where a few large values distort the mean. The mode suits repeated values, though it is less useful for measurements that rarely repeat. Choose the geometric mean for growth rates and ratios. For standard deviation, use the sample version when your numbers are a sample of a bigger group, and the population version when they are the whole group.

  • A decimal comma is read as a separator, so 3,5 becomes the two numbers 3 and 5. Write 3.5 instead.
  • There is no weighted average, so repeat a value to give it more weight.
  • Quartile methods differ between textbooks and spreadsheets, so Q1 and Q3 may differ slightly from other software.

To put a list in order first, use the number sorter. To express a mean as a share of a total, try the percentage calculator or the fraction calculator.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

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, and the mode is the value that appears most often. For 12, 15, 15, 18, 22, 30 they are 18.67, 16.5 and 15. Each answers a slightly different question about the data.

Should I use sample or population standard deviation?

Use the sample figure when your numbers are only a selection from a larger group, such as a survey of customers. Use the population figure when your list is the complete group. The sample version divides by n - 1, so it is always slightly larger for the same data.

How does the calculator work out Q1 and Q3?

It splits the sorted list into a lower and an upper half and takes the median of each. With an odd number of values, the middle value is left out of both halves. Other software uses different interpolation rules, so results can differ slightly from a spreadsheet.

What happens to entries that are not numbers?

They are ignored and counted. If you paste text such as n/a, a currency sign or a percent sign, that entry is left out of every calculation and the note under the mean tells you how many were skipped. Remove the symbol and keep the digits if you want the value included.

Why does my list of decimals give strange results?

Commas act as separators, so a decimal comma splits one number into two. The value 3,5 is read as 3 and 5. Write decimals with a point, as in 3.5, and separate numbers with spaces, new lines or commas. Then the count and mean will match what you expect.