Standard Deviation Calculator
Type or paste numbers separated by commas, spaces or new lines. Decimals and negative numbers are fine. Use "sample" if your numbers are only part of a bigger group, which is the usual case.
Sample standard deviation (s) = 1.9235
- Mean: 5.2
- Variance: 3.7
- Count (n): 5
- Population SD: 1.7205
- Coefficient of variation: 36.9911%
Step-by-step solution
- Count the values: n = 5. The data are 4, 8, 6, 5, 3.
- Find the mean: add the values (26) and divide by 5. Mean = 5.2.
- Subtract the mean from each value and square the result:
x x − mean (x − mean)² 4 -1.2 1.44 8 2.8 7.84 6 0.8 0.64 5 -0.2 0.04 3 -2.2 4.84 - Add the squared differences: sum of squares = 14.8.
- Divide by n − 1 = 4 (sample): variance = 14.8 ÷ 4 = 3.7.
- Take the square root of the variance: s = √3.7 = 1.9235.
Example shown: the default numbers above. Change them and press Calculate.
What you get when you use this calculator
Every result includes the answer, a picture of what the answer means and the full working, so you can check the method as well as the number.
How to use the Standard Deviation Calculator
- Type or paste your numbers into the box above.
- Press Calculate (or hit Enter).
- Read the highlighted answer, check the picture, then follow the numbered steps to see how it was found.
- Use Copy answer to paste the result into your homework or notes.
Formula and method
| Sample SD | s = √[ Σ(x − x̄)² ÷ (n − 1) ] |
|---|---|
| Population SD | σ = √[ Σ(x − μ)² ÷ n ] |
| Variance | The standard deviation squared |
Worked examples
Example 1: 4, 8, 6, 5, 3 (sample)
Sample standard deviation (s) = 1.9235
- Count the values: n = 5. The data are 4, 8, 6, 5, 3.
- Find the mean: add the values (26) and divide by 5. Mean = 5.2.
- Subtract the mean from each value and square the result:
x x − mean (x − mean)² 4 -1.2 1.44 8 2.8 7.84 6 0.8 0.64 5 -0.2 0.04 3 -2.2 4.84 - Add the squared differences: sum of squares = 14.8.
- Divide by n − 1 = 4 (sample): variance = 14.8 ÷ 4 = 3.7.
- Take the square root of the variance: s = √3.7 = 1.9235.
Example 2: 10, 12, 23, 23, 16, 23, 21,… (sample)
Sample standard deviation (s) = 5.2372
- Count the values: n = 8. The data are 10, 12, 23, 23, 16, 23, 21, 16.
- Find the mean: add the values (144) and divide by 8. Mean = 18.
- Subtract the mean from each value and square the result:
x x − mean (x − mean)² 10 -8 64 12 -6 36 23 5 25 23 5 25 16 -2 4 23 5 25 21 3 9 16 -2 4 - Add the squared differences: sum of squares = 192.
- Divide by n − 1 = 7 (sample): variance = 192 ÷ 7 = 27.428571.
- Take the square root of the variance: s = √27.428571 = 5.2372.
Example 3: 2, 4, 4, 4, 5, 5, 7, 9 (population)
Population standard deviation (σ) = 2
Show the steps
- Count the values: n = 8. The data are 2, 4, 4, 4, 5, 5, 7, 9.
- Find the mean: add the values (40) and divide by 8. Mean = 5.
- Subtract the mean from each value and square the result:
x x − mean (x − mean)² 2 -3 9 4 -1 1 4 -1 1 4 -1 1 5 0 0 5 0 0 7 2 4 9 4 16 - Add the squared differences: sum of squares = 32.
- Divide by n = 8 (population): variance = 32 ÷ 8 = 4.
- Take the square root of the variance: σ = √4 = 2.
Example 4: 1.5, 2.5, 2.5, 2.75, 3.25, … (sample)
Sample standard deviation (s) = 1.0811
Show the steps
- Count the values: n = 6. The data are 1.5, 2.5, 2.5, 2.75, 3.25, 4.75.
- Find the mean: add the values (17.25) and divide by 6. Mean = 2.875.
- Subtract the mean from each value and square the result:
x x − mean (x − mean)² 1.5 -1.375 1.8906 2.5 -0.375 0.1406 2.5 -0.375 0.1406 2.75 -0.125 0.0156 3.25 0.375 0.1406 4.75 1.875 3.5156 - Add the squared differences: sum of squares = 5.84375.
- Divide by n − 1 = 5 (sample): variance = 5.84375 ÷ 5 = 1.16875.
- Take the square root of the variance: s = √1.16875 = 1.0811.
Practice problems
Try each one on paper first, then open the answer.
Problem 1: 7, 9, 3, 6, 5 (sample)
Sample standard deviation (s) = 2.2361
Problem 2: 12, 15, 11, 18, 14, 20 (population)
Population standard deviation (σ) = 3.1623
Problem 3: 100, 102, 98, 105, 95 (sample)
Sample standard deviation (s) = 3.8079
Frequently asked questions
What does standard deviation tell you?
It tells you how far values typically sit from the mean. A small standard deviation means the numbers are bunched close to the average, and a large one means they are spread out.
Should I use sample or population standard deviation?
Use population when your numbers are every member of the group you care about. Use sample when they are only a subset, which is the usual case, because dividing by n − 1 corrects the tendency to underestimate spread.
Is standard deviation the square root of variance?
Yes. Variance is the average squared distance from the mean, and standard deviation is its square root, which puts the answer back in the same units as your data.
Can standard deviation be negative or zero?
It can never be negative. It is zero only when every value is identical, because then nothing differs from the mean.
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 as a percentage, which makes different data sets comparable.
Learn the method
How to Find Standard Deviation Step by Step (Formula + Examples)
Learn how to find standard deviation in 5 steps with the formula, a full worked example and the difference between sample and population.
Sample vs Population Standard Deviation: n − 1 Explained
Sample vs population standard deviation: the formulas, why a sample divides by n − 1 and which one to use. With a worked example.
Standard Deviation Table Method: How to Get It in a Table
Use a simple three-column table to find standard deviation: value, deviation and squared deviation. Full worked example.
Related calculators
Population Standard Deviation Calculator
Calculate the population standard deviation (σ) of a complete data set. Shows the mean, variance, squared differences and every step.
Mean Median Mode Range Calculator
Enter a list of numbers and get the mean, median, mode and range at once, with the working for each and a picture of where they fall.
Standard Error Calculator
Calculate the standard error of the mean from raw data, or from a standard deviation and sample size, with the steps shown.
Mean Absolute Deviation Calculator
Calculate the mean absolute deviation (MAD) of a data set. See the mean, each absolute difference and the final average distance.
Calculators are for learning and general use. If a result matters (an exam, a report, a research paper), double-check it and read the methodology. Read the disclaimer.