Variance Calculator

Work out the variance of a sample or population: the average squared distance from the mean.

Your details

Separate the values with commas or spaces

Your data stays in your browser

Result

Enter the data and choose sample or population, then press “Calculate”.

Analysis and suggestions

Once calculated, this shows what your result means and suggestions based on your numbers.

Behind the result

Work out the variance of a sample or population: the average squared distance from the mean.

Example · تباين المجتمع σ² = Σ(x − μ)² ÷ N | تباين العينة s² = Σ(x − x̄)² ÷ (n − 1)

32 ÷ N = 4

How it is calculated

Comprehensive Calculator Guide

This calculator works out the variance, the average squared deviation from the mean, for a sample or population, with the standard deviation and sum of squares. The population variance of 2, 4, 4, 4, 5, 5, 7, 9 is 4; the sample variance of 10, 12, 23, 23, 16, 23, 21, 16 is 27.43.

Variance

σ² = Σ(x − μ)² ÷ N; s² = Σ(x − x̄)² ÷ (n − 1), Bessel’s correction. It is in squared units, so interpret its root, the SD; but variances of independent variables add, which ANOVA and portfolio risk rely on.

How to Use

  1. Enter the data.
  2. Choose sample or population.
  3. Press “Calculate” to see the variance, SD and sum of squares.

Formula Used

σ² = Σ(x − μ)² ÷ N | s² = Σ(x − x̄)² ÷ (n − 1)

Practical Examples

Example 1
Population: 4.
Example 2
Sample: 27.43.

Important Tips

  • Interpret the SD.
  • Use sample for partial data.
  • Use Σx² − (Σx)²/n by hand.

Common Mistakes to Avoid

  • Comparing variance with the mean.
  • Dividing a sample by n.
  • Not squaring.

Frequently Asked Questions

What is variance?
The mean squared deviation.
Why n − 1?
To correct a sample’s bias.
Can it be negative?
No.

Read Also

Results are estimates for educational purposes and may vary depending on your situation and data sources.