STDEVP function
Returns the standard deviation of an entire population (divides by n). Replaced by STDEV.P.
Available in All versions of Excel, including Microsoft 365 and Excel for the web (kept for compatibility)
In every Excel versionWorks in Google Sheets
Syntax
STDEVP(number1, [number2], ...)| Argument | What it means | |
|---|---|---|
number1 | Required | A number, range or array covering the whole population. |
number2, ... | Optional | Up to 255 numbers or ranges in total. |
Returns: The population standard deviation.
How STDEVP works
STDEVP measures spread when your numbers are the complete population, not a sample — every branch of a company, all twelve months of a closed year, all players on a team. It calculates √(Σ(x − mean)² / n).
Because it divides by n rather than n − 1, it is always a little smaller than STDEV on the same data; the difference shrinks as n grows. Text and logical values in ranges are ignored (STDEVPA counts them).
Compatibility note: STDEVP is one of the older statistical functions that Excel 2010 moved to the Compatibility group. It still works in every version, but for new workbooks Microsoft recommends STDEV.P. STDEV.P gives identical results.
Examples
1Spread across all branches
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Branch | Staff off sick | ||
| 2 | North | 3 | 1.4142 | |
| 3 | South | 5 | ||
| 4 | East | 4 | ||
| 5 | West | 6 | ||
| 6 | Central | 2 |
Result: 1.4142
These five branches are the whole company, so the population formula is right. The mean is 4 and the squared deviations add up to 10; 10/5 = 2, and √2 = 1.4142 (formatted to 4 decimals).
2Compare with the sample formula
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Branch | Staff off sick | ||
| 2 | North | 3 | 0.1669 | |
| 3 | South | 5 | ||
| 4 | East | 4 | ||
| 5 | West | 6 | ||
| 6 | Central | 2 |
Result: 0.1669
STDEV divides by 4 instead of 5 and returns 1.5811, so it is 0.1669 larger (formatted to 4 decimals). With small groups the choice matters.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#DIV/0! | No numbers in the arguments. | Check the range contents. |
Tips
- When in doubt, ask: "is there a bigger group these numbers stand for?" If yes, use STDEV / STDEV.S instead.
Questions
Should I still use STDEVP?
Only if the workbook must open in Excel 2007 or earlier. Otherwise use STDEV.P, which gives the same result and makes the intent clearer to the next person who reads the formula.
Will STDEVP stop working?
There is no announced removal date. Microsoft keeps compatibility functions so old workbooks keep calculating, but they get no new features.
Google Sheets
STDEVP also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
STDEVP in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | SMODCH |
| Danish | STDAFVP |
| Finnish | KESKIHAJONTAP |
| French | ECARTYPEP |
| German | STABWN |
| Hungarian | SZÓRÁSP |
| Italian | DEV.ST.POP |
| Norwegian (Bokmål) | STDAVP |
| Polish | ODCH.STANDARD.POPUL |
| Portuguese (Brazil) | DESVPADP |
| Portuguese (Portugal) | DESVPADP |
| Russian | СТАНДОТКЛОНП |
| Spanish | DESVESTP |
| Swedish | STDAVP |
| Turkish | STDSAPMAS |