1. Home
  2. Maths
  3. Standard deviation calculator

Standard deviation calculator

Paste a list of numbers to get the standard deviation, variance, mean, median and more.

Separate numbers with commas, spaces or new lines. You can paste a column from a spreadsheet.
Your data is
Choose a sample if your numbers are part of a larger group, which is the usual case.

Working it out…

What standard deviation measures

Standard deviation tells you how spread out numbers are around their mean. A small value means most numbers sit close to the average; a large value means they're widely scattered. For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean, and about 95% within two.

The formulas

sample: s = √( Σ(x − x̄)² ÷ (n − 1) )
population: σ = √( Σ(x − μ)² ÷ N )

Subtract the mean from each number, square the result, add them up, divide, then take the square root. Variance is the same calculation without the final square root.

Sample or population?

Use the population formula only when your numbers include every member of the group you care about, such as the marks of every student in a class. If they're a sample used to estimate a larger group, use the sample formula. Dividing by n − 1 (Bessel's correction) stops the estimate being too small.

Questions people ask

What is the standard error of the mean?

It's the sample standard deviation divided by the square root of the count. It estimates how much the mean itself would vary between samples, and it's used to build confidence intervals.

What does the coefficient of variation show?

It's the standard deviation as a percentage of the mean, so you can compare spread across data sets measured on different scales.