Standard deviation calculator
Spread of your data, step by step
Spread of your data, step by step
Type your numbers and choose whether they are a sample or the whole population.
Mean = sum ÷ n. Add up (value − mean)² for every value. Variance = that total ÷ n (population) or ÷ (n − 1) (sample). Standard deviation = √variance.
Data 2, 4, 4, 4, 5, 5, 7, 9: mean = 40 ÷ 8 = 5; squared deviations 9+1+1+1+0+0+4+16 = 32; population variance = 32 ÷ 8 = 4, so SD = 2. As a sample: 32 ÷ 7 ≈ 4.571, SD ≈ 2.138.
A sample's own mean sits closer to its values than the true population mean does, so the spread looks slightly smaller than it really is. Dividing by n − 1 instead of n corrects this bias; with large samples the difference becomes tiny.
A value more than 2 standard deviations from the mean is uncommon in roughly normal data, and more than 3 is rare. This is a quick way to flag possible errors or outliers before analysing data.
The square of the standard deviation; it is in squared units, so SD is easier to read.
No. It is zero when all values are equal and positive otherwise.
Not necessarily; it simply means the values are more spread out.