Standard Deviation Guide: Understanding Data Spread and Variance
Quick answer
Learn to calculate standard deviation and variance, tell sample from population formulas, and interpret spread in real data. This guide answers that in plain language, with the practical steps first and the background afterwards.
Key facts
| What this article covers | Learn to calculate standard deviation and variance, tell sample from population formulas, and interpret spread in real data. |
|---|---|
| Topic | Math |
| Reading time | 11 min read |
| Published | April 2, 2026 |
| Written by | The SimpleCounter editorial team, who build and use these counting tools. |
| Cost of the tools mentioned | Free, with no account required. |
Two classes can both average 70% on a test while telling completely different stories. In one, almost everybody scored between 66 and 74. In the other, half the class scored 45 and half scored 95. The average hides that difference; standard deviation is the number that exposes it.
From Deviations to Variance
Standard deviation measures the typical distance of a value from the mean. The calculation runs in four steps: find the mean, subtract it from each value to get deviations, square those deviations and average them to get the variance, then take the square root to return to the original units. The squaring step exists because raw deviations always sum to zero, so they need to be made positive before averaging.
A Worked Calculation
Take five delivery times in minutes: 22, 25, 30, 28, 25. The mean is 130 / 5 = 26. The deviations are -4, -1, 4, 2, -1, and their squares are 16, 1, 16, 4, 1, summing to 38.
For a population, divide by n: 38 / 5 = 7.6, and the square root is 2.76 minutes. For a sample, divide by n - 1: 38 / 4 = 9.5, and the square root is 3.08 minutes. Same data, two legitimate answers, which is why the next section matters.
Sample or Population
Use the population formula only when your data covers every member of the group you want to describe, such as the final marks of all 24 students in one class when the class is the whole question. Use the sample formula, dividing by n - 1, whenever the data is a subset used to estimate a wider group. Dividing by n - 1 is Bessels correction, and it exists because a sample mean sits closer to its own data than the true population mean does, which would otherwise make the spread look smaller than it is. Spreadsheets expose both: STDEV.S for samples, STDEV.P for populations. Choosing the wrong one on small data sets shifts the result noticeably, as the 2.76 against 3.08 above shows.
Reading the Number
Standard deviation carries the same units as the data, so 3.08 minutes is directly interpretable. For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean, about 95% within two, and about 99.7% within three. With a mean delivery of 26 minutes and a deviation of 3, roughly 95% of deliveries should land between 20 and 32 minutes, and a 40-minute delivery is a genuine outlier worth investigating rather than noise.
Comparing Spread Across Different Scales
Comparing a deviation of 3 minutes with a deviation of 3 kilograms is meaningless, so use the coefficient of variation: standard deviation divided by the mean, expressed as a percentage. Delivery times with a mean of 26 and deviation of 3 have a coefficient of 11.5%. A machine filling bags at a mean of 500 g with a deviation of 4 g has a coefficient of 0.8%, so the filling process is far more consistent relative to its scale even though both deviations are small numbers.
Where It Gets Used
- Manufacturing: process control charts flag a run when points drift beyond three standard deviations from the target.
- Investing: volatility is the standard deviation of returns, so a fund with a 4% mean monthly return and 9% deviation is a very different proposition from one with 4% and 2%.
- Education: a z-score, the number of deviations a mark sits from the mean, lets you compare performance across tests of different difficulty.
- Sport and training: session-to-session variation shows whether a change in average pace is real or just noise.
Standard Deviation Versus Standard Error
These are routinely confused. Standard deviation describes the spread of individual values. Standard error describes the precision of the mean, and it equals the standard deviation divided by the square root of the sample size. With 100 measurements and a deviation of 3, the standard error is 0.3, so the mean is known far more precisely than any single measurement. Quoting a standard error where a standard deviation belongs makes data look four or ten times tighter than it is.
Cautions
Standard deviation assumes a roughly symmetric distribution to be intuitive. On strongly skewed data, such as household income or website session length, the median and interquartile range describe the middle of the data far better. A single extreme value also drags the deviation upward hard, because deviations are squared, so check for data-entry errors before trusting a large figure. And a deviation calculated from three or four points is barely informative; treat small-sample spread as a rough hint, not a measurement.
Calculate Standard Deviation Free
Paste your numbers into the statistics calculator on SimpleCounter and it returns the mean, median, variance, and both sample and population standard deviations, so you can see immediately which formula changes your conclusion. It runs in your browser and keeps the data on your device.
How this page relates to the rest of the site
- Type of
- Guide
- Related tools
- Calculators and converters
- Published by
- SimpleCounter
Related articles
Fraction Calculator Guide: Operations with Fractions
Master fraction arithmetic with step-by-step examples.
Average Calculator: Mean, Median, Mode Explained
Learn the differences between mean, median, mode, and range with examples.
Random Number Generator Guide
Understand true vs pseudo-randomness and applications.
Get Counting Tips in Your Inbox
Subscribe for productivity tips, counting techniques, and new feature updates.
No spam, unsubscribe anytime.