Opening your learning space
Starting the app …
Opening your learning space
Starting the app …
The standard deviation σ measures the typical spread of a random variable around its expected value μ.
Free to browse · flashcards or a multiple-choice quiz · import from Essential
Formula
σ in the unit of the random variable X · Var(X) in its square
| Symbol | Meaning | Unit |
|---|---|---|
| Standard deviation | same as X | |
| Variance, mean squared deviation | square of X | |
| Expected value of the random variable | same as X |
\sigma = \sqrt{\operatorname{Var}(X)} = \sqrt{E\big((X - \mu)^{2}\big)}Original schematic by Quanta
Free with a Quanta account. Your download stays ready after registration.
The variance averages the squared deviations from the expected value; taking the square root brings the measure back to the unit of the data. For a binomial distribution, . The empirical sample standard deviation s instead divides by n − 1 (Bessel correction). For a normal distribution, about 68.27% of values lie within μ ± σ and 95.45% within μ ± 2σ; discrete binomial intervals need their probabilities computed separately.
Defined for random variables with finite variance. σ describes theoretical distributions; the empirical standard deviation s (dividing by n − 1) describes samples.
Average the squared deviations, then take the square root.
Shortcut formula
Often faster than summing the deviations directly.
Binomial distribution
Short formula for Bernoulli chains, basis of the sigma rules.
Linear transformation
Shifts (+b) do not change the spread.
A die has . Compute the standard deviation.
.
Var = 15.17 − 12.25 = 35/12 ≈ 2.92.
.
, : find μ, σ and the 2σ interval.
and .
The integer 2σ interval is [83; 117]; the exact binomial sum gives .
The 95.45% 2σ rule applies to the continuous normal distribution.
Confusing σ and variance.
The variance is ; the standard deviation is its root and carries the unit of X.
Dividing by n instead of n − 1 for samples.
The empirical standard deviation s uses n − 1 (Bessel correction).
Applying to arbitrary distributions.
The short formula holds only for the binomial distribution.
Averaging deviations without squaring.
Σ(xi − μ)·pi is always 0; only squaring makes spread measurable.
Formula cluster
μ fixes the location, σ the width; together they carry the sigma rules.
Binomial distribution with , : and . For the integer counts , the exact binomial sum gives . This is not the 95.45% normal area within μ ± 2σ; with discrete counts, coverage depends on how interval boundaries are rounded.
Sigma rules and prediction intervals in exams, hypothesis tests, quality control, measurement uncertainty, risk measure in finance
Here is how to work through a typical Standard Deviation (σ = √Var(X)) task step by step:
Task
A die has . Compute the standard deviation.
Solution path
.
Var = 15.17 − 12.25 = 35/12 ≈ 2.92.
.
Task
, : find μ, σ and the 2σ interval.
Solution path
and .
The integer 2σ interval is [83; 117]; the exact binomial sum gives .
The 95.45% 2σ rule applies to the continuous normal distribution.
For a discrete random variable: first determine the expected value μ = Σxi·pi. Then for each value form the deviation xi − μ, square it and weight it with pi; the sum is the variance Var(X) = Σ(xi − μ)2·pi. Finally take the square root: σ = √Var(X). Die example: , , so Var = 15.17 − 3.52 = 2.92 and . Often faster is the shortcut formula Var(X) = E(X2) − μ2, where you only average the squared values. For binomially distributed variables you skip everything: . Important: take the root only at the very end, never of the individual deviations.
σ is the theoretical standard deviation of a distribution, computed from the probability model. s is the empirical standard deviation of a sample, computed from data, and there you divide by n − 1 instead of n: s = √(Σ(xi − x̄)2/(n − 1)). The reason for the Bessel correction: the sample mean x̄ automatically lies "in the middle of" its own data, so deviations from x̄ come out systematically smaller than those from the true μ. Dividing by n − 1 compensates this underestimation and makes an unbiased estimator of the variance. For large n the difference is tiny. Calculators and spreadsheets offer both variants (σn and sn−1, or STDEV.P and STDEV.S); choose by context: whole population or sample.
For a Bernoulli chain with n trials and success probability p, ; q means 1 − p. Example: applications with gives and . The normal-approximation interval μ ± 2σ runs roughly from 83 to 117. For those integer counts, the exact binomial sum is about 95.69%; the continuous 2σ rule itself gives 95.45%. The Laplace condition is met but does not guarantee identical coverage. The formula applies only to binomial distributions. Under the root is , not its square. σ is maximal at , where Bernoulli trials vary most.
It measures how far outcomes typically lie from the expected value: small σ means tightly clustered, large σ widely spread values. Two distributions can have the same mean and completely different spread; only μ and σ together characterize the situation. σ becomes tangible via the sigma rules (for approximately bell-shaped distributions): about 68% of outcomes lie within μ ± σ, 95% within μ ± 2σ, 99.7% within μ ± 3σ. An outcome beyond 2σ is thus already remarkable, beyond 3σ very unusual; hypothesis tests and industrial quality control build exactly on this. Important for interpretation: σ carries the same unit as the measured quantity itself, unlike the variance with its squared unit.
Because simply averaging the deviations always gives zero: positive and negative distances from the expected value cancel exactly, Σ(xi − μ)·pi = 0 is a defining property of μ. So a trick is needed to remove the signs. Squaring does this and is mathematically well-behaved: it is differentiable, penalizes large outliers overproportionally and leads to elegant rules like the additivity of variance for independent variables, from which the √(npq) formula follows. The alternative of averaging absolute values gives the mean absolute deviation; it is intuitive but computationally unwieldy and plays no role in school stochastics. To restore the unit, you take the square root after squaring: that is exactly σ.
Quanta exam set
Curated exam set for "Standard Deviation":
Question (front)
Which formula describes Standard Deviation?
Answer in your set
Question (front)
How do you rearrange Standard Deviation for Shortcut formula?
Answer in your set
Question (front)
Which common mistake happens with Standard Deviation?
Answer in your set
+ 7 more cards: units, variables, derivation, example, exam task
The formula set contains 10 cards. After importing, review them and start practicing; your ratings determine later review intervals.
This list names subject references and further reading. A page or section number appears when it is part of the reference; these are not verbatim quotations.
Create a curated FSRS exam set for σ = √Var(X): formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Curated formula set · LaTeX · FSRS spaced repetition · import from Essential