
Free Online Average Calculator
Paste a list of numbers to get the mean, median, mode, range, quartiles and standard deviation, with the working shown.
“Average” sounds like a single idea, but it can mean three different things. Which one you want depends on the question. This calculator takes a list of numbers and gives you all of them: the mean, median and mode, plus the range, quartiles and standard deviation, so you can describe a set of numbers properly.
The three averages
| Name | How it is found | Best when |
|---|---|---|
| Mean | Add all the numbers, divide by how many there are | Values are fairly even |
| Median | Sort the numbers and take the middle one | A few extreme values would distort the mean |
| Mode | The value that appears most often | You care about the most common value |
A common example is salaries in a small company. If nine people earn 30,000 and the boss earns 300,000, the mean is 57,000, which describes nobody. The median is 30,000, which describes the typical person. So when someone quotes an average, it is fair to ask which one.
How to use it
- Type or paste your numbers in the box. Separate them with commas, spaces, semicolons or new lines. Copying a column from a spreadsheet works too.
- Pick how many decimal places to show.
- Read the six main tiles and the table below them. The working line shows the sum and count behind the mean and lists the sorted numbers.
- If something in your text is not a number, the tool ignores it and tells you.
A worked example
Take the scores 72, 85, 90, 85, 64, 78 and 91. There are 7 numbers and they add up to 565, so the mean is 565 ÷ 7 = 80.71. Sorted, they read 64, 72, 78, 85, 85, 90, 91, and the middle one is 85, so the median is 85. The value 85 appears twice and everything else once, so the mode is 85. The range is the largest minus the smallest, 91 − 64 = 27. The first quartile is 75 and the third is 87.5, which show where the lower and upper quarters of the scores begin. The sample standard deviation is about 9.93, which tells you that a typical score is within roughly ten points of the mean.
Measuring spread
Averages tell you where the middle is. Spread tells you how far the numbers wander from it. The range is the simplest measure, but one extreme value can change it. The quartiles divide the sorted numbers into four equal groups, and the distance from Q1 to Q3, the interquartile range, shows the spread of the middle half. Standard deviation measures the typical distance from the mean. Two classes can share the same mean score but differ greatly in spread: one with everyone near 80, another with scores from 40 to 100.
Population or sample standard deviation?
The tool shows both. Use the population figure when your numbers are the whole group you care about, such as the scores of every student in your class. Use the sample figure when your numbers are a sample from a larger group, such as ten voters out of a city. The sample version divides by one less than the count, which corrects for the fact that a sample tends to underestimate the spread of the whole population. With a single number, the sample figure is undefined, and the tool shows “n/a”.
Geometric and harmonic means
For positive numbers, the tool also gives the geometric mean (useful for growth rates and ratios) and the harmonic mean (useful for averaging speeds over equal distances). If your list contains zero or negative values, they are not defined and show “n/a”. Most everyday problems only need the ordinary mean, median and mode.
Common mistakes
- Using the mean when extreme values distort it.
- Forgetting that a set can have no mode, or several.
- Adding percentages and dividing as if every item had equal weight. If sizes differ, use the weighted average calculator.
- Rounding too early in a multi-step calculation.
- Entering numbers with a comma as a decimal point. Use a full stop for decimals and a space or semicolon between values.
Privacy and limits
The calculation runs in your browser, and your numbers are not uploaded. The tool accepts up to 100,000 numbers. It follows the standard definitions, and quartiles use linear interpolation between neighbouring values, one of several accepted methods, so a textbook or spreadsheet that uses a different quartile rule may show slightly different Q1 and Q3.
For the maths behind it, read how to calculate percentages in everyday life and the basic math course. To go further, see the data analysis course, and use the percentage calculator for related questions.
Key takeaways
- Mean, median and mode answer different questions.
- Use the median when a few extreme values would distort the mean.
- Report the spread, not just the middle.
- The tool ignores non-numbers and says so.
Questions
What is the difference between mean, median and mode?
The mean adds all the numbers and divides by the count. The median is the middle value once the numbers are sorted. The mode is the value that appears most often. Each describes the middle in a different way, and the median is less affected by extreme values than the mean.
Can a set of numbers have more than one mode, or none?
Yes. If two or more values tie for most frequent, all of them are modes. If every value appears only once, there is no mode, and the tool shows none. For the scores 2, 2, 3, 3, 4, the modes are 2 and 3.
What is the difference between population and sample standard deviation?
Population standard deviation divides by the count and applies when your numbers are the entire group. Sample standard deviation divides by the count minus one and applies when your numbers are a sample from a larger group. The tool shows both, and shows n/a for the sample version when there is only one number.
How do I enter numbers from a spreadsheet?
Copy the column in your spreadsheet and paste it into the box. New lines, spaces, commas and semicolons are all accepted as separators. Anything that is not a number is ignored, and the tool tells you how many items it ignored. Use a full stop as the decimal point.
Why do my quartiles differ from my textbook or spreadsheet?
There are several accepted ways to calculate quartiles. This tool uses linear interpolation between neighbouring sorted values, like many spreadsheets' inclusive method. A textbook may split the data in halves and take medians of the halves, which can give a slightly different Q1 and Q3 for the same data.
