Statistics
Population variance
Use when the observations are the entire population of interest. Subtract the population mean from each value, square the deviations, sum them and divide by the total count N.
Last updated
The Formula
sigma^2 = Sum(xi - mu)^2 / N
Use when the observations are the entire population of interest. Subtract the population mean from each value, square the deviations, sum them and divide by the total count N.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| sigma^2 | Population variance | squared units | The average squared deviation; here it equals 8.0 for the five worked values. |
| mu | Population mean | same as data | The true average of all N observations, which is 6.0 in the worked example. |
| N | Population size | count | The count of observations; five here, so the sum of squares of 40 is divided by 5. |
What Each Symbol Means
sigma^2squared units
Population variance
The average squared deviation; here it equals 8.0 for the five worked values.
musame as data
Population mean
The true average of all N observations, which is 6.0 in the worked example.
Ncount
Population size
The count of observations; five here, so the sum of squares of 40 is divided by 5.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate variance page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate Variance, filed under Math. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Population variance?
The formula for Population variance is sigma^2 = Sum(xi - mu)^2 / N. Use when the observations are the entire population of interest. Subtract the population mean from each value, square the deviations, sum them and divide by the total count N.
What does each symbol in Population variance stand for?
sigma^2 is population variance; mu is population mean; N is population size.
What units should I use with Population variance?
Substitute sigma^2 in squared units, mu in same as data, N as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Population variance?
Dividing by n when the data is only a sample. This systematically understates the population variance, because the deviations were measured around a mean fitted to those same points. Use n - 1 unless the observations genuinely are the entire population of interest.