Summary

The Excel STDEVP function calculates the standard deviation for data that represents a population. STDEVP has been replaced with a newer function called STDEV.P, which has the same behavior.

Purpose
Get standard deviation of population
Return value
Estimated standard deviation
Syntax
=STDEVP(number1, [number2], ...)
  • number1 - First number or reference in the sample.
  • number2 - [optional] Second number or reference.

Using the STDEVP function

The STDEVP function calculates the standard deviation for an entire population. 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 STDEVP function is meant to estimate standard deviation for an entire population. If data represents a sample, use the STDEV function.

Note: STDEVP has been replaced with a newer function called STDEV.P, which has identical behavior. 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.

Name Data set Text and logicals
STDEVSampleIgnored
STDEVPPopulationIgnored
STDEV.SSampleIgnored
STDEV.PPopulationIgnored
STDEVASampleEvaluated
STDEVPAPopulationEvaluated

Notes:

  • STDEVP calculates standard deviation using the "n" method, ignoring logical values and text.
  • STDEVP assumes your data is the entire population. When your data is a sample set only, calculate standard deviation using the STDEV function (or its more current replacement, the STDEV.S function).
  • Numbers are supplied as arguments. They can be supplied as actual numbers, ranges, arrays, or references that contain numbers.
  • The STDEVP function ignores logical values and text. If you want to include logical values and/or numbers as text in a reference, use the STDEVA function.

Support Exceljet

Many websites (including Exceljet) have lost over half their traffic in the past year because of the crushing impact of AI on web searches. Exceljet is still at it, publishing free content each week. If you find Exceljet helpful, you can support the site and go ad-free with the Exceljet Lifetime Pass. One payment, no subscription, and ads are gone forever. Plus, you get our Excel Shortcuts video course as a thank you.

Get the Lifetime Pass

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.