Standard Deviation & Variance
Both population (÷ n) and sample (÷ n − 1) results are shown for the same numbers.
How to use this tool
Enter finite numbers separated by commas or spaces. Include a minus sign for negative values.
How it works
Population variance divides the sum of squared deviations by n. Sample variance divides it by n − 1; standard deviation is its square root.
Example
For 2, 4, 4, 4, 5, 5, 7 and 9, the mean is 5 and population standard deviation is 2.
Limits and assumptions
Sample standard deviation needs at least two observations. Choose population or sample results based on what the dataset represents; this tool does not infer that choice.
Common questions
Should I use sample or population SD?
Use population SD when your data includes every member you care about, such as the marks of a whole class. Use sample SD when the data is a sample used to estimate a larger group.
Can I paste a column from Excel?
Yes. Numbers separated by line breaks, spaces or commas are all accepted.
What does a standard deviation of 2 mean here?
Values typically sit about 2 units from the mean of 5. In a roughly normal distribution, about two-thirds of values lie within one standard deviation of the mean.
Common mistakes
- Choosing sample SD for a complete dataset, or population SD for a sample. The two differ most when there are only a few values.
- Typing a thousands separator, such as 1,200. Commas split the values here, so 1,200 is read as 1 and 200.
- Treating standard deviation as the average distance from the mean. It weights large deviations more heavily because it squares them first.
- Leaving in a stray outlier or typing error. A single wrong value can inflate the result noticeably in a small dataset.
More questions
What is the difference between variance and standard deviation?
Variance is the average squared deviation, in squared units. Standard deviation is its square root, so it is in the same units as your data and easier to interpret.
Why is the sample SD larger than the population SD?
Dividing by n − 1 instead of n corrects for the fact that a sample's own mean sits closer to its values than the true population mean does.
Can the standard deviation be zero?
Yes, when every value is identical. It can never be negative.