CalcWisp

Standard Deviation

Also called: SD, ฯƒ, sample standard deviation, population standard deviation

Definition: Standard deviation is a measure of spread equal to the square root of the variance; it shows how far values typically fall from the mean, in the same units as the data.

Updated October 24, 2026 ยท How we check facts

Standard deviation summarizes how spread out a set of numbers is. A small standard deviation means values cluster near the mean; a large one means they are scattered. It is the square root of the variance, and the NIST/SEMATECH e-Handbook notes that taking the root restores the units of the spread to the original data units, since variance squares them. Two versions exist: the sample standard deviation (s), which divides by n โˆ’ 1 and estimates the spread of a larger population, and the population standard deviation (ฯƒ), which divides by n and describes a complete group.

Formula

s = โˆš[ ฮฃ (xแตข โˆ’ xฬ„)ยฒ รท (n โˆ’ 1) ]     (sample)
ฯƒ = โˆš[ ฮฃ (xแตข โˆ’ ฮผ)ยฒ รท n ]           (population)
  • xแตข: each value.
  • xฬ„ or ฮผ: the mean of the values.
  • n: the number of values.
  • ฮฃ: the sum over all values.

In Excel, STDEV.S returns the sample version and STDEV.P the population version.

Example

Data: 2, 4, 4, 4, 5, 5, 7, 9 (n = 8).

  1. Mean = 40 รท 8 = 5.
  2. Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16, which sum to 32.
  3. Population: ฯƒ = โˆš(32 รท 8) = โˆš4 = 2.
  4. Sample: s = โˆš(32 รท 7) โ‰ˆ โˆš4.571 โ‰ˆ 2.138.

The standard deviation calculator returns both versions, and the step-by-step guide walks through each stage. The mean, median and mode calculator or average calculator handles step 1.

Common mistakes

  • Using the population formula on a sample, which understates the spread, most noticeably in small samples.
  • Reporting variance when standard deviation was asked for, or the reverse. Variance is in squared units.
  • Treating standard deviation as robust. NIST notes it is less reliable for long-tailed data, where measures such as the interquartile range may suit better.

Calculate it

๐Ÿ“ŠFree toolStandard Deviation CalculatorSample or population SD, with the full working.๐Ÿ“‰Free toolMean, Median, Mode CalculatorAll three averages, plus variance, from one list.๐Ÿ“ŠFree toolAverage CalculatorMean, median, mode and more from any list of numbers.

Guides that explain it

Related terms

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods โ€” 1.3.5.6 Measures of Scale
  2. Microsoft Support โ€” STDEV.S function
  3. Microsoft Support โ€” STDEV.P function