Standard Deviation Calculator
Standard deviation, variance, mean, median and mode of your numbers, with the working.
Calculate standard deviation
- Sample standard deviation (s)
- 2.1381
- Population standard deviation (σ)
- 2
- Mean
- 5
- Sample variance (s²)
- 4.5714
- Population variance (σ²)
- 4
- Count (n)
- 8
- Sum
- 40
- Sum of squared deviations
- 32
- Median
- 4.5
- Mode
- 4
- Range
- 2 to 9 (7)
- Standard error of the mean
- 0.7559
- Coefficient of variation
- 40%
Working
| Value (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 |
Everything stays on this device — what you enter never leaves your browser.
Standard deviation calculator
Paste your numbers and this standard deviation calculator returns the sample standard deviation (2.1381) and the population standard deviation (2) for 2, 4, 4, 4, 5, 5, 7, 9, with the mean 5, and shows each step of the working.
Variance calculator
The same results give the variance calculator figures too: a sample variance of 4.5714 and a population variance of 4. The standard deviation is the square root of the variance.
Mean, median and mode
For mean median mode the example gives 5, 4.5 and 4. For the numbers 1 to 5 the standard deviation is 1.4142 (population) or 1.5811 (sample). To turn a spread into proportions, try the ratio calculator; for survey scores see the NPS calculator.