Definition
What an average means
An average is a value used to describe the centre or a typical value of a set of numbers. The arithmetic mean divides the sum by the count, the median comes from the middle of the sorted values, and the mode is any value that occurs most often when values repeat.
- Mean
- Uses every value in the sum
- Median
- Uses the middle of the sorted values
- Mode
- Several values can tie for most frequent
Three kinds of average
People say "average" for several different measures. The mean uses every value and is the right choice when the data is roughly symmetrical, such as test scores or daily temperatures. The median ignores how extreme the outer values are and gives the typical middle, which suits skewed data like income. The mode is the most common value and is the only one of the three that works for categories such as shoe sizes.
Looking at all three together tells a story. When the mean is well above the median, a few large values are pulling it up. When the three are close, the data is fairly even.
A worked example
Take 4, 8, 15, 16, 23 and 42. The sum is 108, the count is 6, so the mean is 18. Sorted, the two middle values are 15 and 16, so the median is 15.5. No value repeats, so there is no mode. The range is 42 − 4 = 38. Replace 42 with 420 and the mean jumps to 81 while the median stays at 15.5, which shows why the median resists extreme values.
Tips for using averages
Check that you are averaging comparable things. An average of percentages is not the same as the overall percentage unless the groups are the same size, and an average of averages can mislead. For weighted situations, such as grades with different credit values, use the GPA calculator or weight each value by its size.
To see how spread out your numbers are, use the standard deviation calculator.
Weighted averages and rounding
A plain mean treats every number equally. When some numbers matter more than others, as with course grades of different credit values or prices bought in different quantities, use a weighted average: multiply each value by its weight, add them up and divide by the total weight. Entering a number several times in the list has the same effect, so a score of 80 counting twice is simply 80, 80.
The calculator shows up to six decimal places. If you are reporting an average, round to a sensible number of places for the data: a mean of 18.0000 test scores should usually be shown as 18, and money to two decimals. Avoid averaging averages unless the groups are the same size.
Step-by-step example
Find the averages and spread of 4, 8, 15, 16, 23 and 42.
| Step | Result |
|---|---|
| Count | 6 |
| Sum | 108 |
| Mean | 18 |
| Median | 15.5 |
| Mode | None |
| Range | 38 |
Formulas used
Mean = (x₁ + x₂ + … + xₙ) ÷ n
- x₁
- first value
- x₂
- second value
- xₙ
- last value
- n
- number of values
Example: (4 + 8 + 15 + 16 + 23 + 42) ÷ 6 = 108 ÷ 6 = 18.
Sort the numbers.
Odd count: the middle value.
Even count: the average of the two middle values.
Example: Sorted 4, 8, 15, 16, 23, 42: (15 + 16) ÷ 2 = 15.5.
Mode = the value that occurs most often
Range = largest − smallest
Example: 1, 2, 2, 3, 3, 4 has modes 2 and 3 and a range of 4 − 1 = 3.
When the answer can mislead
- Give each group mean a weight based on its group size before combining unequal groups.
- An overall mean can hide two clusters with very different typical values.
- Keep missing observations distinct from measured zeros when entering a list.
Questions
How do I calculate the average of a list of numbers?
Add all the numbers together and divide by how many numbers there are. For 4, 8, 15, 16, 23 and 42 the sum is 108 and there are 6 numbers, so the mean is 108 ÷ 6 = 18. "Average" usually means this arithmetic mean.
What is the difference between mean, median and mode?
The mean is the sum divided by the count. The median is the middle value once the numbers are sorted (the average of the two middle values if there is an even count). The mode is the value that appears most often. They describe the "centre" of the data in different ways.
When should I use the median instead of the mean?
Use the median when a few very large or small values would distort the mean. House prices and incomes are classic examples: a handful of millionaires can pull the mean far above what a typical person earns, while the median stays close to the middle.
Can a list have more than one mode, or no mode?
Yes. If two values tie for most frequent, both are modes (bimodal). If every value appears only once, there is no mode. The calculator shows all modes, or "None".
How do I enter the numbers?
Separate them with commas, spaces, semicolons or new lines, and use a full stop for decimals. You can paste a column from a spreadsheet. Negative numbers and decimals are fine; anything that is not a number will be flagged.
What is the range?
The range is the largest value minus the smallest. It is a quick measure of how spread out the data is. For how spread out the values are around the mean, use the standard deviation calculator.
Sources
Embed this calculator
Cite this calculator
Average Calculator. CalculatorLab. https://calculatorlab.site/calculators/average-calculator/. Last updated . Accessed .