Standard Deviation in Excel

Publication Date :

Blog Author :

Edited by :

Download FREE Standard Deviation Excel Template and Follow Along!
Standard Deviation Excel Template.xlsx

Table Of Contents

arrow

What is Standard Deviation in Excel?

The standard deviation shows the variability of the data values from the mean (average). In Excel, the STDEV and STDEV.S calculate sample standard deviation while STDEVP and STDEV.P calculate population standard deviation. STDEV is available in Excel 2007 and the previous versions. However, STDEV.P and STDEV.S are only available in Excel 2010 and subsequent versions.

Standard Deviation in Excel - Intro

Standard Deviation Formulas in Excel

In excel, there are eight formulas to calculate the standard deviation. These are grouped under sample and population.

The functions STDEV.S, STDEVA, STDEV, DSTDEV are under sample and STDEV.P, STDEVP, STDEVPA, DSTDEVP are under population.

Standard Deviation in excel Example 1

The Syntax of STDEV.S Function

The syntax of the function is stated as follows:

Standard Deviation - STDEV.s Formula

The function accepts the following arguments:

  • Number 1: This is the first value of the sample data. It can be expressed as a range.
  • Number 2: This is the second value of the sample data.

“Number 1” is mandatory and “number 2” is an optional argument.

Note 1: If the entire sample data is entered as a range, the “number 2” argument becomes optional.

Note 2: The sample standard deviation formula works correctly when the supplied arguments contain at least two numeric values. Otherwise, it returns the “#DIV/0!” error.

The Population vs. Sample

The population and sample are defined as follows:

  • The population refers to the whole data set.
  • A sample is a subset of the data set. A sample of the population is taken when it is difficult to use the complete data set.

Note: The sample standard deviation helps make conclusions for the population.

The STDEV.S and STDEVA Functions

The two functions are explained as follows:

  • The STDEV.S function calculates the standard deviation using the numerical values. It ignores the text values. The “S” of the function represents the sample data set.
  • The STDEVA function calculates the standard deviation by counting the text values as zero. The logical value “false” is counted as 0 and “true” is counted as 1.

Note: The STDEV.S is available in Excel 2010 and the subsequent versions.

Calculating Standard Deviation in Excel

#1 - Calculate Population Standard Deviation in Excel

Let us consider an example to understand the concept of standard deviation in Excel.

The following are the employee scores of an organization. They indicate the skill levels of the employees.

We want to calculate the standard deviation of the given data set.

Standard Deviation Example 1

The steps to calculate standard deviation in Excel are listed as follows:

  1. Calculate the mean (average) of the data.


    Standard Deviation Example 1-1

    The output 55.2 signifies the average employee score.

    Standard Deviation Example 1-2

  2. Calculate the population variance. It is the difference of each score from the mean. The results are summed as shown in the following image.

    Variance =
    Standard Deviation Example 1-3
    Variance =
    Standard Deviation Example 1-4

    The population variance is 3.36.

  3. Calculate the standard deviation. It is the square root of the variance.


    Standard Deviation Example 1-5

    Conclusion: The standard deviation is 1.83. This indicates that the employee scores range from 53.37 to 57.03.

#2– Calculate Sample Standard Deviation in Excel

Let us consider an example to understand the working of the STDEV.S function.

The following table shows the heights of different goats. The height is measured from the shoulder level and is denoted in millimeters.

STDEV.S Example 1-1

Step 1: Calculate the mean of the given data. The output is 394.

STDEV.S Example 1-2

Step 2: Apply STDEV.S to the range B2:B6. The output is 165.

STDEV.S Example 1-3

Conclusion: The standard deviation of the height of the goats is 165. This indicates that the usual heights are within the range of 229 and 559 millimeters.

In other words, the heights are on either side of the mean, i.e., 394–165=229 and 394+165=559.

STDEV.S Example 1-4

Frequently Asked Questions (FAQs)

1

1. What is standard deviation in Excel?

Arrow down filled
2

2. Which standard deviation formula should be used in Excel?

Arrow down filled
3

3. How to create a standard deviation graph in Excel?

Arrow down filled