Mean / Standard Deviation Calculator
Enter a list of numbers to calculate the mean, variance, standard deviation, and median.
What Do These Statistics Mean?
Mean is the average value. Variance measures how spread out the numbers are. Standard deviation is the square root of variance. Median is the middle value when sorted.
Worked examples
For 10, 12, 23, 23, 16, 23, 21 and 16 the mean is 18, the population standard deviation about 4.90 and the sample value about 5.24.
Add one outlier of 90 and the mean jumps to 26 while the median only moves from 18.5 to 21, which is why both are shown.
What the statistics assume
The population formula divides by n and the sample formula by n − 1, so they converge only for large data sets: use the sample value whenever the numbers are a subset of a bigger group. Mean and standard deviation describe symmetric data well but say nothing about shape, and both react strongly to outliers. All entered values are given equal weight.
Frequently asked questions
- When do I divide by n and when by n − 1?
- By n when the data are the entire population, by n − 1 when estimating from a sample, because the sample mean already consumed one degree of freedom.
- Why is standard deviation more useful than variance?
- It is expressed in the same unit as the data: a temperature series with a deviation of 3 °C is immediately readable, while a variance of 9 °C² is not.
- What does the median add?
- It splits the data in half and resists outliers, so a salary table containing one billionaire keeps a meaningful centre while the mean soars.