Standard Deviation Calculator (Sample and Population)

Calculate sample and population standard deviation, variance, mean and standard error from a list of numbers.

Loading the calculator…

What standard deviation tells you

Standard deviation measures how far values typically sit from the mean. A small value means the data is tightly grouped; a large one means it is spread out. Two classes can both average 70 % on a test, but if one has a standard deviation of 4 and the other 15, the second class has far more variety in results.

Sample or population?

  • Population (σ): you have every value of the group you care about, such as all employees of a company. Divide by n.
  • Sample (s): your values are a subset used to estimate a bigger group, such as 50 surveyed customers. Divide by n − 1 (Bessel’s correction), which slightly enlarges the result to avoid underestimating the spread.

σ = √( Σ(x − μ)² ÷ n ) s = √( Σ(x − x̄)² ÷ (n − 1) )

Step by step

Data: 4, 8, 6, 5, 3, 7, 9, 6. Mean = 48 ÷ 8 = 6.

x x − 6 (x − 6)²
4 −2 4
8 2 4
6 0 0
5 −1 1
3 −3 9
7 1 1
9 3 9
6 0 0
Sum 28

Sample variance = 28 ÷ 7 = 4, so s = 2. Population variance = 28 ÷ 8 = 3.5, so σ ≈ 1.87.

Need the mean, median and mode first? Use the mean, median and mode calculator.

FAQ

What is the standard error of the mean?

It is s ÷ √n and tells you how precisely the sample mean estimates the true mean. It shrinks as the sample grows.

What is the 68-95-99.7 rule?

For roughly normal data, about 68 % of values fall within 1 standard deviation of the mean, 95 % within 2 and 99.7 % within 3.

Can standard deviation be negative?

No. It is a square root of an average of squares, so it is zero or positive. Zero means all values are identical.

Last reviewed November 30, 2026. Results are estimates for general information.