Standard Deviation Calculator
Population and sample standard deviation with steps.
How to use
Standard Deviation Calculator with Population and Sample
Standard deviation tells you how spread out a set of numbers is around its mean. This calculator shows both the population value (σ) and the sample value (s) together, with a short line of working underneath.
How to use it
- Type or paste your numbers into the box, separated by commas, spaces or new lines.
- Read the two cards: Population σ and Sample s. Sample s needs at least two values and otherwise shows a note.
- Check the line below the cards. It lists n, the mean and the sum of squared deviations, with both formulas written out.
- Results update as you type and are rounded to six decimal places.
Formulas / rules
Population: σ = √(Σ(x − mean)² / n). Sample: s = √(Σ(x − mean)² / (n − 1)). Use the population version when your data covers the entire group, and the sample version when the data is only a part of a bigger group.
Worked example with 2, 4, 4, 4, 5, 5, 7, 9. The sum is 40 and n is 8, so the mean is 5. The squared deviations are 9, 1, 1, 1, 0, 0, 4, 16, which add up to 32. Then σ = √(32 ÷ 8) = √4 = 2, and s = √(32 ÷ 7) = 2.138.
Variance is the square of the standard deviation, so here the population variance is 4.
Study tips
- Write the steps in a table: x, x − mean, and (x − mean)². Compare your column totals with the sum of squared deviations shown by the tool.
- Read the question for the words population, sample or whole class. Choosing the wrong divisor is a frequent way to lose marks.
- A small standard deviation means values sit close to the mean. Practise explaining this in words, because HSC answers often ask for interpretation.
- Do not round the mean too early. Rounding it can change the final digits.
Want to launch an e-commerce store, portfolio, or business website without coding from scratch? Explore finished, mobile-ready websites with free full setup and 100% code ownership at Nowvelle.
Frequently asked questions
What is the difference between σ and s?
σ is the population standard deviation and divides by n. s is the sample standard deviation and divides by n−1. Use σ for a complete group and s when your numbers are a sample drawn from a larger group.
Why does sample s need at least two values?
The sample formula divides by n−1. With a single value that would be zero, so the calculator shows a note asking for two or more values. Population σ still works and gives 0 for one number.
Does the calculator show its working?
It shows a summary line under the results with n, the mean, and the sum of squared deviations, plus both formulas. It does not print a full table, so use it to verify your own step-by-step solution.