Definition · applies to random variables and data

High school

Consider data, or a random variable. The standard deviation $\sigma$ is the square root of the variance, and it measures how far values typically are from the mean, in the same units as the data:

\[\sigma = \sqrt{\operatorname{Var}}.\]
Undergraduate (random variables)

Consider a random variable $X$ with a finite expected value $\mu = \mathbb{E}[X]$ and a finite variance. The standard deviation of $X$ is

\[\sigma = \sqrt{\mathbb{E}[(X - \mu)^2]}.\]

Examples

Worked examples

  • Value:

    $\sqrt{74 / 9} \approx 2.87$

  • Value:

    $\sqrt{35 / 12} \approx 1.71$

  • Value:

    $\sigma = \sqrt{6}/30 \approx 0.082$ m

    The standard deviation of the heights $1.6$, $1.7$, and $1.8$ m is the square root of the variance: \[\sigma = \sqrt{\frac{1}{150}} = \frac{\sqrt{6}}{30} \approx 0.082 \ \mathrm{m}.\] The standard deviation is in meters, like the heights.

Properties

  • The standard deviation has the same units as the data, unlike the variance, whose units are squared.
  • Scaling a random variable scales its standard deviation by the absolute value of the factor, and shifting the random variable does not change its standard deviation: $\sigma_{a X + b} = \abs{a} \sigma_X$.
  • For a normal distribution, about $68\%$ of the values lie within one standard deviation of the mean, about $95\%$ within two, and about $99.7\%$ within three.
  • (Chebyshev’s inequality.) For every random variable with a finite variance and every $k > 0$, the probability of a value more than $k$ standard deviations from the mean is at most $1 / k^2$: \[P(\abs{X - \mu} \geq k \sigma) \leq \frac{1}{k^2}.\]
  • The standard deviation of a sample, $s$, uses the sample variance, which divides by $n - 1$ instead of $n$.

Distinctions involving this term

All definitions · All distinctions · All examples · Notation