Standard Deviation Formula

Standard deviation is a measure of how spread out data values are from the mean, representing the typical distance of data points from the average.

The Formula

σ=∑(x−μ)2n

Ask yourself: Do you need the typical distance from the mean, found by squaring the distances, averaging, then taking a square root?

Quick example

Heights with mean 5'6" and SD of 2 inches: most people are between 5'4" and 5'8". With an SD of 6 inches, most heights would fall between about 5'0" and 6'0".

Notation

σ is the population standard deviation, s is the sample standard deviation, σ2 is the variance. The units of SD are the same as the original data.

What this formula means

Standard deviation is a measure of how spread out data values are from the mean, representing the typical distance of data points from the average. A small standard deviation means data clusters tightly around the mean; a large one means data is widely spread.

If the mean is home, standard deviation is the typical distance people wander from it, with long trips counting extra. One friend who strays 10 blocks adds as much to the squared total as 100 friends who each stray 1 block, so a single far-off value raises the standard deviation sharply.

Formal view

For a population: σ=1N∑i=1N(xi−μ)2. For a sample: s=1n−1∑i=1n(xi−xˉ)2.

Worked examples

Example 1

medium
Compute the population SD of 1,3,5,7,9.
Show solution

Answer

σ=22

First step

1.
Mean =25/5=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

medium
Compute the population SD of 2,4,4,4,5,5,7,9.

Example 3

hard
For data {1,2,3,4,5}, compute the population SD.

Common mistakes

  • Thinking SD can be negative (it can't)
  • Comparing SDs across different units
  • Confusing standard deviation (square root of variance) with variance itself

Why this formula matters

Standard deviation is the spread measure used almost everywhere: in factory quality checks, weather records, exam scoring and science experiments. It gives a standard way to say how unusual a value is, so a height two standard deviations above the mean is known to be rare while one just above the mean is not. Without it, "far from average" has no number that means the same thing in different data sets.

Frequently asked questions

What is the Standard Deviation formula?

Standard deviation is a measure of how spread out data values are from the mean, representing the typical distance of data points from the average. A small standard deviation means data clusters tightly around the mean; a large one means data is widely spread.

How do you use the Standard Deviation formula?

Use standard deviation when a question asks how spread out or consistent data are around the mean, names σ or s, or asks how many standard deviations a value is from the mean. It pairs with the mean for roughly symmetric data. For a quick calculation by hand, the MAD gives a similar picture; if the data are skewed or have large outliers, use the median with the IQR instead.

What do the symbols mean in the Standard Deviation formula?

σ is the population standard deviation, s is the sample standard deviation, σ2 is the variance. The units of SD are the same as the original data.

Why is the Standard Deviation formula important in Statistics?

Standard deviation is the spread measure used almost everywhere: in factory quality checks, weather records, exam scoring and science experiments. It gives a standard way to say how unusual a value is, so a height two standard deviations above the mean is known to be rare while one just above the mean is not. Without it, "far from average" has no number that means the same thing in different data sets.

What do students get wrong about Standard Deviation?

Students often know a procedure related to standard deviation but skip the recognition step: Do you need the typical distance from the mean, found by squaring the distances, averaging, then taking a square root? That leads to a calculation or graph that looks reasonable but answers a different question.

What should I learn before the Standard Deviation formula?

Before studying the Standard Deviation formula, you should understand: mean fair share, variability intro.