Maths Statistics

Standard deviation calculator

Your numbers
Sample standard deviation 6.324555
7 values, mean 21
The whole summary
Population standard deviation 5.8554
Mean 21
Median 22
Mode 25
Count 7
Sum 147
Minimum 12
Maximum 30
Range 18
Sample divides by n−1

Sample standard deviation divides by n−1 rather than n. The reason is that a sample mean is itself estimated from the same data, which slightly understates the true spread; dividing by one fewer corrects for it. Use the sample figure when your numbers are a sample of something larger, which is almost always. Use the population figure only when you genuinely have every member of the group.

Advertisement
320 × 100

Standard deviation measures spread around the mean. Sample standard deviation divides the summed squared deviations by n−1; population standard deviation divides by n. Use the sample figure unless you genuinely have every member of the group.

How to calculate standard deviation

1 Paste or type your numbers, separated however you like.
2 Read the sample standard deviation, which is the usual one.
3 Check the mean and median together — a large gap means the data is skewed.
4 Use the population figure only for a complete set.

Comparing mean against median is the quickest read on a data set anyone gets for free. When they are close, the data is roughly symmetric and the standard deviation describes it well. When the mean sits well above the median, a few large values are pulling it — income data being the classic case — and the standard deviation becomes a poor summary because it assumes the spread is symmetric. In that situation quartiles say more than a single deviation figure ever will.

Questions

Sample divides by n−1 to correct for estimating the mean from the same data. Population divides by n and needs the complete group.

Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING