Population or sample
The radio buttons decide the denominator. Population variance divides the sum of squared deviations by the number of values; sample variance divides by one less, which corrects for the fact that a sample mean is itself an estimate. The standard deviation is the square root of whichever variance you selected. Use the sample option whenever the numbers are a subset of a larger group, and the population option only when you have every value.
A worked example
Take 2, 4, 4, 4, 5, 5, 7, 9. The mean is 5 and the squared deviations are 9, 1, 1, 1, 0, 0, 4 and 16, summing to 32. Population variance is 32 divided by 8, which is 4, so the standard deviation is 2. Sample variance is 32 divided by 7, or 4.5714, giving 2.1381. The coefficient of variation is the standard deviation divided by the absolute mean, so 40% for the population figure.
Reading the output
You also get the count, minimum, maximum and a step list showing the mean and the sum of squares. The coefficient of variation is shown to two decimals and is blank when the mean is zero, because dividing by zero has no useful answer.
Where it stops
- Intermediate values are rounded to six decimals and then truncated to twelve characters, which can shave the last digit on long decimals.
- The step line for the squared deviations is missing an opening parenthesis, a display bug only.
- No grouped data, weighted values or confidence intervals.
Questions people ask
Which one does Excel use?
STDEV.S is the sample version and STDEV.P is the population version, matching the two radio options here.
Is standard deviation the same as standard error?
No. Standard error divides the standard deviation by the square root of the count. To compare group means, start from the average calculator and the AB test calculator.