Standard Deviation Calculator with Steps
NEWStandard deviation calculator for sample or population data: variance, mean, sum of squares, z-scores and a step-by-step table, free in your browser.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
- Count (n)
- 8
- Sum
- 40
- Mean (x̄)
- 5
- Sum of squares
- 32
- Variance (s²)
- 4.5714
- Population σ
- 2
- Sample s
- 2.1381
- Std. error (s/√n)
- 0.7559
- Coeff. of variation
- 42.7618%
Working
- x̄ = Σx / n = 40 / 8 = 5
- Σ(x − x̄)² = 32
- s² = Σ(x − x̄)² / (n − 1) = 32 / 7 = 4.5714
- s = √4.5714 = 2.1381
| x | x − x̄ | (x − x̄)² |
|---|---|---|
| 2 | -3 | 9 |
| 4 | -1 | 1 |
| 4 | -1 | 1 |
| 4 | -1 | 1 |
| 5 | 0 | 0 |
| 5 | 0 | 0 |
| 7 | 2 | 4 |
| 9 | 4 | 16 |
| Σ 40 | 0 | 32 |
Quick Examples
Typical inputs and the results this tool produces.
Overview
Standard deviation measures how far values typically sit from their mean. Paste a data set into this standard deviation calculator, choose whether it is a sample or a whole population, and you get the SD, the variance, the mean and the sum of squared deviations straight away.
Students, teachers and analysts can follow the working: a table lists every value x, its deviation x − x̄ and the squared deviation, and the formula lines show how the sum of squares is divided by n − 1 or N. Turn on z-scores to see how many standard deviations each value lies from the mean.
The standard error and coefficient of variation are included too. Everything is computed locally in your browser.
Why use this tool?
- Sample and population formulas, clearly labelled
- Step table you can copy into homework
- Optional z-score for every value
- Variance, standard error and CV included
- Data never leaves your device
Features
Sample or population
Switch between dividing by n − 1 (sample) and N (population); both SDs are always listed.
Step table
Each row shows x, x − x̄ and (x − x̄)², with totals in the last row.
Formula working
Mean, sum of squares, variance and square root are written out with your numbers.
Z-scores
Tick Show z-scores to add (x − x̄) / SD for each value using the selected SD.
Extra measures
Standard error of the mean (s/√n) and coefficient of variation are calculated too.
Decimal control
Show 0 to 10 decimals; calculations keep full precision.
How to Use
Paste the data set
Enter numbers separated by commas, spaces or new lines.
Choose the data type
Pick Sample (n − 1) for a subset or Population (N) for every member of the group.
Read the result
The SD is highlighted, with variance, mean and the other measures below.
Check the working
Follow the formula lines and the step table; tick Show z-scores if you need them.