Calculate population and sample standard deviation with variance analysis. Enter comma-separated values and get instant step-by-step statistical calculations.
Enter numbers separated by commas. Spaces are optional. Decimals are supported (e.g., 12.5, 15.3, 18.7).
Data Set: 85, 90, 78, 92, 88, 76, 95, 82
Step 1: Calculate the mean = (85 + 90 + 78 + 92 + 88 + 76 + 95 + 82) / 8 = 686 / 8 = 85.75
Step 2: Find the deviations: (85-85.75)=-0.75, (90-85.75)=4.25, (78-85.75)=-7.75, (92-85.75)=6.25, (88-85.75)=2.25, (76-85.75)=-9.75, (95-85.75)=9.25, (82-85.75)=-3.75
Step 3: Square the deviations: 0.5625, 18.0625, 60.0625, 39.0625, 5.0625, 95.0625, 85.5625, 14.0625
Step 4: Sum of squared deviations = 317.5
Population variance (σ²): 317.5 / 8 = 39.69
Population std dev (σ): √39.69 = 6.30
Sample variance (s²): 317.5 / 7 = 45.36
Sample std dev (s): √45.36 = 6.73
The test scores have a sample standard deviation of approximately 6.73 points from the mean.
Data Set: 22, 25, 19, 23, 27, 21, 24
Step 1: Calculate the mean = (22 + 25 + 19 + 23 + 27 + 21 + 24) / 7 = 161 / 7 = 23
Step 2: Deviations: -1, 2, -4, 0, 4, -2, 1
Step 3: Squared deviations: 1, 4, 16, 0, 16, 4, 1
Step 4: Sum of squared deviations = 42
Population variance (σ²): 42 / 7 = 6.00
Population std dev (σ): √6.00 = 2.45
Sample variance (s²): 42 / 6 = 7.00
Sample std dev (s): √7.00 = 2.65
Daily temperatures vary from the mean by about 2.65°C (sample std dev).
Data Set: 165, 170, 172, 168, 175, 180, 162, 178, 169, 171
Step 1: Calculate the mean = 1710 / 10 = 171
Step 2: Deviations: -6, -1, 1, -3, 4, 9, -9, 7, -2, 0
Step 3: Squared deviations: 36, 1, 1, 9, 16, 81, 81, 49, 4, 0
Step 4: Sum of squared deviations = 278
Population variance (σ²): 278 / 10 = 27.80
Population std dev (σ): √27.80 = 5.27
Sample variance (s²): 278 / 9 = 30.89
Sample std dev (s): √30.89 = 5.56
The heights have a sample standard deviation of 5.56 cm from the average height of 171 cm.
Population vs. Sample: When working with data from an entire population (every member), divide by N. When working with a sample (a subset), divide by n-1 to get an unbiased estimate of the population standard deviation. The sample formula with n-1 is called Bessel's correction.
⚠️ Important Note: Standard deviation is sensitive to outliers — a single extreme value can significantly increase the standard deviation. Always check your data for outliers and consider using the median alongside the mean for a more complete picture of your data distribution. For normally distributed data, approximately 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three.