The Excel STDEV.P function calculates the standard deviation of an entire population — a measure of how spread out the values are, dividing by n rather than n−1.
Syntax
| Argument | Description | |
|---|---|---|
number1 | Required | The first number, array, or range representing the population. |
number2, ... | Optional | Up to 254 additional numbers, arrays, or ranges. |
How to use it
STDEV.P measures the spread of data when your values represent the whole population. It divides the sum of squared deviations by n (not n−1).
Compared with the sample version STDEV.S, STDEV.P gives a slightly smaller number because dividing by n instead of n−1 makes the denominator larger. STDEV.P is the square root of VAR.P.
Population or sample? Use STDEV.P only when your data covers every member of the group. If it is a sample drawn from a larger population, use STDEV.S so the spread is not underestimated.
Try it: interactive demo
Pick a STDEV.P example to see the formula and its result.
Practice workbook
Frequently asked questions
What is the difference between STDEV.P and STDEV.S?
When should I use STDEV.P?
Does STDEV.P ignore text and logical values?
How does STDEV.P relate to VAR.P?
=STDEV.P(data) equals =SQRT(VAR.P(data)) for the same data.Master functions like this in one day
This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class