Excel function

STDEV.Sfunction

Returns the standard deviation of a sample (how spread out the values are).

All versions
=STDEV.S(B2:D6)
A
B
C
D
1
2
3
4
5
6

Drag the corner dots to change range. Shrink the range to one person (one row). The more even the scores, the smaller the result. Try breaking it on purpose to see the errors.

Result

5.7461449528

range
B2:D6Drag the corner dots on the table

The cells to calculate. Cells that are not numbers are ignored.

What is the STDEV.S function?

=STDEV.S(number1, [number2], ...)

STDEV.S returns the standard deviation: how far the values spread from their mean. It treats the data as a sample and divides by n-1.

Similar values give a small result; scattered values give a large one. For a whole population, use STDEV.P.

Arguments

number1, ...
Numbers, cells or ranges. Separate several with commas.

STDEV.S examples

  1. Example 1. Standard deviation of scores

    =STDEV.S(B2:D6)

    The sample standard deviation of 11 numbers.

  2. Example 2. Relation to variance

    =SQRT(VAR.S(B2:D6))

    The square root of the variance is the standard deviation.

Common mistakes

FAQ

How is it different from STDEV?
STDEV is kept for compatibility; the result is the same as STDEV.S.
Text?
Ignored.