Math / Standard Deviation

Standard Deviation calculator

Paste a list of numbers to see how tightly they cluster around the mean.

Your answer will appear here.

Formula: Mean = Σx ÷ n. Population variance = Σ(x − mean)² ÷ n. Sample variance = Σ(x − mean)² ÷ (n − 1). Standard deviation is the square root of variance.

The basics

Spread matters as much as average

Two data sets can share the same mean and behave completely differently. Standard deviation puts a number on that difference. Use the sample version when your numbers are a subset of a larger group, which is the usual case for surveys, test scores, and experiments. Use the population version only when you truly have every value.

In practice

Worked examples

Input

2, 4, 4, 4, 5, 5, 7, 9 (sample)

Answer

mean 5 · SD 2.138 · variance 4.571

Input

10, 12, 23, 23, 16, 23, 21, 16 (population)

Answer

mean 18 · SD 4.899 · variance 24

Good to know

Frequently asked questions

Population standard deviation divides by n and describes a complete data set. Sample standard deviation divides by n − 1 and corrects the slight underestimate you get when you only have a sample.

Keep going