How to use the standard deviation calculator
- Type or paste your numbers into the box. Commas, spaces, tabs and new lines all work as separators.
- Choose Sample if your data are a sample from a larger group (the usual case), or Population if they cover the entire group.
- Click Calculate to get the standard deviation, variance, mean and more.
- Follow the step-by-step table to check your own work, and download the chart if you need it.
The standard deviation formula
Standard deviation measures how spread out values are around their mean. There are two versions:
Sample: s = Σ(x − x)2n − 1
Population: σ = Σ(x − μ)2N
- s, σ
- Sample standard deviation, population standard deviation
- x
- Each value in your data
- x, μ
- The sample mean, the population mean (add up the values and divide by how many there are)
- Σ
- "Add up" over every value
- n, N
- The number of values in the sample, or in the population
The part under the square root is the variance (s² or σ²). The sum on top is called the sum of squares.
Worked example
Six friends score 4, 8, 6, 5, 3 and 7 on a 10-point quiz. Find the sample standard deviation.
-
Find the mean
x = 4 + 8 + 6 + 5 + 3 + 76 = 336 = 5.5
-
Subtract the mean from each value, then square
x x − x (x − x)² 4 −1.5 2.25 8 2.5 6.25 6 0.5 0.25 5 −0.5 0.25 3 −2.5 6.25 7 1.5 2.25 Sum 0 17.5 -
Divide the sum of squares by n − 1 to get the variance
s2 = 17.56 − 1 = 3.5
-
Take the square root
s = 3.5 = 1.871
What it means: a typical quiz score is about 1.9 points away from the average of 5.5. If these six friends were the only people you cared about (a population), you'd divide by 6 instead and get σ = 1.708.
How to interpret standard deviation
A small standard deviation means values cluster tightly around the mean; a large one means they're spread out. Think of it as the typical distance of a value from the mean, in the same units as your data.
For data that are roughly bell-shaped, the empirical rule says:
- About 68% of values fall within 1 standard deviation of the mean
- About 95% fall within 2 standard deviations
- About 99.7% fall within 3 standard deviations
To judge whether a standard deviation is big or small, compare it with the mean using the coefficient of variation (CV), which this calculator reports when the mean is positive. To see how far a single value is from the mean in standard-deviation units, use the z-score calculator.
Standard deviation is sensitive to outliers, because squaring the deviations gives extreme values extra weight. If your data have a few very large or small values, check the table to see how much they contribute.