Average Calculator
Find the mean, median, mode and spread of a list of numbers.
Mean (average)
18
The sum of 6 numbers is 108; divided by 6, that's 18.
- Median (middle value)
- 15.5
- Mode (most common)
- None (no value repeats)
- Range
- 38 (4 to 42)
- Count
- 6
- Sum
- 108
- Standard deviation (sample)
- 13.4907
- Standard deviation (population)
- 12.3153
Sorted: 4, 8, 15, 16, 23, 42
How to use this calculator
- Type or paste your numbers into the box. Commas, spaces, semicolons and new lines all work as separators.
- Pasting a column from a spreadsheet works too; text without numbers is ignored.
- Read the mean, median, mode, range, count, sum and standard deviation, which all update as you type.
The formula
For a list of n numbers x1, x2 … xn:
Mean = (x1 + x2 + … + xn) ÷ n
Range = largest − smallest
Population SD = √( Σ(x − mean)² ÷ n )
Sample SD = √( Σ(x − mean)² ÷ (n − 1) )
The median is the middle value after sorting, or the average of the two middle values when n is even. The mode is the value or values that occur most often.
Worked example
Five test scores: 78, 85, 92, 85, 70.
- Sum: 78 + 85 + 92 + 85 + 70 = 410; mean: 410 ÷ 5 = 82
- Sorted: 70, 78, 85, 85, 92; the middle value, the median, is 85
- 85 appears twice, so the mode is 85
- Range: 92 − 70 = 22
- Squared distances from 82: 16, 9, 100, 9, 144, which sum to 278; population SD = √(278 ÷ 5) ≈ 7.46; sample SD = √(278 ÷ 4) ≈ 8.34
The median (85) is higher than the mean (82) because the single low score of 70 pulls the mean down more than it affects the middle of the list.
Understanding your result
An average condenses a list into one number, and the different averages answer slightly different questions. Looking at the mean and median together tells you a lot: when they are close, the data is fairly balanced; when they are far apart, a few unusual values are skewing it.
Spread matters as much as the center
Two classes can both average 82 with very different results: one where everyone scored between 80 and 84, and one with scores from 50 to 100. The range and standard deviation describe that spread. In roughly bell-shaped data, about two-thirds of values fall within one standard deviation of the mean.
Watch for outliers and typos
A single mistyped value, like 850 instead of 85, can wreck a mean. Check the sorted list under the result: the smallest and largest values are where typos usually show up.
Comparing averages over time
If you are comparing an average from one period with another, the change is often clearer as a percentage. The percentage change calculator turns two averages into a percent increase or decrease, and the percentage calculator handles any other percentage question.
Frequently asked questions
What is the difference between mean, median and mode?
The mean is the sum divided by how many numbers there are: the usual “average”. The median is the middle value once the numbers are sorted. The mode is the value that appears most often. For 2, 3, 3, 4 and 18, the mean is 6, the median is 3 and the mode is 3.
When should I use the median instead of the mean?
Use the median when a few extreme values would distort the mean, such as home prices or incomes, where one very large value pulls the mean up. The median shows the typical value without that pull.
What if there is no mode, or more than one?
If every value appears once, there is no mode. If two or more values tie for most frequent, they are all modes, and the calculator lists each one.
Should I use the sample or population standard deviation?
Use the population version when your numbers are the entire group you care about, like every score in one class. Use the sample version, which divides by n − 1, when your numbers are a sample from a bigger group and you want to estimate that group’s spread.