wiseowlcalc
Country: Choose countryCountry

Standard deviation calculator

For 2, 4, 4, 4, 5, 5, 7, 9 the population standard deviation is 2 and the sample standard deviation is 2.138 (mean 5). Paste your own numbers and choose sample or population.

Data is a

Sample standard deviation (s)

2.1381

The sample standard deviation of 8 numbers with mean 5 is 2.1381.

Sample SD (s)
2.1381
Population SD (σ)
2
Sample variance
4.5714
Population variance
4
Mean
5
Standard error
0.7559
Q1 · Q3
4 · 6
IQR
2
Sample standard deviation (s)2.1381

How is standard deviation calculated?

σ = √( Σ(x − mean)² ÷ N )  ·  s = √( Σ(x − mean)² ÷ (N − 1) )

Subtract the mean from each value, square the differences, add them up, divide by N (the whole population) or N − 1 (a sample), and take the square root.

Worked example

Mean 5. The squared differences of 2, 4, 4, 4, 5, 5, 7, 9 add up to 32. Divided by 8 that is a variance of 4, so σ = 2. Divided by 7 the variance is 4.5714, so s = 2.138.

Sample or population: which one?

Use the population formula only when your numbers are the whole group. If they are a sample drawn from a larger group, divide by N − 1 (Bessel's correction) so the estimate is not too small.

Questions people ask

What does standard deviation tell you?

How spread out the values are around the mean, in the same units as the data. A small value means the numbers cluster near the mean.

What is the difference between sample and population standard deviation?

Population divides by N and sample by N − 1. For 2, 4, 4, 4, 5, 5, 7, 9: 2 versus 2.138.

What is variance?

The standard deviation squared: the average squared distance from the mean. Here 4 (population) and 4.5714 (sample).

What is the standard error?

The sample standard deviation divided by √N: 0.7559 here. It estimates how far the sample mean is likely to be from the true mean.

What is a good standard deviation?

There is no good or bad value on its own; compare it with the mean and with other data sets in the same units.

Sources

Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).

Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.