Standard Deviation
Have you ever wondered how we can measure the consistency of a set of numbers? Standard deviation is a powerful tool in mathematics that tells us exactly that. It measures how spread out or clustered together data points are, giving us a single number to describe the variability in a data set.

What Is Standard Deviation?
Standard deviation is a measure of how spread out the numbers in a data set are from their average, or mean. A low standard deviation means that the numbers are very close to the average, indicating consistency. A high standard deviation means the numbers are spread out over a wider range, indicating variability.
Imagine two different basketball players, Alex and Ben, who both average
- Alex's scores:
- Ben's scores:
Just by looking, you can see that Alex is a very consistent player. His scores are all clustered right around his average of
What Are Mean and Variance?
Before we can master standard deviation, we need to understand its two key building blocks: mean and variance.
The Mean (Average)
You've likely calculated the mean many times before. It's simply the average of all the numbers in your data set. To find it, you add up all the values and then divide by the count of how many values there are.
In statistics, the mean of a whole population is represented by the Greek letter mu,
Here,
Variance
Variance is the next step, and it measures the average of the squared differences from the mean. That sounds complicated, but let's break it down.
- First, we find the deviation for each data point, which is just how far it is from the mean (
). Some of these will be positive, and some will be negative. - Next, we square each of these deviations. Why? Squaring does two important things: it makes all the values positive (so they don't cancel each other out) and it gives more weight to values that are farther from the mean.
- Finally, we find the average of all these squared deviations. This average is the variance, represented by
(sigma squared).
The formula for population variance is:
Variance is a great measure of spread, but its units are squared (e.g., points-squared), which isn't very intuitive. To fix that, we move to the final step: standard deviation.
How Do You Calculate Standard Deviation?
Standard deviation is simply the square root of the variance. Taking the square root gets us back to the original units of our data (e.g., from points-squared back to points), making it much easier to interpret. The symbol for population standard deviation is
Here is the full, step-by-step process to calculate it:
- Step 1: Find the Mean (
). Add up all your data points and divide by the number of points. - Step 2: Calculate the Deviations. For each data point, subtract the mean from it.
- Step 3: Square the Deviations. Square each of the results from Step 2.
- Step 4: Find the Variance (
). Add up all the squared deviations from Step 3 and divide by the total number of data points. - Step 5: Find the Standard Deviation (
). Take the square root of the variance from Step 4.
Let's calculate the standard deviation for a set of five quiz scores:
Step 1: Find the Mean (
Steps 2 & 3: Calculate and Square the Deviations
We can organize this work in a table:
| Score ( | Deviation ( | Squared Deviation ( |
|---|---|---|
Step 4: Find the Variance (
Now we add up the 'Squared Deviation' column and divide by the number of scores (
Step 5: Find the Standard Deviation (
Finally, we take the square root of the variance.
So, the standard deviation of the quiz scores is approximately
Let's Try Another Example
Practice makes perfect. Let's work through another example with slightly more challenging numbers. This time, we'll look at the number of minutes five friends spent on homework one night.
Calculate the standard deviation for the data set:
Step 1: Find the Mean (
The mean is
Step 2 & 3: Calculate and Square the Deviations
- For
: , and - For
: , and - For
: , and - For
: , and - For
: , and
Step 4: Find the Variance (
Sum the squared deviations and divide by
The variance is
Step 5: Find the Standard Deviation (
Take the square root of the variance.
The standard deviation for the homework times is about
What Does a High or Low Standard Deviation Mean?
The number you calculate for standard deviation is a powerful descriptor of your data set.
- A low standard deviation indicates that the data points tend to be very close to the mean. This implies consistency and predictability. For example, a company that manufactures smartphone screens wants a very low standard deviation in screen thickness.
- A high standard deviation indicates that the data points are spread out over a wide range of values. This implies variability. For example, the daily sales at an ice cream shop might have a high standard deviation, with low sales on cold days and very high sales on hot days.
Let's compare two classes that took the same test. Both classes have an average score of
- Class A Scores:
- Class B Scores:
For Class A:
- Mean
. - Squared deviations are:
, , , , . - Variance
. - Standard Deviation
.
For Class B:
- Mean
. - Squared deviations are:
, , , , . - Variance
. - Standard Deviation
.
Conclusion: Class A has a standard deviation of

What's the Difference Between Population and Sample Standard Deviation?
This is a slightly more advanced but very important concept. So far, we've been calculating the population standard deviation, which assumes our data set includes every single member of the group we're interested in.
- A Population is the entire group. For example, all students in a specific school.
- A Sample is a smaller part of that group. For example, 30 students selected from that school.
Most of the time in real life, it's impossible to get data for an entire population. Instead, we take a sample and use it to estimate the standard deviation of the whole population. When we do this, we need to use a slightly different formula called the sample standard deviation.
The only difference is that instead of dividing by the number of data points
Population Standard Deviation (
Sample Standard Deviation (
Notice the different symbols:
Why
For most problems in your class, you'll be told whether you're working with a population or a sample. If it's not specified, it's common to treat the data as a full population.
What Are Some Common Mistakes?
When calculating standard deviation, it's easy to make small errors. Here are a few common pitfalls to watch out for:
- Forgetting the Final Square Root: A very common mistake is to do all the work to find the variance (
) and then forget to take the square root to find the standard deviation ( ). Always double-check that you've completed this final step! - Mixing Up Formulas: Be careful to use the correct formula. If you have data for the entire population, divide by
. If you have a sample of a larger population, divide by . - Calculation Errors: Squaring negative numbers can be tricky. Remember that a negative number squared is always positive (e.g.,
, not ). Use a calculator and be careful with your order of operations. - Misinterpreting the Result: Don't assume that a "high" standard deviation is bad or a "low" one is good. It always depends on the context. High variability is great if you're analyzing a diverse investment portfolio, but it's terrible if you're manufacturing precision engine parts.
Quick Reference Summary
Here's a quick summary of the key ideas about standard deviation.
- What it is: A number that measures how spread out data points are from their mean.
- Low SD means: The data is clustered tightly together. It is consistent and predictable.
- High SD means: The data is spread far apart. It is variable and less consistent.
- The 5 Steps to Calculate (Population SD):
- Calculate the mean (
). - Find the deviation for each point (
). - Square each deviation (
). - Average the squared deviations to get the variance (
). - Take the square root of the variance to get the standard deviation (
).
- Calculate the mean (
- Key Formulas:
- Population SD:
- Sample SD:
- Population SD:
Frequently Asked Questions
Can standard deviation be a negative number?
No, standard deviation can never be negative. This is because it is calculated by taking the square root of the variance, which is the average of squared numbers. Since squared numbers are always non-negative, their average is also non-negative, and so is its square root.
What is the standard deviation of a single number or a set of identical numbers?
The standard deviation is zero. If you have only one number or all the numbers in a set are the same, there is no spread or variability. All data points are equal to the mean, so the deviations are all zero.
What's the difference between variance and standard deviation?
Standard deviation is the square root of the variance. The main advantage of standard deviation is that it is expressed in the same units as the original data (e.g., points, inches, dollars), making it much easier to interpret than the squared units of variance.
Why do we divide by n-1 when calculating the standard deviation for a sample?
We divide by
Is a bigger standard deviation always a bad thing?
Not at all. It completely depends on the context. In manufacturing, you want a low standard deviation for product consistency. But in investing, a higher standard deviation might indicate higher risk but also the potential for higher returns.
How does an outlier affect the standard deviation?
An outlier, which is a data point far away from the others, will significantly increase the standard deviation. This is because the deviation for that point is large, and when you square it, it becomes even larger, heavily influencing the final result.
My calculator has two standard deviation buttons (σ and s). Which one do I use?
Use the