The Complete Guide to Standard Deviation
By Arshi Khan, Founder of Just4Marketing · Last reviewed October 2026
Standard deviation measures how spread out a set of numbers is around its mean. This guide explains the difference between the population and sample formulas, why they divide by different numbers, and how to read a standard deviation result.
What is standard deviation and why does it matter?
Standard deviation quantifies how much individual values in a data set typically differ from the mean. Two data sets can have the exact same average but very different standard deviations — one tightly clustered, the other widely scattered — and standard deviation is the number that captures that difference. It shows up constantly in statistics, quality control, finance (as a measure of volatility), and scientific research.
The calculation starts by finding the mean, then measuring how far each value is from that mean, squaring those differences (so negative and positive differences don't cancel out), averaging the squared differences to get the variance, and finally taking the square root of the variance to return to the original units.
Population vs. sample formula
| Population | Sample | |
|---|---|---|
| When to use it | Data includes the entire group of interest | Data is a subset used to estimate a larger group |
| Variance formula | Σ(x − mean)² ÷ n | Σ(x − mean)² ÷ (n − 1) |
| Standard deviation | √(population variance) | √(sample variance) |
| Typical symbol | σ (sigma) | s |
Things to keep in mind
Sample standard deviation needs at least 2 values
Dividing by n − 1 is undefined when n = 1, so sample standard deviation can't be calculated from a single data point.
Outliers have an outsized effect
Because differences from the mean are squared, a single extreme value can inflate the standard deviation much more than it would affect the mean.
Standard deviation shares the same units as your data
If your data is in dollars, the standard deviation is also in dollars — unlike variance, which is in squared units and harder to interpret directly.
A standard deviation of 0 means every value is identical
If there's no spread at all in the data, every value equals the mean, and the standard deviation comes out to exactly zero.
Frequently asked questions
What does a high standard deviation mean?
A high standard deviation means the data points are spread far from the mean — there's more variability. A low standard deviation means the data points cluster tightly around the mean.
Should I use population or sample standard deviation?
Use population standard deviation when your data set includes every member of the group you care about (for example, test scores for an entire class). Use sample standard deviation when your data is a subset used to estimate a larger population (for example, a survey of 100 customers out of 10,000).
Why does the sample formula divide by n − 1 instead of n?
Dividing by n − 1, known as Bessel's correction, corrects for the fact that a sample's mean is itself an estimate, which slightly underestimates the true population variance if you divide by n. Dividing by the smaller number (n − 1) produces a larger, less biased estimate.
What's the difference between variance and standard deviation?
Variance is the average of the squared differences from the mean, while standard deviation is the square root of variance. Standard deviation is more commonly used because it's expressed in the same units as the original data, unlike variance.