Quick definition
Standard deviation (SD) is a number that tells you how spread out a set of values is from its mean (average). A low standard deviation means the values are bunched close to the average; a high standard deviation means they’re spread far apart. It’s written σ (sigma) for a population and s for a sample, and it’s the square root of the variance.
Symbols: σ (population), s (sample), SD, σx / Sx on calculators · Units: same as the data · Square: variance (σ² or s²)
What Does Standard Deviation Mean?
Think of standard deviation as the typical distance between a value and the average. It answers the question: “If I pick a value from this data, how far from the mean is it, usually?”
| Class | Test scores | Mean | Standard deviation | What it tells you |
|---|---|---|---|---|
| Class A | 78, 79, 80, 81, 82 | 80 | about 1.4 | Everyone scored close to 80 |
| Class B | 60, 70, 80, 90, 100 | 80 | about 14.1 | Scores were widely spread out |
Both classes have the same mean, but the standard deviation shows that Class B is far less consistent. That’s why the mean alone can hide important differences.
What Does a High or Low Standard Deviation Mean?
| Low standard deviation | High standard deviation | |
|---|---|---|
| Data looks like | Tightly clustered around the mean | Spread out, far from the mean |
| Means | Consistent, predictable | Varied, less predictable |
| Everyday example | Bottles filled to almost exactly 500 ml | Daily temperatures in a place with wild weather |
| In investing | Steadier returns, lower volatility | Bigger swings, higher volatility |
“High” is relative: an SD of 5 is large for shoe sizes but tiny for house prices. Compare the standard deviation with the mean and the units of the data, or use the coefficient of variation (SD ÷ mean).
Standard Deviation Formula
There are two versions, depending on whether your data is a whole population or a sample taken from one:
| Population | Sample | |
|---|---|---|
| Symbol | σ (sigma) | s |
| Formula | σ = √[ Σ(x − μ)² ÷ N ] | s = √[ Σ(x − x̄)² ÷ (n − 1) ] |
| Divide by | N (number of values) | n − 1 (one less than the number of values) |
| Excel / Google Sheets | =STDEV.P() | =STDEV.S() |
Here Σ means “add up,” x is each value, μ and x̄ are the population and sample means, and N and n are the counts. See our mean symbol page for what μ and x̄ mean.
How to Find the Standard Deviation (Step by Step)
Let’s use the data set 2, 4, 4, 4, 5, 5, 7, 9.
- Step 1, find the mean: (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) ÷ 8 = 40 ÷ 8 = 5.
- Step 2, subtract the mean from each value: −3, −1, −1, −1, 0, 0, 2, 4.
- Step 3, square each difference: 9, 1, 1, 1, 0, 0, 4, 16.
- Step 4, add the squares: 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32.
- Step 5, divide: population: 32 ÷ 8 = 4 (the variance). Sample: 32 ÷ 7 ≈ 4.57.
- Step 6, take the square root: population σ = √4 = 2. Sample s = √4.57 ≈ 2.14.
Population SD = 2 · Sample SD ≈ 2.14
On average, the values sit about 2 units from the mean of 5.
Why Divide by n − 1 for a Sample?
A sample usually misses some of the extreme values in the full population, so it tends to look a little less spread out than reality. Dividing by n − 1 instead of n makes the result slightly bigger, which corrects for that bias. This adjustment is called Bessel’s correction. With large samples, the difference between the two versions becomes tiny.
Standard Deviation vs. Variance
| Variance | Standard deviation | |
|---|---|---|
| Symbol | σ² or s² | σ or s |
| How it’s found | Average of the squared distances from the mean | Square root of the variance |
| Units | Squared units (e.g., dollars²) | Same units as the data (e.g., dollars) |
| Easier to interpret? | No | Yes |
So yes: variance is the standard deviation squared. Statisticians use variance in many formulas because it adds up neatly, but they report standard deviation because it’s in the same units as the data.
The 68-95-99.7 Rule (Empirical Rule)
When data follows a normal distribution (a bell curve), standard deviation tells you where most values fall:
| Range | Share of values | Example: adult heights, mean 69 in, SD 3 in |
|---|---|---|
| Mean ± 1 SD | About 68% | 66 to 72 inches |
| Mean ± 2 SD | About 95% | 63 to 75 inches |
| Mean ± 3 SD | About 99.7% | 60 to 78 inches |
A value more than 2 or 3 standard deviations from the mean is unusual and is often treated as an outlier. How many standard deviations a value sits from the mean is its z-score.
Standard Deviation Symbols: σ, s, SD, Sx
| Symbol | Where you see it | Means |
|---|---|---|
| σ (lowercase sigma) | Textbooks, formulas | Population standard deviation |
| s | Textbooks, formulas | Sample standard deviation |
| SD | Research papers, medical and psychology reports | Standard deviation (usually of a sample) |
| σx | TI calculators | Population standard deviation |
| Sx | TI calculators | Sample standard deviation |
| σ² / s² | Formulas | Variance |
Standard Deviation vs. Standard Error
These are easy to mix up. Standard deviation describes how spread out the individual values are. Standard error (SE) describes how much a sample’s mean would vary if you repeated the study, so it measures precision. The formula is SE = SD ÷ √n, which is why bigger samples give smaller standard errors. A poll’s margin of error is based on the standard error.
How to Calculate Standard Deviation in Excel or Google Sheets
| Function | Use it for |
|---|---|
| =STDEV.S(A1:A10) | Sample standard deviation (most common) |
| =STDEV.P(A1:A10) | Population standard deviation |
| =VAR.S(A1:A10) | Sample variance |
| =AVERAGE(A1:A10) | The mean |
Older spreadsheets also accept =STDEV() (sample) and =STDEVP() (population). For the other measures of center, see mean vs. median vs. mode.
Frequently Asked Questions
What does standard deviation mean in simple terms?
Standard deviation tells you how spread out numbers are from their average. A small standard deviation means most values are close to the mean; a large one means they’re scattered far from it.
What does a high standard deviation mean?
A high standard deviation means the data is widely spread out, with many values far from the mean. For example, test scores with an SD of 20 points vary much more than scores with an SD of 5.
What does a low standard deviation mean?
A low standard deviation means the values are clustered close to the mean, so the data is consistent and predictable.
What is the symbol for standard deviation?
The population standard deviation is σ (lowercase Greek sigma), and the sample standard deviation is s. Calculators often show it as σx and Sx, and research papers write SD.
Is variance the same as standard deviation squared?
Yes. Variance is the standard deviation squared, and the standard deviation is the square root of the variance. Variance is in squared units, so standard deviation is easier to interpret.
Why do you divide by n − 1 for a sample?
Dividing by n − 1 instead of n (called Bessel’s correction) corrects for the fact that a sample tends to underestimate how spread out the whole population is.
What is the 68-95-99.7 rule?
In a normal (bell-shaped) distribution, about 68% of values fall within 1 standard deviation of the mean, about 95% within 2, and about 99.7% within 3.
What is the difference between standard deviation and standard error?
Standard deviation describes how spread out individual values are. Standard error describes how precise a sample mean is; it equals the standard deviation divided by the square root of the sample size.
Reviewed against introductory statistics textbooks (including OpenStax Introductory Statistics), NIST engineering statistics guidance, and Microsoft Excel documentation. Last reviewed: November 2026.
