Standard Deviation: Variation from the Mean

What is Standard Deviation?

Standard Deviation (SD) is the statistical measure of how spread out the values of a data set are from the mean or average number. In short, it measures the variation of the values from the mean. 

The closer the values are to the mean, the lesser they are spread out, which also yields to a small SD. When the values are spread apart, that gives us a relatively large SD (See illustration below). Consequently, a small SD means more reliable data. Therefore, a large SD means less reliable data.

Standard Deviation Example Image

Before we discuss the formula, let’s first recall what Mean and Variance are. Mean is the average of the numbers in a data set, while Variance is the average of those numbers’ squared differences from the mean. 

Related Reading: Mean Median Mode – Measures for Data Sets

Population Standard Deviation

To compute the Population Standard Deviation, you must find the square root of Variance, which is expressed in the formula:

SD = [∑(xᵢ – )² / N]
Where:
SD = Population Standard Deviation
∑ means “the sum of”
N = Number of data points in the population
xᵢ = Each value from the population
= The population mean

Population Standard Deviation Formula

To sum up, here are the steps to determining the Standard Deviation of a population: 

Step 1. Compute the population mean () by adding up all the values in the population (xᵢ) and dividing the sum buy the population’s size (N). 
Step 2. Subtract the mean from each value, as expressed in xᵢ – .
Step 3. Then, square each of those differences. 
Step 4. After that, compute the mean of those squared numbers from the previous step. Here, the resulting number is also the Variance. 
Step 5. Finally, find the square root of the Variance and you’ll have the Population Standard Deviation.

Sample Standard Deviation

In short, the formula for Sample Standard Deviation is almost the same as that of population. The only difference is the N-1 instead of just N

SDsample = [∑(xᵢ – )² / (N – 1)]
Where:
∑ means “the sum of”
SDsample= Sample Standard Deviation
N= Number of data points in the sample
xᵢ = Each value from the population
= The sample mean

Sample Standard Deviation Formula

Example #1: Population

Find the standard deviation of the following population values: 3, 5, 6, 4, 2. 

Step 1. Firstly, compute the mean or average. 
(3 + 5 + 6 + 4 + 2) ÷ 5 = 4. 

Step 2. Then, subtract the mean ( = 4) from each value (xᵢ) . To clarify, let’s set up a table to see the computation better. Therefore, proceed to Step 3 and square the differences of each value and the mean. 

xStep 2: xᵢ-Step 3: (xᵢ-
34-11
5411
6424
4400
24-24

When plugged into the formula, this is how the values look:
SD = [∑(xᵢ – )² / N]
SD = [(3 – 4)² + (5 – 4)² + (6 – 4)² + (4 – 4)² + (2 – 4)² / 5]

Substitution is another way to solve for standard deviation, but you can always use the table method for convenience.

Step 4. Then, determine the mean of the differences from Step 3. 
(1 + 1 + 4 + 0 + 4) ÷ 5 = 2. Therefore, the Variance is 2. 

Step 5. Finally, find the square root of the Variance to determine the SD.
SD = 2 ≈ 1.414
Therefore, the Standard Deviation of the Population is ≈1.414.

Example #2: Sample

Find the standard deviation of a sample population with the following values: 9, 6, 5, 7, 4, 2.

Step 1. Firstly, find the sample mean.
(9 + 6 + 5 + 7 + 4 + 2) ÷ 6 = 5.5

Step 2. Subtract the sample mean ( = 5.5) from each value then square each of their differences.

xxᵢ – (xᵢ –
95.53.512.25
65.50.50.25
55.5-0.50.25
75.51.52.25
45.5-1.52.25
25.5-3.512.25

Step 3. Then, calculate the mean of the squared differences by adding them all up and dividing them by the number of the sample minus 1 (N-1), not just N. Remember that we’re working on a sample population, thus the formula changed.
(12.25 + 0.25 + 0.25 + 2.25 + 2.25 + 12.25) ÷ (6 – 1) = 5.9
Therefore, the Sample Variance is 5.9.

Step 4. Finally, find the square root of the Sample Variance to determine the Sample SD.
SDsample= 5.9 ≈ 2.428

Therefore, the Sample Standard Deviation is ≈ 2.428.

Thank you for reading. We hope it’s effective! Always feel free to revisit this page if you ever have any questions about standard deviation.

Check out some of our other blog posts or invest in your future with one of our self-study courses!

If you enjoyed learning about standard deviation, you may be interested in our Statistics 2021 AP Exam Study Guide.
Click here for the Statistics 2021 AP Exam Study Guide!
If you enjoyed learning about  standard deviation, you may be interested in our Psychology 2021 AP Exam Study Guide.
Click here for the Psychology 2021 AP Exam Study Guide!