Practice free

STDEVP function

STDEVP returns the population standard deviation, a measure of spread when your data is the entire group. It is a compatibility function, so use STDEV.P in new workbooks.

Example

Read it as a sentence: work out the standard deviation of A1:A8 treating those values as the whole population, which gives 2.

Practice this in the app

Syntax

STDEVP(number1, [number2], ...)

Arguments in [square brackets] are optional.

number1 (required)
A number, range or array (whole population).
number2 (optional)
More values.

Returns: The population standard deviation.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=STDEVP({2,4,4,4,5,5,7,9}) 2 Array constant
=STDEVP(10,"20",TRUE) 7.760297818 Direct args: number, text-number, TRUE
=STDEVP(5) 0 Single number
=STDEVP({1,"2",TRUE,3}) 1 Array with text and boolean
=STDEVP(Data!A1:A8) 2 Range of numbers
=STDEVP(Data!B1:B8) 12.47219129 Mixed range: num, text-number, TRUE, blank, text, FALSE
=STDEVP(10,"abc") #VALUE! Direct arg: non-numeric text
=STDEVP(Data!C1:C5) #N/A Range containing #N/A

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • Superseded by STDEV.P; use that in new workbooks.

Where it works

Excel
STDEVP is in every version of Excel from 2007 on. Compatibility function: still works in every version, but newer replacements exist.
Google Sheets
Same name, same behaviour for everyday use.

Part of Compatibility functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .