Menu
numiqo
Statistics made easy

Statistics made easy

8th revised edition (March 2026) - many illustrative examples - only €8.99

Free sample

Standard Deviation

Author: Dr. Hannah Volk-Jesussek
Updated:

What is the Standard Deviation?

The standard deviation is a statistical metric that quantifies the dispersion or variability of data values around their mean. It describes a typical distance from the mean, calculated by squaring the deviations, averaging them, and taking the square root.

What is the standard deviation?

A low standard deviation means that the values are close to the mean, while a high standard deviation indicates that the values are more scattered.

Calculation of the Standard Deviation

To calculate the standard deviation, we first need to calculate the mean. We get the mean by simply adding up the heights of all the people and dividing by the number of people. Let's assume we get a mean of 155 cm. Now, we want to know how much each person deviates from the mean.

Example Standard Deviation

Looking only at the size of each deviation, the first person's height is 18 cm from the mean, the second person's is 8 cm from the mean, the third person's is 15 cm from the mean, the fourth person's is 8 cm from the mean, the fifth person's is 9 cm from the mean, and the last person's is 6 cm from the mean. Simply put, people who are very tall or very short are farther from the mean.

Now, we are not interested in the deviation of each individual person from the mean, but we want to know how much the people, on average, deviate from the mean, and that is exactly what the standard deviation tells us.

Standard Deviation

In our example, the root-mean-square deviation from the mean is 11.5 cm when we treat the six people as the entire population. We use the following population formula:

Standard Deviation Formula

The standard deviation is the square root of the average squared deviation from the mean. For a population, we divide the sum of squared deviations by n. When a sample is used to estimate population variability, we divide by n - 1.

For our example, this means we calculate the height of the first person minus the mean and square it, the height of the second person minus the mean and square it, and so on until we reach the last person.

Standard Deviation Formula Example

Then, we divide this by the number of people, i.e., 6, and take the square root. The result is a standard deviation of 11.5 cm. This value represents the typical distance of the heights from their mean; it is not the arithmetic mean of the distances. More precisely, it is the population standard deviation because we assume that these six people constitute the entire population. The two formulas are discussed below.

Why not simply add the signed deviations and divide by the number of people? Values below the mean have negative deviations and values above it have positive deviations, so the signed deviations always sum to zero.

The standard deviation avoids this cancellation by using a quadratic mean: square the deviations, average the squared values, and then take the square root. A different measure, the mean absolute deviation, instead averages the absolute distances from the mean.

Average Deviation from the Mean

Two Different Formulas

So far, so good. Now there is one more thing to consider! There are two slightly different formulas for the standard deviation.

Different Standard Deviation Formulas

The difference is that the population variance uses n in the denominator, while the usual sample variance uses n - 1. The standard deviation is the square root of the corresponding variance. But why are there two different formulas?

Often, we want to know the standard deviation of an entire population. For example, we might want to know the standard deviation of the heights of all German professional football players.

If we had the height of all German professional football players, we would use the formula that divides by n.

Population Standard Deviation

However, it is usually not possible to survey the entire population, which is why we take a sample. We then use this sample to estimate the standard deviation of the population. In this case, the usual sample standard deviation is the square root of the sample variance, for which the sum of squared deviations is divided by n - 1. This correction accounts for the fact that the population mean is estimated from the same sample and reduces systematic underestimation of the population variance.

Estimated Standard Deviation

In practice, use the formula with n - 1 when the data are a sample and the goal is to estimate variability in a larger population. If the available values are being described as the complete population of interest, use the formula with n.

Standard Deviation vs. Variance

What is the difference between standard deviation and variance? The variance is the average squared deviation from the mean (using the appropriate population or sample denominator). The standard deviation is the square root of the variance.

Standard Deviation and Variance

So, we almost have the same formula! The only difference is that for the standard deviation, we take the square root. For the variance, we do not.

Because the square root is taken, the standard deviation has the same unit as the original data—in our case, centimeters. This often makes the standard deviation easier to interpret when describing data.

Standard Deviation vs Variance

The variance is more difficult to interpret because the unit is the square of the original unit. In our case, cm2.


Statistics made easy

  • many illustrative examples
  • ideal for exams and theses
  • statistics made easy on 464 pages
  • 8th revised edition (March 2026)

Only €8.99

Free sample
numiqo

"Super simple written"

"It could not be simpler"

"So many helpful examples"

Cite numiqo: numiqo Team (2026). numiqo: Online Statistics Calculator. numiqo e.U. Graz, Austria. URL https://numiqo.com