
The Excel STDEVPA function calculates the standard deviation for an entire population. Unlike the STDEVP function, STDEVPA evaluates text and logicals that appear in references. To calculate standard deviation for a sample, use STDEVA or STDEV.S.
Get standard deviation for a population
Calculated standard deviation
=STDEVPA (number1, [number2], ...)
The STDEVPA function calculates the standard deviation for data that represents an entire population, evaluating text and logicals as numbers as part of the calculation. TEXT is evaluated as zero, TRUE is evaluated as 1, and FALSE is evaluated as zero.
Standard deviation is a measure of how much variance there is in a set of numbers compared to the average (mean) of the numbers. The STDEVPA function is meant to estimate standard deviation for an entire population. If data represents a sample, use the STDEVA function.
In the example shown, the formula in E5 is:
=STDEVPA(B5:B11)
The table below summarizes the standard deviation functions provided by Excel.
| Name | Data set | Text and logicals |
|---|---|---|
| STDEV | Sample | Ignored |
| STDEVP | Population | Ignored |
| STDEV.S | Sample | Ignored |
| STDEV.P | Population | Ignored |
| STDEVA | Sample | Evaluated |
| STDEVPA | Population | Evaluated |
Notes:

The Excel STDEVPA function calculates the standard deviation for an entire population. Unlike the STDEVP function, STDEVPA evaluates text and logicals that appear in references. To calculate standard deviation for a sample, use STDEVA or STDEV.S.
Get standard deviation for a population
Calculated standard deviation
=STDEVPA (number1, [number2], ...)
The STDEVPA function calculates the standard deviation for data that represents an entire population, evaluating text and logicals as numbers as part of the calculation. TEXT is evaluated as zero, TRUE is evaluated as 1, and FALSE is evaluated as zero.
Standard deviation is a measure of how much variance there is in a set of numbers compared to the average (mean) of the numbers. The STDEVPA function is meant to estimate standard deviation for an entire population. If data represents a sample, use the STDEVA function.
In the example shown, the formula in E5 is:
=STDEVPA(B5:B11)
The table below summarizes the standard deviation functions provided by Excel.
| Name | Data set | Text and logicals |
|---|---|---|
| STDEV | Sample | Ignored |
| STDEVP | Population | Ignored |
| STDEV.S | Sample | Ignored |
| STDEV.P | Population | Ignored |
| STDEVA | Sample | Evaluated |
| STDEVPA | Population | Evaluated |
Notes: