πŸ”’ Math & Science

Standard Deviation Calculator

Calculate the standard deviation and variance of a data set, for both a population and a sample. Also shows the mean, sum, and count of your numbers.

Sample standard deviation (s)

5.237229

divides by n βˆ’ 1

Population standard deviation (Οƒ)

4.89898

divides by n

Sample variance (sΒ²)

27.428571

Population variance (σ²)

24

Mean

18

Count (n)

8

Variance is the average of the squared distances from the mean. Standard deviation is its square root. Use the sample version (Γ· n βˆ’ 1) when your data is a sample of a larger group, and the population version (Γ· n) when it is the entire group.

Frequently Asked Questions

How do I calculate standard deviation?

Find the mean of your data, subtract the mean from each value and square the result, average those squared differences to get the variance, then take the square root. The square root of the variance is the standard deviation.

What is the difference between sample and population standard deviation?

When your numbers represent the entire group you care about, use the population formula, which divides the sum of squared differences by n. When your numbers are a sample drawn from a larger population, use the sample formula, which divides by n βˆ’ 1 (Bessel's correction) to avoid underestimating the true spread.

Why divide by n βˆ’ 1 for a sample?

Dividing by n βˆ’ 1 corrects a bias: because the sample mean is itself estimated from the data, dividing by n would systematically underestimate the population variance. Using n βˆ’ 1 gives an unbiased estimate. This is why most statistical software defaults to the sample formula.

What is variance versus standard deviation?

Variance is the average squared distance from the mean, so its units are the square of the original data's units. Standard deviation is the square root of the variance, which puts it back into the same units as your data and makes it easier to interpret.

What does a high standard deviation mean?

A high standard deviation means the values are spread out widely from the mean, while a low standard deviation means they cluster tightly around the mean. A standard deviation of zero means every value is identical.