Math · Every step shown

Standard Deviation Calculator

Find the standard deviation and variance of a data set — as a population or as a sample.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Statistics
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Variance is the average of the squared differences from the mean (divided by n for a population, or n − 1 for a sample). Standard deviation is the square root of variance.

Example: 2, 4, 4, 4, 5, 5, 7, 9 has a mean of 5. As a population, the standard deviation is 2. As a sample, it's about 2.14.

What's the difference between population and sample standard deviation?
Population standard deviation divides by the total count (n), used when your data is the entire group you care about. Sample standard deviation divides by n − 1, used when your data is just a sample meant to estimate a larger population.

Why divide by n − 1 for a sample?
It corrects a small bias: a sample's own mean fits the sample a little too well, so dividing by a smaller number (n − 1) gives a more accurate estimate of the population's true spread.

What does a standard deviation of 2 mean?
On average, values in the data set sit about 2 units away from the mean.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.