Standard deviation and variance calculator
Measure spread around the mean for a sample or a population.
Use up to 30 values separated by semicolons. A sample requires at least two values.
Calculation inputs
Standard deviation
- Variance
- 4
- Mean
- 5
- Number of values
- 8
QR code
How the calculation works
Find the mean and sum the squared deviations from it. Divide by n for a population or by n − 1 for a sample to obtain the variance. Take its square root for standard deviation.
Example
For the population 2, 4, 4, 4, 5, 5, 7 and 9, the mean is 5, variance is 4 and standard deviation is 2.
Measures of spread — OpenStaxMethod checked