General

📉 Variance & Standard Deviation Calculator

Find the mean, median, variance, and standard deviation of a data set.

What is a Variance & Standard Deviation Calculator?

This calculator computes the variance and standard deviation of a data set to measure how spread out the values are.

How it's calculated

Variance = Σ(value − mean)² ÷ n
Standard deviation = √variance
For a sample, divide by n−1 instead of n.

Step-by-step example

Standard deviation of 2, 4, 6, 8

Interpretation: On average, values sit about 2.24 units away from the mean of 5.

Why square the deviations?

Simply adding up deviations from the mean always gives 0, since positive and negative differences cancel out. Squaring removes the sign problem, and it also weights larger deviations more heavily, making outliers more noticeable. Since squaring changes the units (cm becomes cm²), taking the square root at the end converts back to the original units, giving standard deviation.

Good to know

Frequently asked questions

Q. Should I look at variance or standard deviation?

Standard deviation — it's in the same units as the original data, making it easier to interpret.

Q. When do I divide by n vs. n−1?

Use n for a complete population (population variance); use n−1 for a sample drawn from a larger population (sample variance).

Q. What does a standard deviation of 0 mean?

All values are identical to the mean — there's no spread in the data at all.