Standard Deviation Calculator
Measure how spread out a data set is, with every squared deviation shown so you can follow the calculation.
How to use the Standard Deviation Calculator
- Enter the data values.
- Choose the data set is a.
- Press Calculate. The result updates automatically as you type.
About the Standard Deviation Calculator
Standard deviation is the typical distance between the data points and their mean, in the same units as the data. A small value means the numbers cluster tightly; a large value means they are scattered. For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean and about 95% within two.
Choose population when your list contains every member of the group you care about, such as all 30 students in one class. Choose sample when the values are a subset used to estimate a larger group; dividing by n − 1 (Bessel's correction) offsets the tendency of a sample to underestimate the true spread. The coefficient of variation (standard deviation ÷ mean) lets you compare variability between data sets measured on different scales.
Formula
Population: σ = √( Σ(xᵢ − μ)² ÷ N )
Sample: s = √( Σ(xᵢ − x̄)² ÷ (n − 1) )
Find the mean, subtract it from each value, square those deviations, add them up, divide by N (population) or n − 1 (sample), and take the square root. The number before the square root is the variance.
Example calculation
Using the default values:
- Data values = 2, 4, 4, 4, 5, 5, 7, 9
- Data set is a = Population (divide by n)
the calculator returns:
- Standard deviation: 2
- Variance: 4
- Mean: 5
- Count (n): 8
- Sum of squared deviations: 32
- Other standard deviation: Sample s = 2.13809
- Coefficient of variation: 40%
Frequently asked questions
Should I use sample or population standard deviation?
Use population if the data includes the entire group of interest. Use sample if the data is a subset you are using to draw conclusions about a larger group, which is the more common situation in research.
What is the difference between variance and standard deviation?
Variance is the average squared deviation; standard deviation is its square root. Standard deviation is easier to interpret because it is in the original units.
Can standard deviation be negative?
No. It is a square root of a sum of squares, so it is zero (all values identical) or positive.
Last updated: · Category: Math calculators