Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Variance is a number that describes how spread out a dataset is around its mean. A small variance means the values cluster close to the mean, while a large variance means the values are more widely spread. It is useful in science, finance, sports, and many other fields because it turns the idea of variability into a measurable quantity.

Learning the step-by-step method helps students see why each part of the formula matters.

Understanding Statistics: Computing Variance Step by Step

The calculation begins by finding a center value for the data. Each data value is then compared with that center. The difference tells how far the value sits above or below it.

For example, consider the values three, five, and seven. Their mean is five. Their deviations are negative two, zero, and two.

Adding these deviations gives zero. This always happens when deviations are measured from the mean, so simply adding them cannot show spread. Squaring each deviation fixes this problem.

Negative two squared and two squared both become four, while zero squared stays zero. The total squared deviation is eight.

Squaring does more than remove negative signs. It gives extra weight to values far from the mean. A deviation of four produces a squared deviation of sixteen.

A deviation of two produces four. The first value is twice as far away, yet its contribution is four times as large. This makes variance sensitive to outliers.

An outlier is a value that is unusually high or low compared with most of the data. That sensitivity can be useful when large errors or extreme results matter.

It can be misleading when one unusual measurement came from a recording mistake. Students should always inspect the original data instead of trusting one summary number alone.

The final division depends on whether the data represent a whole population or a sample. A population contains every member of the group being studied. If a teacher records the marks of every student in one class, those marks form a population for that class.

A sample is only part of a larger group. For sample variance, divide by one less than the number of data values. This adjustment matters because the sample mean was calculated from the same data.

Once all but one deviations are known, the final deviation is forced to make the total zero. Dividing by one less corrects for this built in restriction and gives a better estimate of the variation in the larger population.

Variance has squared units, which can feel strange at first. If distances are measured in metres, variance is measured in square metres. This is why standard deviation is often easier to interpret.

It returns the spread to the original unit by taking the square root of variance. In real life, students may see these ideas in repeated science measurements, test score patterns, daily temperatures, or the consistency of an athlete's performance. When computing by hand, write every deviation in a table before squaring.

Keep negative signs until the squaring step. Check that the deviations add to zero, apart from small rounding differences. Finally, use the correct divisor and state clearly whether the data are a population or a sample.

Key Facts

  • Mean: x̄ = (sum of values) / n
  • Deviation from the mean: deviation = x - x̄
  • Squared deviation: (x - x̄)^2
  • Population variance: σ^2 = Σ(x - μ)^2 / N
  • Sample variance: s^2 = Σ(x - x̄)^2 / (n - 1)
  • Variance is measured in squared units, so standard deviation is often used for interpretation: standard deviation = √variance

Vocabulary

Variance
Variance is the average squared distance of data values from the mean.
Mean
The mean is the sum of all data values divided by the number of values.
Deviation
A deviation is the difference between a data value and the mean.
Population variance
Population variance measures spread when the dataset includes every member of the group being studied.
Sample variance
Sample variance estimates the spread of a larger population using only a sample and divides by n - 1.

Common Mistakes to Avoid

  • Forgetting to square the deviations is wrong because positive and negative deviations can cancel out, hiding the true spread.
  • Dividing by n for sample variance is wrong because sample variance uses n - 1 to better estimate population spread from limited data.
  • Using the original values instead of deviations is wrong because variance measures distance from the mean, not distance from zero.
  • Interpreting variance in the original units is wrong because variance is in squared units, so a variance of 16 square centimeters is not the same type of measurement as 16 centimeters.

Practice Questions

  1. 1 Compute the population variance of the dataset 2, 4, 6, 8. Show the mean, deviations, squared deviations, and final variance.
  2. 2 Compute the sample variance of the dataset 5, 7, 10, 14. Show the mean, squared deviations, sum of squared deviations, and division by n - 1.
  3. 3 Two datasets have the same mean: A = 9, 10, 11 and B = 2, 10, 18. Explain which dataset has the larger variance and why.