Standard Deviation Calculator
Measure how far your observations spread around their mean. Paste a list, then choose population or sample standard deviation. The result includes variance, mean, count and the divisor, making the difference between the two formulas visible.
Loading the calculator. It runs in your browser, so JavaScript needs to be on.
How to use the Standard Deviation Calculator
- Enter observations in Numbers, separated by commas, spaces or line breaks. Keep legitimate repeated observations.
- Choose Population if the list is the complete group of interest. Choose Sample when using observations to estimate a wider population.
- Read the standard deviation in the original data units, and check variance, mean and the displayed divisor underneath.
The formula
First calculate the mean x-bar = sum(x)/n. Population variance = sum((x - x-bar)2)/n. Sample variance divides the same squared deviations by n - 1. Standard deviation is the square root of the chosen variance.
Worked example
For 2, 4, 4, 4, 5, 5, 7, 9, the mean is 5 and the squared deviations total 32. Population variance is 32/8 = 4, giving a population standard deviation of 2. For sample data 1, 2, 3, the sample standard deviation is 1.
Choose the divisor based on your question
Use the population option when describing every member of the group you care about, such as all eight deliveries on a particular route today. Use the sample option when those deliveries are observations from a broader process. The sample variance uses n - 1 because the sample mean was estimated from the same observations; a sample requires at least two entries.
Variance and standard deviation have different units
If observations are in seconds, standard deviation is also in seconds, while variance is in squared seconds. That makes standard deviation easier to compare with the original measurements. A standard deviation of zero means every observation is identical. A larger value indicates more spread, but comparisons are most meaningful when the measurements share the same scale.
Outliers and data entry affect the result
Squaring deviations gives distant observations a strong influence. Check unusual values before treating a large spread as typical variation. This tool accepts up to 10,000 numbers with magnitudes up to 1e100 and gives an unweighted calculation. Enter 1000 without a thousands comma, because 1,000 would be parsed as two separate observations.
Standard Deviation Calculator questions
What is the difference between sample and population standard deviation?
The population formula divides squared deviations by n, while the sample formula divides by n - 1. For the same data, the sample result is larger unless all values are equal.
Can standard deviation be negative?
No. It is a square root of a nonnegative variance, so it is zero or positive.
Does one standard deviation always contain 68 percent of values?
No. About 68.27% falls within one standard deviation for an ideal normal distribution. Other distributions can behave quite differently.
Related calculators
- Mean, Median, Mode CalculatorPaste a list of numbers to find the mean, median, modes, sum and range. Repeated values...
- Z-Score CalculatorEnter a value, mean and standard deviation to find its z-score and normal percentile....
- Confidence Interval CalculatorEnter a mean, standard deviation and sample size, or a success count, to calculate a t, z...
- Normal Distribution CalculatorEnter a mean and standard deviation to find normal probabilities below, above or between...