Skip to content
AllCalcHub

Standard Deviation Calculator

Find the standard deviation of a data set, sample or population, with a step-by-step table.

About the Standard Deviation Calculator

Standard deviation measures how spread out numbers are around their mean, in the same units as the data. A small SD means values cluster tightly; a large one means they're scattered.

For roughly bell-shaped data, about 68% of values fall within 1 SD of the mean, 95% within 2 SD and 99.7% within 3 SD.

The formula

s = √( Σ(x − x̄)² ÷ (n − 1) ), σ = √( Σ(x − μ)² ÷ N )

n − 1
sample: Bessel's correction for estimating from a sample
N
population: every member is included

Worked example

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

  1. Mean = 5
  2. Squared deviations sum to 32
  3. σ² = 32 ÷ 8 = 4, σ = 2

Questions people ask

Why divide by n − 1?

A sample's own mean sits closer to its values than the true population mean does, so dividing by n underestimates the spread. n − 1 corrects that.

Is variance ever negative?

No. It's a sum of squares, so it's zero or positive.