Standard Deviation Explained
What standard deviation actually measures, the difference between sample and population, and how to calculate it step by step — with a calculator built in.
Two datasets can share the same average yet look completely different — one tightly clustered, the other wildly spread out. Standard deviation is the number that captures that spread. This guide explains what it means, how to compute it, and which version to use.
What it measures
Standard deviation tells you, on average, how far the values in a dataset sit from the mean. A small standard deviation means the data points huddle close to the average; a large one means they are scattered. Test scores of 70, 72, 71 have a tiny standard deviation; scores of 40, 95, 78 have a large one — even if both average around 71.
Example
This is a sample result, not your calculation. Enter your own values to replace it.
Enter your numbers, say whether they are a population or a sample, then calculate.
Standard Deviation, σ: —
- Count, N:
- —
- Sum, Σx:
- —
- Mean, μ:
- —
- Variance, σ²:
- —
Steps
Margin of Error (Confidence Interval)
The sampling mean most likely follows a normal distribution, so the standard error of the mean is the standard deviation divided by the square root of the count:
These are the margins of error at each confidence level. Depending on the field, 95% is the level usually reported.
| Confidence Level | Margin of Error | Error Bar |
|---|
Frequency Table
| Value | Frequency |
|---|
Check your numbers
How it is calculated
- Find the mean (average) of your values.
- Subtract the mean from each value and square the result.
- Average those squared differences — this is the variance.
- Take the square root of the variance — that is the standard deviation.
The squaring step is what stops positive and negative differences from cancelling out, and it gives extra weight to values far from the mean. The calculator shows each of these steps with your own numbers substituted in, so you can check a piece of homework line by line rather than just reading off an answer.
Sample vs. population
This is the detail that confuses most people, and it is a real question the calculator asks before it answers — not a display toggle:
- Population standard deviation (σ) divides by N. Use it when your data is the entire group you care about.
- Sample standard deviation (s) divides by n − 1. Use it when your data is a sample used to estimate a larger population — dividing by n−1 corrects a bias and is the more common choice in research.
Your choice changes every symbol below the mean as well as the divisor: σ or s, μ or x̄, σ² or s². For the numbers 2, 4, 6, 8, the population standard deviation is about 2.24, while the sample standard deviation is about 2.58 — the same eight numbers, two different questions.
A sample of one is refused, because n − 1 would be a division by zero. A population of one is a perfectly good answer: zero spread.
Margin of error and confidence intervals
Underneath the working, the calculator reports the margin of error around the mean at the usual confidence levels. That is the range your mean is likely to sit in given how spread out the data is and how many values you have — the same figure a poll quotes as “±3 points”. A larger standard deviation widens it; more data narrows it.
Reading the frequency table
The last block counts how often each value appears, with its share of the total. It is the quickest way to spot the thing a single spread number cannot tell you: whether your data is one clump, two clumps, or one clump plus an outlier dragging the mean around.
Why it matters
Standard deviation underpins a huge amount of statistics: it defines the “spread” in a normal distribution (about 68% of values fall within one standard deviation of the mean), drives quality control, and measures risk in finance. Paste your own numbers into the standard deviation calculator, or use the statistics calculator when you want every descriptive statistic at once rather than this one in depth.