Math Calculators
Standard Deviation Calculator
Work out the standard deviation, variance, mean and median of a list of numbers, as a sample or a whole population.
- Free
- No sign-up
- Runs in your browser
Share this tool:WhatsApp (opens in a new tab)Telegram (opens in a new tab)X (opens in a new tab)
- Sample standard deviation (s)
- 2.13809
- Sample variance
- 4.571429
- Population deviation (σ)
- 2
- Mean
- 5
- Count
- 8
- Sum
- 40
- Median
- 4.5
- Smallest
- 2
- Largest
- 9
How this is calculated
s = √( Σ(x − mean)² ÷ (n − 1) )
mean = Σx ÷ n
- Count the numbers: n = 8.
- Add them up: sum = 40.
- Find the mean: 40 ÷ 8 = 5.
- Take each number's distance from the mean and square it: (2 − 5)² = 9; (4 − 5)² = 1; (4 − 5)² = 1; (4 − 5)² = 1; (5 − 5)² = 0; (5 − 5)² = 0; and 2 more.
- Add the squares: Σ(x − mean)² = 32.
- Divide by n − 1 = 7 because this is a sample: variance = 32 ÷ 7 = 4.571429.
- Take the square root: standard deviation = √4.571429 = 2.13809.
Use the sample figure when your numbers are a sample taken from a larger group. Dividing by n − 1 corrects for the sample sitting closer to its own mean than to the true mean.
How to use Standard Deviation Calculator
How to use this calculator:
- Type or paste your numbers, separated by commas, spaces or new lines.
- Choose a sample (divides by n − 1) or the whole population (divides by n).
- Read the standard deviation, variance, mean, count, sum, median, smallest and largest.
Open How this is calculated under the result to see the formula and each step with your own numbers.
The formulas. Population: σ = √( Σ(x − mean)² ÷ n ). Sample: s = √( Σ(x − mean)² ÷ (n − 1) ).
Examples
2, 4, 4, 4, 5, 5, 7, 9
The mean is 5. As a population the standard deviation is 2; as a sample it is 2.138.
Marks 70, 75, 80, 85, 90
The mean is 80. The sample standard deviation is 7.906 and the population one is 7.071.
Frequently asked questions
Sample or population?
Choose population if your numbers are everything you care about. Choose sample if they are a subset used to estimate a larger group. If unsure, sample is the safer choice.
Can I paste from a spreadsheet?
Yes. Copy a column and paste it. Numbers separated by commas, spaces or new lines are all accepted.
How many numbers can I enter?
Up to 5,000.
Why does the sample version need two numbers?
It divides by n − 1, which is zero for one number.
Guides about Standard Deviation Calculator
Related tools
Random Number Generator
Pick random whole numbers or decimals between two values, with or without repeats, using your browser's secure random source.
Pick numbersMath CalculatorsFraction Calculator
Add, subtract, multiply and divide fractions and mixed numbers, with the answer simplified and the working shown.
1/2 + 1/3Math CalculatorsScientific Calculator
Work out expressions with brackets, powers, roots, logarithms and trigonometry, with every step of the working shown.
14