STDEV.P
Returns population standard deviation using n in the denominator.
Use STDEV.P when your values represent the entire population, not a sample.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=STDEV.P(number1, [number2], ...)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number1 | number (range) | Required | — |
number2 | number (range) | Optional | — |
Accepts a variable number of arguments. Minimum: 1.
Remarks
- Requires at least one numeric value.
- Non-numeric values in referenced ranges are ignored.
Error cases
- Returns
#DIV/0!when no numeric values are provided.
Examples
Find the population standard deviation of 4, 8 and 12.
Formula =STDEV.P(4,8,12)
Expected result 3.2659863237109
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Pass one three-element array to compute the population standard deviation.
Formula =STDEV.P({4,8,12})
Expected result 3.2659863237109
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A one-value population has standard deviation zero.
Formula =STDEV.P(7)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A division error among 4 and 12 prevents computing the population standard deviation.
Formula =STDEV.P(4,1/0,12)
Expected result #DIV/0!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Population standard deviation from scalar arguments
Formula =STDEV.P(2,4,6)
Expected result 1.63299316185545
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Population standard deviation from a range
Formula =STDEV.P(A1:A3)
| A | |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
Expected result 0.816496580927726
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
When does STDEV.P return #DIV/0!?
It returns #DIV/0! when no numeric values are provided.