Skip to content

Standard Deviation Calculator

Standard deviation, variance, mean and median for a list of numbers.

Sample or population?

Standard deviation measures how spread out numbers are around their mean. It is the square root of the variance, which is the average squared distance from the mean.

Choose population when your list contains every value you care about, and the sum of squares is divided by n. Choose sample when the list is a subset of a larger group, and it is divided by n − 1 to correct for the smaller spread a sample tends to show.

Worked example

For the values 10, 12, 23, 23, 16, 23, 21 and 16, the mean is 18, the sample standard deviation is 5.237 and the population standard deviation is 4.899.

Common questions

How is standard deviation calculated?

Find the mean, square each value's distance from the mean, add the squares, divide by n for a population or n − 1 for a sample, then take the square root.

Should I use sample or population standard deviation?

Use population when your data includes every member of the group. Use sample when the data is a subset used to estimate a larger group.

What does a high standard deviation mean?

The values are spread far from the mean. A low standard deviation means they are clustered close to it.

Last updated