Sample standard deviation (s)2.1381
Population standard deviation (σ)2
Sample variance (s²)4.5714
Population variance (σ²)4
Mean5
Count (n)8
xx − mean(x − mean)²
2-39
4-11
4-11
4-11
500
500
724
9416
Sum of squares32

Every value is calculated in your browser from the standard normal distribution (Marsaglia’s series for Φ) and rounded to four decimals; the tables were checked cell by cell against an independent calculation. These tables give the area to the left of z. Some textbooks, including the NIST handbook, print the area from 0 to z instead, which is the left area minus 0.5 for positive z.

Sample or population?

Use the sample standard deviation (dividing by n − 1) when your numbers are a sample from a larger group, which is the usual case in class. Use the population standard deviation (dividing by n) only when you have every member of the group. For 2, 4, 4, 4, 5, 5, 7, 9 the population value is 2 and the sample value is 2.1381.

Common questions

Why divide by n − 1?

A sample tends to sit closer to its own mean than to the true population mean, so dividing by n − 1 corrects the variance estimate upward.

How is variance related to standard deviation?

The standard deviation is the square root of the variance. Variance is in squared units; standard deviation is in the original units.

The studio notebook

A useful place to begin.

Clear steps, considered details, and ideas you can put to use.