Standard Deviation Calculator
Standard deviation measures how spread out your numbers are around their average. Paste a list of values and this calculator gives you the sample and population standard deviation and variance, plus the mean, minimum, maximum and count.
Standard Deviation Formulas
Sample standard deviation:
s = √(Σ(x − x̄)² / (n − 1))
Population standard deviation:
σ = √(Σ(x − μ)² / n)
- x = each value in the list
- x̄ (or μ) = the mean of the values
- n = how many values there are
- Variance is the same sum without the square root: s² and σ²
Worked Example
Take the values 2, 4, 4, 4, 5, 5, 7, 9 (8 values).
- Mean = (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) / 8 = 40 / 8 = 5.
- Squared distances from the mean: 9, 1, 1, 1, 0, 0, 4, 16 — they add up to 32.
- Population variance = 32 / 8 = 4, so population SD = √4 = 2.
- Sample variance = 32 / 7 = 4.5714, so sample SD = √4.5714 = 2.14.
How to Use This Calculator
- Enter your numbers, separated by commas, spaces or line breaks.
- Pick Sample or Population — Sample is the usual choice, unless your numbers are the entire group.
- Click “Calculate Standard Deviation” to see the standard deviation, variance, mean, min, max and count.
- Compare the two: the result always shows both the sample and the population figures, so you can check either one.
Frequently Asked Questions
What does standard deviation tell me?
It tells you how spread out your numbers are around their mean. A small standard deviation means the values cluster close to the mean; a large one means they are widely spread.
Sample or population standard deviation — which one?
Use the sample standard deviation when your numbers are a sample taken from a larger group. Use the population standard deviation only when your numbers are the entire population.
Why does the sample formula divide by n minus 1?
Dividing by n minus 1 instead of n corrects for the fact that a sample tends to underestimate the spread of the full population. It gives an unbiased estimate of the population variance.
What is the difference between standard deviation and variance?
The variance is the average squared distance from the mean, and the standard deviation is its square root. The standard deviation is in the same units as your data, which makes it easier to interpret. To picture the spread, the dot plot maker draws your data as stacked dots.
Can the standard deviation be zero?
Yes, when every value in the list is the same. A standard deviation of zero means there is no spread at all.