Standard Deviation Calculator
Paste a list of numbers: the mean, the standard deviation and the variance, for a sample and for a whole population, with the working.
Count
8
Mean
5
Sample SD
2.13809
s, divides by n − 1
Population SD
2
σ, divides by n
- Sum
- 40
- Sample variance
- 4.571428571
- Population variance
- 4
- Median
- 4.5
- Lowest
- 2
- Highest
- 9
Step by step
- The mean is the sum divided by the count: 40 ÷ 8 = 5.
- Subtract the mean from each number and square the result:
x x − mean (x − mean)² 2 -3 9 4 -1 1 4 -1 1 4 -1 1 5 0 0 5 0 0 7 2 4 9 4 16 - Add up the squares: Σ(x − mean)² = 32.
- For a sample, divide by one less than the count (n − 1 = 7) to get the variance: 32 ÷ 7 = 4.571428571.
- The standard deviation is the square root of the variance: √4.571428571 = 2.138089935.
Sample or population?
Use the sample standard deviation, s = √(Σ(x − x̄)² / (n − 1)), when your numbers are a sample of a larger group, such as a survey or a set of measurements: dividing by n − 1 corrects for the sample's mean sitting closer to its own numbers than the true mean does. Use the population standard deviation, σ = √(Σ(x − μ)² / n), when you have every member of the group, such as all the scores of one class.
Related
- AppCalculatorA free online calculator.
- AppPercentage CalculatorPercent of a number, percent change, and what percent one number is of another.
- AppDistance CalculatorThe distance between two US cities, ZIP codes or coordinates as the crow flies, in miles and kilometers, with the direction, the midpoint and a map.
- AppBMI CalculatorBody mass index from height and weight, in US units or metric, with the CDC's categories for adults.
- AppTime CalculatorAdd and subtract hours and minutes, the hours between two times or dates, and a weekly timesheet of hours worked.
- AppGrade CalculatorA weighted course grade, and the score you need on the final.