What is the STDEV.P function?
=STDEV.P(number1, [number2], ...)STDEV.P treats the data as the whole population and returns its standard deviation. Use it when every member is included, such as every student in a class.
It divides the sum of squared deviations by the count (n) and takes the square root. For a sample, use STDEV.S, which divides by n-1.
Arguments
- number1, number2, ...
- The population values. Text and blank cells are ignored.
STDEV.P examples
Example 1. All scores
=STDEV.P(B2:D6)If these are every student's scores, STDEV.P is correct.
Example 2. Compared with a sample
=STDEV.S(B2:D6)STDEV.S divides by n-1, so it is a little larger.
Example 3. Coefficient of variation
=STDEV.P(A2:A20)/AVERAGE(A2:A20)Spread as a ratio of the mean.
Common mistakes
Using it on a sample
On partial data it understates the spread.
Numbers stored as text
Values like "85" stored as text are left out.
FAQ
- Is it the same as STDEVP?
- STDEVP is the older compatibility name for the same calculation.
- Variance?
- VAR.P is the matching variance; the standard deviation is its square root.