Mean, median, mode, standard deviation, quartiles and outliers
Standard Deviation Calculator
Get the standard deviation of your numbers and see each step of the working, ready for homework or a report.
Loading tool…
How to use standard deviation calculator
Paste or type your numbers in any common format.
Choose sample (n - 1) or population (n).
Read the standard deviation, variance and mean.
Follow the working and the deviation table to check each step.
What this tool does
- Shows sample and population results side by side.
- Writes out the working: the mean, the sum of squared deviations, the division and the square root.
- Lists each value's deviation and squared deviation (first 200 rows).
- Uses a two-pass method that avoids rounding errors on large or close-together numbers.
How the result is verified
For 2, 4, 4, 4, 5, 5, 7, 9 the population standard deviation is 2 and the sample standard deviation is √(32/7), about 2.13809. Excel's STDEV.P and STDEV.S give the same.
Frequently asked questions
What is the difference between sample and population?
Population divides the squared deviations by n. Sample divides by n - 1, which corrects for a sample tending to underestimate the spread of the whole group.
How is variance related?
Variance is the standard deviation squared, or put the other way, the standard deviation is the square root of the variance. Both are shown.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Quartiles, IQR, any percentile and the percentile rank of a value
Flatten JSON arrays into spreadsheet rows with dot path columns