Standard Deviation Calculator

Find the standard deviation of a list of numbers, for a whole population or a sample, with the mean, variance and every step of the calculation shown.

Data type

Standard deviation
Variance
Mean
Count (n)

How to Calculate Standard Deviation

Enter your numbers and choose whether they are the whole population or a sample drawn from one.

1

Enter the data set

Type your numbers separated by commas, spaces or new lines, like 10, 12, 23, 23. Whole numbers and decimals are both fine.

2

Pick population or sample

Choose Population if the numbers are the entire group, or Sample if they are a subset. Sample uses n−1 (Bessel’s correction), which gives a slightly larger value.

3

Read the result and steps

The standard deviation appears first, with the variance and mean beside it. The steps show the mean, the squared deviations, and the final square root. Need the spread as a squared value? The Variance Calculator shows just that.

Frequently Asked Questions

What is standard deviation?
Standard deviation measures how spread out a set of numbers is around their mean. A small standard deviation means the values cluster close to the average; a large one means they are more scattered. It is the square root of the variance, so it is expressed in the same units as the original data.
What is the difference between population and sample standard deviation?
Population standard deviation divides the sum of squared deviations by n, the number of values, and is used when your data covers the entire group. Sample standard deviation divides by n−1 instead, which corrects for the tendency of a sample to underestimate the spread of the population it came from. Use sample when your numbers are a subset drawn from a larger group.
How do you calculate standard deviation by hand?
First find the mean of the numbers. Subtract the mean from each value and square the result. Add those squared deviations together, then divide by n for a population or n−1 for a sample — that gives the variance. Finally, take the square root of the variance to get the standard deviation. This calculator shows each of those steps.
Is my data sent anywhere?
No. The entire calculation runs in your browser using JavaScript. Nothing you type is uploaded, stored or sent to a server, so it is safe for private or sensitive figures.