The STDEVP function is meant to estimate standard deviation for an entire population.

If data represents a sample, use theSTDEV function.

Note: STDEVP has been replaced with a newer function calledSTDEV.P, which has identical behavior.

Excel formula: Standard deviation calculation

Although STDEVP still exists for backwards compatibility, Microsoft recommends that people use the newer STDEV.P function instead.

Standard Deviation functions in Excel

The table below summarizes the standard deviation functions provided by Excel.

To calculate the standard deviation for an entire population, use STDEVP or STDEV.P.

Excel STDEV function

STDEV.S Function

The Excel STDEV.S function calculates the standard deviation for a sample set of data.

STDEV.S replaces the older STDEV function, with the same behavior.

STDEV.P Function

The Excel STDEV.P function calculates the standard deviation for a sample set of data.

Excel STDEV.S function

STDEV.P calculates standard deviation using the “n” method, ignoring logical values and text.

Excel STDEV.P function