What is standard deviation in math?
Standard deviation is a number that measures how spread out data values are from their mean: roughly, the typical distance of a value from the mean. A small standard deviation means the values cluster near the mean; a large one means they are spread out. It is the square root of the variance.
Standard Deviation in a picture
Formal definition and notation
For a population of N values with mean μ, the standard deviation is σ = √Σ (x − μ)2N. For a sample of n values with mean x, the sample standard deviation is s = √Σ (x − x)2n − 1. It is always 0 or positive, is 0 only when every value is equal, and has the same units as the data.
| Symbol | Read it as | Meaning |
|---|---|---|
| σ | sigma | standard deviation of a whole population |
| s | s | standard deviation of a sample |
| σ2, s2 | sigma squared, s squared | the variance: the standard deviation before taking the square root |
| Σ | capital sigma | add up all the values that follow |
Key facts
- Standard deviation has the same units as the data. If heights are in inches, the standard deviation is in inches; the variance is in square inches.
- Adding the same number to every value does not change the standard deviation. Multiplying every value by k multiplies it by |k|.
- Like the mean, it is pulled up a lot by an outlier. For skewed data or data with outliers, the median and interquartile range describe the data better.
- For data shaped like a bell (a normal distribution), about 68 percent of values lie within 1 standard deviation of the mean and about 95 percent within 2.
- Dividing by n − 1 for a sample makes the sample standard deviation a little larger, which makes up for a sample usually being less spread out than the whole population.
Standard deviation formula
- x
- each data value
- μ, x
- the mean of the population or the sample
- N, n
- the number of values
- x − μ
- the deviation: how far one value is from the mean
Steps: (1) find the mean; (2) subtract the mean from each value; (3) square each deviation; (4) add the squares; (5) divide by N for a population or n − 1 for a sample; (6) take the square root.
Try it: measure the spread
Edit the data, drag a dot, or press Add an outlier. The blue band covers one standard deviation on each side of the mean, and the readout shows each step of the calculation for a population and for a sample.
Standard Deviation examples, step by step
Example 1: Population standard deviation, step by step
Find the standard deviation of the population 2, 4, 4, 4, 5, 5, 7, 9.
- Mean: 2 + 4 + 4 + 4 + 5 + 5 + 7 + 98 = 408 = 5.
- Deviations from 5: −3, −1, −1, −1, 0, 0, 2, 4.
- Squares: 9, 1, 1, 1, 0, 0, 4, 16. Their sum is 32.
- Divide by N = 8: 328 = 4. This is the variance.
- Square root: σ = √4 = 2.
Answer: The standard deviation is 2.
Example 2: Sample standard deviation
A sample of 5 plants grew 6, 8, 10, 12 and 14 centimeters. Find the sample standard deviation.
- Mean: 505 = 10 centimeters.
- Squared deviations: 16, 4, 0, 4, 16. Sum: 40.
- It is a sample, so divide by n − 1 = 4: 404 = 10.
- Square root: s = √10 ≈ 3.16.
Answer: The sample standard deviation is √10, about 3.16 centimeters.
Example 3: What happens when every value changes?
The quiz scores in a class have a mean of 72 and a standard deviation of 6. The teacher adds 5 points to every score. What are the new mean and standard deviation?
- Adding 5 to every score moves the whole data set up by 5, so the mean becomes 72 + 5 = 77.
- Every score moves together, so each distance from the mean stays the same.
- Same distances give the same standard deviation: still 6.
Answer: The new mean is 77 and the standard deviation stays 6.
Common mistakes
The variance is in squared units. The square root brings the answer back to the units of the data, which is what makes the standard deviation easy to read.
Deviations from the mean always add to 0, because the negatives cancel the positives. Squaring makes every distance count.
Use N only when the data are the entire population. When the data are a sample drawn from a bigger group, divide by n − 1.
Not to be confused with
Variance is the average squared distance from the mean; standard deviation is its square root. For 2, 4, 4, 4, 5, 5, 7, 9 the variance is 4 and the standard deviation is 2.
The range uses only the largest and smallest values (9 − 2 = 7). Standard deviation uses every value’s distance from the mean (2).
Mean absolute deviation averages the distances without squaring: for 2, 4, 4, 4, 5, 5, 7, 9 it is 12 ÷ 8 = 1.5, smaller than the standard deviation of 2.
Quick check: 3 questions
Which data set has the largest standard deviation?
Answer: D. All four sets have mean 10. The values 1 and 19 are farthest from the mean, so that set is most spread out. The first set has standard deviation 0 because every value is the same.Show answer and explanation
The variance of a population is 49 square meters. What is its standard deviation?
Answer: A. Standard deviation is the square root of the variance: √49 = 7 meters. 24.5 halves instead of taking a root, 49 forgets the root and 2401 squares instead.Show answer and explanation
Every value in a data set is multiplied by 3. The old standard deviation was 4. What is the new one?
Answer: C. Multiplying every value by 3 stretches every distance from the mean by 3, so the standard deviation becomes 3 × 4 = 12. 4 is the rule for adding a constant, 7 adds 3, and 36 multiplies by 9, which is how the variance changes, not the standard deviation.Show answer and explanation
Standard Deviation: frequently asked questions
What does a standard deviation tell you?
It tells you how much the values typically differ from the mean. If test scores have a mean of 80 and a standard deviation of 3, most scores are close to 80, roughly from 77 to 83. With a standard deviation of 15, the scores are much more spread out. A standard deviation of 0 means every value is identical.
When do you divide by n − 1 instead of N?
Divide by N when your data are the whole population, such as every student in one class when you only care about that class. Divide by n − 1 when your data are a sample used to estimate a larger population, such as 50 voters chosen from a city. Calculators show both: σ (population) and s (sample).
Can standard deviation be negative?
No. Each squared deviation is 0 or positive, so their average is 0 or positive, and the square root of that is never negative. The smallest possible standard deviation is 0, which happens only when every value in the data set is the same.
Practice and tools
Sources
- Common Core State Standards, High School Statistics and Probability, Interpreting Categorical and Quantitative Data (HSS-ID.A.2, HSS-ID.A.4)
- OpenStax, Statistics, 2.7 Measures of the Spread of the Data
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS HSS-ID.A.2, CCSS HSS-ID.A.4
Cite this entry
Effortless Math Team. “Standard Deviation.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/standard-deviation/
Flashcard
Browse all terms in the Math Dictionary · More statistics terms · Random term



