Standard Deviation Calculator
Enter a data set to get its standard deviation and variance — as both a sample and a population — plus the mean, count, and sum.
The formulas
Standard deviation = √variance
1) Find the mean. 2) Subtract it from each value and square the result. 3) Average those squares (dividing by N for population, N−1 for sample). 4) Take the square root. The N−1 for samples corrects for the fact that a sample slightly underestimates the true spread.
Reading the result
Standard deviation is the standard measure of spread — how consistent or variable your data is. For roughly bell-shaped data, the empirical rule says ~68% of values lie within one standard deviation of the mean, ~95% within two, and ~99.7% within three. That makes it central to risk (a volatile investment has a high standard deviation of returns), quality control, and grading on a curve. Use sample (N−1) when your numbers are a sample of something larger — the usual case — and population (N) only when you have every member of the group. Pair with the average calculator for the mean and median.
Frequently asked questions
What is standard deviation?
A measure of how spread out numbers are around the mean — the square root of variance.
Sample vs. population?
Population divides by N (whole group); sample divides by N−1 (a subset) — sample is more common.
What does it tell you?
For normal data, ~68% of values fall within 1 SD, 95% within 2, 99.7% within 3.
Related calculators
Last reviewed: July 2026.