Sample Variance Stddev
Calculator
Results
- Sample mean
- 10
- Sample variance (n−1)
- 12.5
- Sample standard deviation (n−1)
- 3.535533
Statistical results
| Sample mean | 10 |
| Sample variance (n−1) | 12.5 |
| Sample standard deviation (n−1) | 3.535533 |
formula-map diagram
- Sample mean
- 10
- Sample variance (n−1)
- 12.5
- Sample standard deviation (n−1)
- 3.535533
Statistical relationship
Formula
x̄ = Σx/n, s² = (Σx² − n·x̄²) / (n − 1), s = √s²= 10
Note
This is a simplified model: it applies the displayed standard formula to the summary values you entered and assumes their underlying conditions (independence, normality, correct sampling) hold. It does not analyse a real data set. Check the assumptions before relying on the result.
Example: with the default inputs, calculator.statistics.sample_mean_out is 10.
More in Statistics and probability
See all →Frequently asked questions
How do I calculate sample variance and standard deviation from sums?+
Enter the number of values n, the sum Σx and the sum of squares Σx². The calculator computes the mean x̄ = Σx/n, then s² = (Σx² − n·x̄²) / (n − 1) and s = √s².
Why does it divide by n − 1 instead of n?+
This calculator gives the sample variance, which uses n − 1 in the denominator. It is the usual choice when your values are a sample drawn from a larger group rather than the whole population.
What is the difference between Σx² and (Σx)²?+
Σx² means you square each value first and then add them up. (Σx)² means you add the values first and then square the total. This calculator needs Σx² for the sum of squares field.
Why do I need at least two values?+
With n − 1 in the denominator, a single value would mean dividing by zero. The calculator therefore treats n as at least 2, and rounds n to the nearest whole number.
What happens if my sums give a negative variance?+
Variance cannot be negative, so the calculator floors it at 0. A negative raw result usually means Σx² or Σx was entered incorrectly, so check your sums.