Calculates the standard deviation based on an entire population given as arguments
Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.
The STDEV.P Function is categorized under Excel Statistical functions. STDEV.P will calculate the standard deviation that is based on an entire population given as arguments. It will ignore logical values and text.
As a financial analyst, the STDEV.P function can be useful in, for example, calculating deviations in revenue. Portfolio managers often use standard deviation to measure and keep track of their portfolios’ risks.
The STDEV.P function was introduced in MS Excel 2010 and, hence, is not available in earlier versions. However, the function is simply an updated version of the older STDEVP function.
The STDEV.P function uses the following arguments:
Number1 (required argument) – This is the first number argument that corresponds to a population.
Number2 (required argument) – This is another number argument that corresponds to the population.
The given arguments must provide at least two numeric values to the function.
The arguments should be between 1 and 255 numeric values, arrays of values, or references to cells containing numbers.
Arguments can either be numbers or names, arrays, or references that contain numbers.
The function is used when we want to calculate the standard deviation for a whole population. If we are calculating the standard deviation of a sample of a population, we need to use the STDEV.S function.
How to use the STDEV.P Function in Excel?
As a worksheet function, STDEV.P can be entered as part of a formula in a cell of a worksheet. To understand the uses of the function, let us consider an example:
Suppose we are given a record of a business’ monthly sales figures over the last three years, as shown below:
For the standard deviation, the formula used is:
We get the results below:
The equation used for this is:
x takes on each value in the set;
x is the average (statistical mean) of the set of values;
n is the number of values.
Things to remember about the STDEV.P Function
#DIV/0! error-– Occurs if none of the values that are supplied to the function are numeric. Text representations of numbers that are provided as a part of an array are not recognized as numeric values by the STDEV.P function.
#VALUE! error – Occurs if any of the given values provided directly to the STDEV function are text values that cannot be interpreted as numeric values.
The STDEV.P function is used in calculating the standard deviation for an entire population. If we wish to calculate the standard deviation of a sample population, we need to use the STDEV.S function.
Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial modeling and valuation analysis. To learn more, check out these additional CFI resources:
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Already have a Self-Study or Full-Immersion membership? Log in
Access Exclusive Templates
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.