About Standard Deviation Calculator
Paste your numbers and get the standard deviation both ways: as a sample, dividing by n − 1, and as a whole population, dividing by n. Choose which one your data is and it becomes the headline figure, with the variance beside it.
The working is laid out step by step, from the mean to the sum of squared deviations to the square root, along with a table of each value’s deviation from the mean, so you can check homework or a report line by line.
How it works
- The mean is the sum of the values divided by how many there are. Each value’s deviation is its distance from the mean, and the deviations are squared and added up.
- For a sample, that sum is divided by n − 1 (Bessel’s correction), which matches Excel’s STDEV.S and VAR.S. For a whole population it is divided by n, matching STDEV.P and VAR.P.
- The standard deviation is the square root of the variance. Sums are compensated and computed in two passes, so values with a large common offset keep their precision.
Questions
Should I use sample or population?
Use population when your numbers are every member of the group you care about, such as the scores of all students in one class. Use sample when they are a subset used to estimate a larger group, which is the usual case in research and surveys.
Why is there no sample standard deviation for one value?
Dividing by n − 1 with a single value means dividing by zero: one observation says nothing about spread. The population figure for one value is 0.
How many values can I enter?
Up to 100,000. The table of deviations shows the first 200; the results always use every value. Your numbers are not put in the page address.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.