Free online calculator

Standard Deviation Calculator

Measure spread around the mean of a numeric list. Choose Population for the complete group you intend to describe or Sample to estimate a larger population from observations.

Standard deviation1.70782513
Variance2.91666667
Mean5.5
Count6
Sum33

Standard deviation in short

  • Find the mean, square each value's distance from it, average those squares (variance), then take the square root.
  • Population SD divides by N; sample SD divides by N − 1, which gives a slightly larger result.
  • Use sample SD when your data is a sample of a bigger group.
  • About 68% of normally distributed values lie within 1 SD of the mean, 95% within 2.

How to use the Standard Deviation Calculator

  1. Enter numbers separated by commas, spaces, semicolons or line breaks.
  2. Choose Population when the entered values represent the full population or Sample when they are a sample from a larger population.
  3. The calculator finds the arithmetic mean of the data.
  4. Each value's difference from the mean is squared and the squared differences are summed.
  5. Population variance divides by n, while sample variance divides by n − 1. Standard deviation is the square root of variance.

Population versus sample spread

Population variance divides by n; sample variance divides by n−1 and requires at least two values. Blank separators do not add observations and invalid tokens are rejected. Use unformatted numbers in consistent units; a comma is a separator.

Examples

Population standard deviation

For the population data 2, 4, 4, 4, 5, 5, 7, 9, the mean is 5 and the population standard deviation is 2.

Sample calculation

When the values are treated as a sample, the denominator is n − 1 rather than n, producing a slightly larger variance and standard deviation.

Identical values

If every value is identical, every deviation from the mean is zero, so the variance and standard deviation are both zero.

Check the result in context

Whitespace check: “ 2, 4, 6 ” contains 3 observations, sum 12 and mean 4. Population SD = √(8/3) ≈ 1.632993162; sample SD = 2.

Worked examples

DataMeanPopulation SDSample SD
2, 4, 4, 4, 5, 5, 7, 952.0002.138
10, 12, 23, 23, 16, 23, 21, 16184.8995.237
1, 2, 3, 4, 531.4141.581

Frequently asked questions

What does standard deviation measure?

Standard deviation measures how spread out values are around their arithmetic mean. A smaller value indicates tighter clustering around the mean.

What is the difference between population and sample standard deviation?

Population standard deviation divides the squared-deviation total by n. Sample standard deviation uses n − 1 to estimate variability in a larger population.

What is variance?

Variance is the average squared distance from the mean under the chosen population or sample formula. Standard deviation is the square root of variance.

Can standard deviation be negative?

No. Squared deviations are nonnegative, so variance and standard deviation cannot be negative.

Does order matter when calculating standard deviation?

No. Reordering the same values does not change the mean, variance or standard deviation.

Why do sample and population SD differ on the same data?

They use different divisors. For 2, 4, 6, squared deviations total 8; population variance is 8/3 and sample variance is 8/2 = 4. Sample SD is therefore 2.

Related tools

More math tools