STDEVP Function

Excel Functions › Compatibility

All versions (legacy) Compatibility

The Excel STDEVP function returns the standard deviation of an entire population (dividing by n). It is a legacy name — Microsoft now recommends STDEV.P, which is identical.


Quick answer:
=STDEVP({2,4,4,4,5,5,7,9}) population standard deviation = 2

Syntax

=STDEVP(number1, [number2], ...)
ArgumentDescription
number1RequiredThe first value or range covering the whole population.
number2, ...OptionalUp to 254 more values or ranges. Text and logical values in references are ignored.

How to use it

STDEVP treats your numbers as the complete population, so it divides by n rather than n−1. Use it only when you truly have every member of the group.

=STDEVP({2,4,4,4,5,5,7,9}) // population σ = 2

If the data is only a sample of a larger group, use STDEV (divide by n−1) instead — it returns a slightly larger value.

Use the modern name: =STDEV.P(...) is the supported replacement and returns the same value. The .P makes the “population” intent explicit.

Try it: interactive demo

Live demo

Pick a STDEVP example to see the formula and its result.

Result:

Practice workbook

📊
Download the free STDEVP practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

Is STDEVP the same as STDEV.P?
Yes — STDEV.P (Excel 2010+) is the population standard deviation (divides by n) and returns identical results. STDEVP is kept for backward compatibility.
When should I use STDEVP instead of STDEV?
Use STDEVP only when your data is the entire population. If it is a sample of a larger group, use STDEV (n−1).
Why is STDEVP smaller than STDEV on the same data?
STDEVP divides by n while STDEV divides by n−1, so STDEVP always returns the smaller of the two.
Should I switch to STDEV.P?
For new work, yes — it is the supported name and clarifies the population-versus-sample choice. Existing STDEVP formulas keep working.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: STDEV.P · STDEV.S · STDEV · VARP · VAR