STDEV.S measures spread. A small standard deviation means values cluster close to the average. A large one means they are scattered. Use it to judge how consistent lead times, order sizes, test scores or machine output are.
Sample versus population
STDEV.S treats your numbers as a sample, a subset of a bigger group, and divides the sum of squared deviations by n − 1 instead of n. That correction makes the estimate of the whole group's spread less biased. Use STDEV.S when:
- you measured some orders, customers or days out of many;
- you want to say something about the process or population behind the data.
Use STDEV.P when your data is the whole group, such as every machine in the plant, or every branch.
For eight lead times of 12, 14, 14, 14, 15, 15, 17 and 19 days, the average is 15. STDEV.P gives 2 and STDEV.S gives about 2.14. The gap shrinks as the sample grows.
What it ignores
In a range or cell reference, STDEV.S skips text, blanks and TRUE/FALSE. Numbers typed straight into the formula, and logical values and text numbers typed as arguments, are counted. If the data includes any error value, the result is that error. With fewer than two numbers, STDEV.S returns #DIV/0!, because a sample of one has no spread to measure.
Reading the number
Standard deviation is in the same units as your data. A standard deviation of 2.14 days on an average of 15 days is small. The same 2.14 on an average of 3 days would be very large. Divide by the average to get the coefficient of variation, =STDEV.S(B2:B9)/AVERAGE(B2:B9), to compare spread across data sets with different scales.
For roughly bell-shaped data, about two thirds of values fall within one standard deviation of the average and about 95% within two. =AVERAGE(B2:B9)+2*STDEV.S(B2:B9) is a common upper limit.
STDEV and STDEV.S
The older STDEV function gives identical results and is kept for compatibility. Prefer STDEV.S in new work because the name states the method. The square of a standard deviation is the variance: see VAR.S. To compare spread without being swayed by outliers, see QUARTILE.INC.