Calculating Standard Deviation
Introduction
Welcome back to Understanding Standard Deviation! You have reached lesson four of five — the moment where everything comes together. In the previous three lessons, you computed deviations from the mean, developed a conceptual picture of standard deviation as typical distance, and learned why squaring those deviations solves the cancellation problem. Today, we connect all of those pieces into a single, complete calculation that produces the population standard deviation for any small dataset.
From Building Blocks to a Complete Formula
Think of the work so far as gathering ingredients for a recipe. You know how to find the mean, measure each value's distance from it, and square those distances to prevent cancellation. What we have not done yet is combine those ingredients in sequence and finish the dish.
The population standard deviation formula does exactly that. It chains together the building blocks from our previous lessons and adds two final operations — dividing by the number of values and taking a square root — to produce a single number that tells us how spread out the data is. Let us start by looking at the formula, and then we will walk through a full example.
The Population Standard Deviation Formula
The population standard deviation is written as (the lowercase Greek letter sigma). Its formula is:
Each piece maps to a concept we have already explored:
- is the mean of the dataset.
- is the deviation of each value from the mean (lesson one).
- is the squared deviation (lesson three).
- is the sum of squared deviations, all squared deviations added together.
- is the number of values in the dataset.
- Dividing by gives the variance, the average squared deviation.
- The square root converts the result back to the original units.
The only truly new operations here are dividing by and taking the square root. We will see exactly what each one contributes as we work through a full example.
A quick note on terminology: This formula uses in the denominator and applies when we have data for an entire population. A related formula for samples uses instead. In this course, we focus exclusively on the population version.
