- Home
- Statistics
- Standard Deviation Calculator
Standard Deviation Calculator
Standard deviation measures how spread out numbers are around their mean. For 2, 4, 4, 4, 5, 5, 7, 9 the population standard deviation is 2 and the sample standard deviation is 2.138.
Not sure whether to use sample or population? If your numbers are only part of a bigger group (a survey, a test batch), use sample. That is the right choice most of the time.
Standard deviation of a list of numbers
How we got this
Compare options
Row 1 follows the calculator above. Edit any cell.Bulk mode
My saved calculations
Stored only in this browser. Nothing is sent to our servers.Country & format
Change the country edition from the menu at the top.Your next step
Your answer carries over, so you donโt have to type it again.
Formulas
| Formula | |
|---|---|
| Population SD (ฯ) | ฯ = โ( ฮฃ(x โ ฮผ)ยฒ รท N ) |
| Sample SD (s) | s = โ( ฮฃ(x โ xฬ)ยฒ รท (n โ 1) ) |
| Variance | The SD squared |
Dividing by n โ 1 for a sample (Besselโs correction) corrects for the fact that a sample tends to look less spread out than the whole population.
Worked example
Data 2, 4, 4, 4, 5, 5, 7, 9: mean = 40 รท 8 = 5. Squared differences: 9, 1, 1, 1, 0, 0, 4, 16, total 32. Population variance = 32 รท 8 = 4, so ฯ = 2. Sample variance = 32 รท 7 = 4.571, so s = 2.138.
What the number tells you
For data that roughly follows a bell curve, about 68% of values lie within 1 SD of the mean, 95% within 2 SD and 99.7% within 3 SD. A small SD means values cluster tightly; a large one means they are spread out.
In Excel and Google Sheets
| Want | Function |
|---|---|
| Sample SD | =STDEV.S(A1:A20) |
| Population SD | =STDEV.P(A1:A20) |
| Sample variance | =VAR.S(A1:A20) |
Frequently asked questions
Should I use sample or population standard deviation?
Use sample if your data is a subset of a larger group, which is most real situations. Use population only when you have every member of the group.
What is a good standard deviation?
There is no universal good value. Compare it with the mean: the coefficient of variation (SD รท mean) shows the spread relative to the size of the numbers.
What is the difference between variance and standard deviation?
Variance is the average squared distance from the mean; standard deviation is its square root, in the same units as the data.
Why divide by n โ 1?
It corrects the bias that comes from estimating the mean from the same sample.