"What's the average?" is one of the most common questions asked of any list of numbers, whether they are test scores, delivery times, monthly sales or survey ratings. But "average" can mean three different things, and choosing the wrong one can give a misleading picture. A single unusual value can drag the mean far away from what is typical, while the median barely moves.
This guide explains how to calculate the mean, median and mode, when each is the right summary, how range and standard deviation describe spread, and why there are two versions of standard deviation. Every calculation is worked by hand on small examples so you can see what the numbers mean.
Three kinds of average
Mean
The mean is what most people call the average: add everything up and divide by how many values there are.
Mean = Sum of values / Count
Example: ten test scores: 72, 85, 90, 66, 85, 78, 91, 58, 85, 70.
Sum = 780; count = 10; mean = 78.
Median
The median is the middle value once the numbers are sorted. With an even count, it is the mean of the two middle values.
Sorted: 58, 66, 70, 72, 78, 85, 85, 85, 90, 91
The two middle values are 78 and 85, so the median = (78 + 85) / 2 = 81.5.
Mode
The mode is the value that appears most often. Here, 85 appears three times, so the mode is 85. A list can have more than one mode (bimodal), or none at all if every value is unique.
When to use which
| Situation | Best summary | Why |
|---|---|---|
| Roughly symmetrical data, no extreme values | Mean | Uses every value; standard in most reports |
| Skewed data or outliers (incomes, prices, delivery times) | Median | Not pulled by extreme values |
| Categories or most common choice (sizes, ratings) | Mode | Tells you what occurs most |
How one outlier distorts the mean
Eight monthly order values, in thousands: 42, 45, 47, 48, 50, 52, 55, 210.
- Mean = 549 / 8 ≈ 68.6
- Median = (48 + 50) / 2 = 49
Seven of the eight months are between 42 and 55, yet the mean suggests a typical month of nearly 69 because of one exceptional month. The median describes a typical month far better. This is why income and house-price statistics are usually quoted as medians.
Measuring spread
Two lists can share a mean and still look very different. Spread measures tell you how tightly the values cluster.
Range
Range = Maximum - Minimum
For the test scores: 91 - 58 = 33. Range is easy to understand but depends entirely on the two most extreme values.
Standard deviation
Standard deviation (SD) measures the typical distance of values from the mean. Here it is worked on a tiny list: 2, 4, 6, 8.
- Mean = 20 / 4 = 5
- Deviations from the mean: -3, -1, 1, 3
- Squared deviations: 9, 1, 1, 9; sum = 20
- Population variance = 20 / 4 = 5; population SD = √5 ≈ 2.236
- Sample variance = 20 / (4 - 1) ≈ 6.667; sample SD ≈ 2.582
For the ten test scores, the population SD is about 10.51 and the sample SD about 11.08.
Population or sample?
- Use the population SD (σ) when your list contains every value you care about, such as the scores of every student in one class.
- Use the sample SD (s) when your list is a sample drawn from a bigger group and you want to estimate the spread of that group, such as a survey of some customers.
Dividing by n - 1 (Bessel's correction) makes the sample SD slightly larger, compensating for the fact that a sample tends to underestimate the true spread. With large lists the two versions converge.
Use the Average Calculator
- Open the Average Calculator.
- Paste or type your numbers into Numbers (separated by commas, spaces or new lines). Click Sample data to try it, or Clear to start again.
- Check the Sorted line under the box to make sure the numbers were read as you intended. Anything that is not a number is listed as ignored.
- Read Statistics: Mean (average), Median, Mode (with how many times it appears), Count, Sum, Range (max − min), Std deviation (population σ), Std deviation (sample s) and Variance (population / sample).
- Click Copy results to paste the full summary into a report or email.
Watch out for thousands separators
Commas normally separate values. If your list is separated by spaces, new lines or semicolons, commas between groups of three digits are read as thousands separators, so "1,250 3,000" becomes 1250 and 3000. A comma-only list such as "100,200,300" is still read as three numbers, so if your numbers contain thousands separators, put one number per line.
Other ways to calculate
Spreadsheets have functions for all of these:
| Statistic | Excel / Google Sheets |
|---|---|
| Mean | =AVERAGE(A2:A11) |
| Median | =MEDIAN(A2:A11) |
| Mode | =MODE.SNGL(A2:A11) or =MODE.MULT(A2:A11) |
| Population SD | =STDEV.P(A2:A11) |
| Sample SD | =STDEV.S(A2:A11) |
| Weighted mean | =SUMPRODUCT(A2:A11, B2:B11)/SUM(B2:B11) |
A spreadsheet is better for large datasets and for weighted averages, where some values count more than others (such as credits in a grade calculation). For credit-weighted grades specifically, the SGPA tab of CGPA to Percentage does this for you.
Common mistakes
- Reporting the mean for skewed data. Report the median, or both.
- Averaging percentages or averages. The mean of two groups' averages is only correct if the groups are the same size.
- Using the wrong SD. Pick population or sample deliberately, and say which one you used.
- Ignoring units. Standard deviation is in the same units as the data; variance is in squared units, which is why SD is easier to interpret.
Related tools
- A dedicated spread calculator: Standard Deviation Calculator
- Percentage changes between two figures: Percentage Calculator
- Grades and exam targets: Grade Calculator
Frequently asked 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 when sorted, and the mode is the most frequent value.
When should I use the median instead of the mean?
When the data is skewed or has outliers, such as incomes, house prices or delivery times. The median shows the typical value without being pulled by extremes.
What is the difference between population and sample standard deviation?
Population SD divides by n and describes a complete set of values. Sample SD divides by n - 1 and estimates the spread of a larger group from a sample.
Can a list have more than one mode?
Yes. If two or more values share the highest frequency, all of them are modes. If every value appears once, there is no mode.
Why does my list give a different count than expected?
Check for stray text and for thousands separators in a comma-separated list. Non-numeric entries are ignored and listed under the box.