Standard Deviation Formula

The standard deviation measures the root-mean-square distance of data values from the mean (the square root of the average squared distance), giving a typical spread around the center.

The Formula

σ=∑(x−μ)2n

Ask yourself: Am I measuring how far values typically fall from the mean, in the data's own units?

Quick example

Data: 5, 5, 5, 5 has SD =0. Data: 1, 3, 5, 7, 9 has SD ≈2.83.

Notation

σ for population SD, s for sample SD (which divides by n−1)

What this formula means

The standard deviation measures the root-mean-square distance of data values from the mean (the square root of the average squared distance), giving a typical spread around the center.

Mark the center of where a player's darts landed. The standard deviation is the typical distance of a dart from that center: a steady player's darts sit within a centimeter or two, a wild player's sprawl across the board. One difference from a plain average distance: squaring makes a single far miss count extra.

Formal view

σ=1n∑i=1n(xi−μ)2 (population); s=1n−1∑i=1n(xi−xˉ)2 (sample)

Worked examples

Example 1

medium
Find the population standard deviation of {2,4,4,4,5,5,7,9}.
Show solution

Answer

σ=2

First step

1.
Compute the mean: xˉ=2+4+4+4+5+5+7+98=408=5.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
Find the sample standard deviation of {10,12,23,23,16,23,21,16}.

Example 3

medium
Find the population standard deviation of {3,7,7,19}.

Common mistakes

  • Forgetting the square root — that gives variance, not standard deviation.
  • Dropping the squaring of deviations — positive and negative distances would cancel; square them first.
  • Dividing a sample by n when you should divide by n−1 — sample SD (s) uses n−1, population SD (σ) uses n.

Why this formula matters

Two classes can share a mean of 80 while one scores 78 to 82 and the other 50 to 110; the mean alone cannot tell them apart. The standard deviation can (about 1.4 points against 21.2), and it becomes the unit for how unusual a value is: in bell-shaped data, a score 2 SDs above the mean beats about 97.5% of the group, whatever the test.

Frequently asked questions

What is the Standard Deviation formula?

The standard deviation measures the root-mean-square distance of data values from the mean (the square root of the average squared distance), giving a typical spread around the center.

How do you use the Standard Deviation formula?

Use the standard deviation when a problem asks how consistent, spread out or variable values are around their mean and wants the answer in the data's units. It is also the step before z-scores and normal-curve questions ('within 2 standard deviations'). Divide by n for a whole population and by n−1 for a sample. If the data has strong outliers or is skewed, the IQR is a sturdier spread; if a formula needs squared units, keep the variance.

What do the symbols mean in the Standard Deviation formula?

σ for population SD, s for sample SD (which divides by n−1)

Why is the Standard Deviation formula important in Math?

Two classes can share a mean of 80 while one scores 78 to 82 and the other 50 to 110; the mean alone cannot tell them apart. The standard deviation can (about 1.4 points against 21.2), and it becomes the unit for how unusual a value is: in bell-shaped data, a score 2 SDs above the mean beats about 97.5% of the group, whatever the test.

What do students get wrong about Standard Deviation?

The procedure for standard deviation is the easy part; the trap is forgetting the square root. Asking "Am I measuring how far values typically fall from the mean, in the data's own units?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Standard Deviation formula?

Before studying the Standard Deviation formula, you should understand: mean, square roots.