Guide
Finding the standard deviation of a list of numbers, for a population or a sample
The standard deviation tells you how far a typical value sits from the average. A class whose scores are 78, 80 and 82 and a class whose scores are 50, 80 and 110 have the same mean, but the second is far more spread out, and the standard deviation is the number that says so. This calculator takes a list of numbers and gives the mean, the variance and the standard deviation, together with the working, so you can check it against a textbook.
How it works
First the mean is found by adding the values and dividing by how many there are. Each value then has the mean subtracted from it, giving its deviation. The deviations are squared, which removes the signs and weights large gaps more heavily, and the squares are added up. Dividing that sum by n gives the population variance, and dividing it by n minus 1 gives the sample variance. The standard deviation is the square root of the variance, which brings the answer back to the same unit as the data.
Population or sample
Choose population when your list is every value that exists, such as all eight scores in a tiny class you are describing. Choose sample when the list is only a part of a larger group, such as eight customers out of thousands. The page shows the standard deviation of both kinds, with the one you chose listed first, and gives the variance for the chosen kind. When in doubt, a sample is the safer assumption, because real data are almost always a subset.
Reading the other results
The table shows the count, sum, mean, smallest and largest values, range and median. The coefficient of variation divides the standard deviation by the mean and shows it as a percent, which lets you compare the spread of things measured in different units, such as steps a day and kilometres. The deviations table lists every value with its deviation and squared deviation, which is the quickest way to find a typing mistake: a value that dominates the sum of squares is the one to look at.
Edge cases
Numbers can be separated by commas, spaces, semicolons or new lines, and an underscore inside a number is ignored. Text that is not a number stops the calculation with a message that names it. A sample standard deviation needs at least two numbers, and for a single number the page asks you to choose population instead. The deviations table lists the first 20 numbers when the list is longer. The coefficient of variation is not meaningful when the mean is zero or negative, so treat that line with care for data such as temperatures in Celsius.
A worked example
Take 2, 4, 4, 4, 5, 5, 7, 9. The sum is 40 and the mean is 5. The squared deviations are 9, 1, 1, 1, 0, 0, 4 and 16, which add up to 32. As a population the variance is 32 divided by 8, which is 4, so the standard deviation is exactly 2. As a sample the variance is 32 divided by 7, and the standard deviation is 2.1380899353. The range is 7, the median is 4.5 and the coefficient of variation is 40%. A second list, the exam scores 72, 85, 91, 64, 78, 88, 69 and 95, has a mean of 80.25 and a sample standard deviation of 11.2090524641.
Limits
A standard deviation summarises spread with one number and says nothing about the shape of the data. Two very different sets can share the same value, and a single extreme value can inflate it. It does not flag outliers, and it does not test whether the data follow a normal curve. For that, look at the quartiles and fences on the five-number summary page and plot the values.
Related tools
- Average Calculator gives the mean, median and mode when you do not need the spread.
- Standard Error Calculator turns a standard deviation and a sample size into the precision of the mean.
- Z-Score Calculator measures how many standard deviations a single value lies from the mean.
- Confidence Interval Calculator builds an interval around a sample mean from the same inputs.
Checked against the current version of the Standard Deviation Calculator on .

