Standard deviation

Standard deviation: A measure of how spread out a set of values is around its mean. A small standard deviation means values cluster tightly; a large one means they scatter widely.

For assumed data 5, 6 and 7, sample standard deviation is 1. For 0, 6 and 12, sample standard deviation is 6. Both means are 6.

Treating each list as the full population instead gives √(2/3) and √24 respectively, so the divisor convention must be stated.

Standard deviation: interpretation pitfalls

Choosing the denominator without identifying the population. The n−1 variance correction concerns a sampling model; it is not a rule that the larger displayed deviation is always the right description.

Standard deviation: comparisons with other measurements

Variance is in squared measurement units. Standard deviation is its square root in the original units. Range uses just the endpoints.

Standard error instead describes uncertainty in an estimated quantity under a specified sampling model.

Standard deviation: limits of the definition

Outliers and skew can make other summaries useful alongside deviation. Small samples give uncertain estimates. State whether the values represent the whole population or a sample; the denominator and interpretation differ.

Understanding Standard deviation

Standard deviation gives the typical distance from the average, in the data's own units, and that is what makes a mean interpretable. Two datasets with the same average can be a tight cluster or a wide scatter, and the average alone cannot tell them apart. A single example makes it concrete.

Two classes average 70 on a test. In one, almost everybody scored between 65 and 75. In the other, half the class scored 95 and half scored 45.

Same average. Completely different classes, and only the spread shows it.

Using Standard deviation

Scientists use it to describe variability, statisticians use it in confidence intervals and tests, and quality engineers use it in control charts; investors treat it as a measure of risk; teachers use it to see how spread out scores are. In a roughly bell-shaped distribution, about 68% of values fall within one standard deviation of the mean and about 95% within two. That rule of thumb turns the number into a practical picture.

Standard deviation: follow the example through

Assumed example: Take the data 4, 8, 6, 5 and 7. The mean is 6. Each value's distance from the mean is −2, 2, 0, −1 and 1, and squaring those gives 4, 4, 0, 1 and 1, which sum to 10.

Divide by 5 for the population variance, 2, and take the square root: a standard deviation of 1.41. If the numbers are a sample from a larger group, divide by 4 instead and the sample standard deviation is 1.58. Two datasets can share a mean and differ hugely in spread: 5, 6, 7 and 0, 6, 12 both average 6, with sample standard deviations of 1 and 6; the measure captures that difference.

Standard deviation: distinguish the related terms

For measurements expressed in millimeters, an assumed variance of 9 mm² corresponds to a standard deviation of 3 mm. Converting every observation to centimeters gives variance 0.09 cm² and deviation 0.3 cm; the physical spread has not changed. Range uses only the two extreme observations.

The standard error instead describes uncertainty in an estimated mean and, under the stated independent-observation model, decreases with sample size. Population and sample versions use different denominators. Financial return volatility is commonly expressed as a standard deviation.

Standard deviation: calculation reference

Population σ = √(Σ(x−mean)²÷n); sample s = √(Σ(x−mean)²÷(n−1))

Standard deviation: assumed inputs and calculated quantities
QuantityEntered or calculated amountMeaning
Number of observations to include6Uses the first 1–6 value slots; an included zero is data, not a missing-value marker.
Value 112Explicit example input.
Value 218Explicit example input.
Value 39Explicit example input.
Value 422Explicit example input.
Value 515Explicit example input.
Value 620Explicit example input.
Population standard deviation4.5Result under the listed assumptions.
Sample standard deviation4.9Result under the listed assumptions.
Population standard deviation by Number of observations to includeStandard Deviation Calculator. Assumed Number of observations to include values and their calculated Population standard deviation. Value 1: 12; Value 2: 18; Value 3: 9; Value 4: 22; Value 5: 15; Value 6: 20102333.745.154.564.5
Population standard deviation by Value 1Standard Deviation Calculator. Assumed Value 1 values and their calculated Population standard deviation. Number of observations to include: 6; Value 2: 18; Value 3: 9; Value 4: 22; Value 5: 15; Value 6: 20104.9114.7124.5134.4144.3
Sample standard deviation by Number of observations to includeStandard Deviation Calculator. Assumed Number of observations to include values and their calculated Sample standard deviation. Value 1: 12; Value 2: 18; Value 3: 9; Value 4: 22; Value 5: 15; Value 6: 2024.234.645.955.164.9

Standard Deviation Calculator: change the inputs and compare the resulting cases

When do I divide by n minus one?

For a sample, to correct the tendency to underestimate the spread of the population. Use n when you have the whole population.

What does a large standard deviation mean?

The values are spread widely around the mean. A small one means they cluster closely. The number uses the same units as the observations.

Dataset scope and population-versus-sample treatment affect the standard-deviation result.

Note whether the sample or population formula was used.

Standard deviation: other glossary lookups