Basic StatisticsIntermediate· 9 min read

Standard Deviation: Measuring the Spread of Data

Two data sets can have the same mean and tell completely different stories. Standard deviation reveals how far data stray from the center.

RF

Renato Freitas

Updated on May 5, 2026

Why the mean does not tell the whole story

Consider two classes with the same average grade of 7. In Class A, every student scored exactly 7. In Class B, half scored 4 and the other half scored 10. The mean is identical, but the behavior of the two classes is completely different. To capture that difference, we need a measure of dispersion — and standard deviation is the most widely used.

Dispersion indicates how far values stray from the mean. Low dispersion means data are clustered close to the center; high dispersion means they are spread out. In industrial quality control, for example, a high standard deviation in manufactured parts means inconsistency — a serious problem.

🧮 Try it yourself — CalcSim

Want more features? Download CalcSim IA app

From deviation to variance, from variance to standard deviation

The path to standard deviation starts by calculating the deviation of each value from the mean: we subtract the mean from each element. For Class B (4, 4, 4, 4, 4, 10, 10, 10, 10, 10 with mean 7), the deviations are −3 and +3. If we sum these deviations, we get zero — the negatives and positives cancel out.

To fix this, we square each deviation (making all values positive), sum them, and divide by the number of elements. This gives us the variance. Standard deviation is simply the square root of the variance, which brings the result back to the original unit of the data.

For an entire population, we divide by the total number N. For a sample (a subset of the population), we divide by N−1 — this correction, known as Bessel's correction, makes the estimate more accurate. In calculators and spreadsheets, the symbol σ (sigma) refers to population standard deviation and s to sample standard deviation.

  • Step 1: calculate the mean
  • Step 2: subtract the mean from each value (calculate deviations)
  • Step 3: square each deviation
  • Step 4: calculate the average of the squares (variance)
  • Step 5: take the square root (standard deviation)

Interpreting standard deviation

A standard deviation of 2 in grades on a 0-to-10 scale is relatively small; the same value in salaries of $3,000 is also small. Standard deviation must be interpreted relative to the scale of the data and the mean.

In normal distributions (the famous bell curve), about 68% of data fall within 1 standard deviation of the mean, 95% within 2, and 99.7% within 3. This rule — called the 68-95-99.7 rule — is a powerful tool. If the average adult height is 170 cm with a standard deviation of 8 cm, we can state that approximately 95% of people are between 154 cm and 186 cm.

Frequently asked questions

What is the difference between variance and standard deviation?

Variance is the average of the squared deviations — it is in squared units (cm², $², etc.), which makes direct interpretation difficult. Standard deviation is the square root of variance and is in the same unit as the original data, making it much more intuitive.

When should I use N and when N−1?

Use N when the data represent the entire population you want to describe. Use N−1 when the data are a sample and you want to estimate the standard deviation of the full population. In practice, for medium to large samples the difference is small.

Is a high standard deviation always bad?

Not necessarily. In quality control, low standard deviation is desirable (consistent parts). But in investments, higher standard deviation may mean greater return potential (along with greater risk). Context determines whether dispersion is desirable or not.

How does standard deviation change if I add the same value to all data points?

It does not change. Adding a constant to all values shifts the mean but does not alter the spread. If all grades go up by 2 points, the relative distances between them remain the same, keeping the standard deviation unchanged.

Was this article helpful?

Rate with stars to help us improve the content.

Sign in to rate this article.

Still have questions?

The AI Professor explains step by step

Ask a question in natural language and get a personalised explanation about Basic Statistics — or any other topic.

Prefer to solve it on your phone?

Download the free app →

Keep learning