Population Variance Calculator

Find population variance, standard deviation, and coefficient of variation for any complete dataset or grouped frequency distribution.

📊 Population Variance Calculator
Population Variance (σ²)
Population SD (σ)
Population Mean (μ)
Count (N)
Sum of Sq. Deviations (SS)
Coeff. of Variation (CV)

📊 What is Population Variance?

Population variance (denoted σ², read "sigma squared") is the average of the squared differences between each data point and the population mean. It measures how spread out the values in an entire population are around the mean. A population variance of zero means every member of the population has exactly the same value. Larger σ² means the values are more dispersed.

Population variance appears across many disciplines. In quality control, manufacturers compute σ² for an entire production run to quantify consistency: a low σ² means parts are uniform and within tolerance. In education research, a professor might compute the population variance of all student grades in a class to see how widely scores differ. In finance, σ² of returns for a complete historical dataset (not a sample) gives the true variance of that period. In genetics, σ² of trait measurements across an entire species population characterises genetic diversity.

A common source of confusion is the choice between population variance (divide by N) and sample variance (divide by n-1). The distinction matters because most real-world data is a sample drawn from a larger population that cannot be fully observed. If you have exam scores for all 200 students in a specific class and you want the variance for exactly those 200 students (not to estimate some broader population), use population variance. If those 200 students are a sample meant to represent all students nationwide, use sample variance with n-1 (Bessel's correction) to get an unbiased estimate.

This calculator handles both raw datasets and grouped frequency distributions. The deviation table shows every step of the σ² computation so you can verify each squared deviation and their sum. The coefficient of variation (CV = σ/μ × 100%) is also computed automatically. CV is unit-free and allows you to compare the relative spread of two populations even when they are measured in different units or have very different means.

📐 Formula

σ²  =  Σ(xᵢ − μ)² ÷ N
σ² = population variance
xᵢ = each value in the population
μ = population mean = Σxᵢ / N
N = total number of values in the population
σ = population standard deviation = √σ²
CV = coefficient of variation = (σ / |μ|) × 100%
Grouped data: σ² = Σfᵢ(xᵢ − μ)² / N, where fᵢ is class frequency and N = Σfᵢ
Example: Data [2, 4, 6, 8, 10]: μ = 6, SS = 16+4+0+4+16 = 40, σ² = 40/5 = 8.0, σ = 2.828

📖 How to Use This Calculator

Steps

1
Enter your population dataset - Type or paste all values in the population into the text area, separated by commas or spaces. Every member of the population must be included for a true population variance.
2
Click Calculate - Click the Calculate button to see population variance, population standard deviation, mean, count, sum of squared deviations, and coefficient of variation. A full deviation table is shown below the results.
3
Switch to Grouped Frequency mode if needed - If your data is a frequency distribution, click the Grouped Frequency tab, enter class midpoints and their frequencies, then click Calculate.

💡 Example Calculations

Example 1 - Small Population Dataset

Five measurement values: 2, 4, 6, 8, 10

1
Population mean: μ = (2 + 4 + 6 + 8 + 10) / 5 = 30 / 5 = 6.
2
Squared deviations: (2-6)^2 = 16, (4-6)^2 = 4, (6-6)^2 = 0, (8-6)^2 = 4, (10-6)^2 = 16. SS = 40.
3
Population variance: σ² = 40 / 5 = 8.0. Population SD: σ = sqrt(8) = 2.8284. CV = 2.8284/6 x 100 = 47.14%.
Population Variance = 8.000000
Try this example →

Example 2 - Class Test Scores (Complete Class)

Five student scores for an entire class: 70, 75, 80, 85, 90

1
Population mean: μ = (70+75+80+85+90) / 5 = 400 / 5 = 80.
2
Squared deviations: (70-80)^2 = 100, (75-80)^2 = 25, (80-80)^2 = 0, (85-80)^2 = 25, (90-80)^2 = 100. SS = 250.
3
Population variance: σ² = 250 / 5 = 50.0. Population SD: σ = sqrt(50) = 7.0711. CV = 7.0711/80 x 100 = 8.84%.
Population Variance = 50.000000
Try this example →

Example 3 - Grouped Frequency Distribution

Midpoints [10, 20, 30, 40, 50], Frequencies [3, 5, 8, 5, 4]

1
N = 3+5+8+5+4 = 25. Weighted sum = 10x3 + 20x5 + 30x8 + 40x5 + 50x4 = 30+100+240+200+200 = 770. Mean μ = 770/25 = 30.8.
2
f(x-μ)^2 for each class: 3x(10-30.8)^2 = 1297.92, 5x(20-30.8)^2 = 583.20, 8x(30-30.8)^2 = 5.12, 5x(40-30.8)^2 = 423.20, 4x(50-30.8)^2 = 1474.56. SS = 3784.0.
3
Population variance: σ² = 3784.0 / 25 = 151.36. Population SD: σ = sqrt(151.36) = 12.303. CV = 12.303/30.8 x 100 = 39.95%.
Population Variance = 151.360000
Try this example →

❓ Frequently Asked Questions

What is population variance and what is its formula?+
Population variance sigma^2 = Sum((xi - mu)^2) / N, where xi are the data values, mu is the population mean, and N is the total count. Step 1: compute mu = Sum(xi)/N. Step 2: subtract mu from each xi. Step 3: square each deviation. Step 4: sum the squared deviations (SS). Step 5: divide SS by N. Population variance is in squared units of the original data; take the square root to get the population standard deviation sigma.
When should I use population variance vs sample variance?+
Use population variance (divide by N) when your data covers every member of the group you are studying, with no sampling. Examples: all grades in one class, weights of all items in a closed batch, temperatures recorded every hour in a fixed 24-hour period. Use sample variance (divide by n-1) when your data is a subset of a larger population you are trying to generalise to, which is the typical case in surveys, experiments, and observational studies.
What does a large population variance mean?+
A large sigma^2 means the values in the population are widely spread around the mean. For example, a population of exam scores with sigma^2 = 400 (sigma = 20 points) has much more variability than one with sigma^2 = 25 (sigma = 5 points). Population variance of zero means every value is identical to the population mean. Because sigma^2 is in squared units, the population standard deviation sigma is easier to interpret and compare to the mean directly.
Can population variance be greater than 1?+
Yes, population variance can be any non-negative real number with no upper bound. It depends entirely on the scale of the data and the spread of values. For data measured in kilograms, variance might be 0.04 kg^2 (tightly packed data) or 10,000 kg^2 (very dispersed data). Variance can only be zero (when all values are identical) or positive. The only constraint is that it cannot be negative.
What is the coefficient of variation and why is it useful?+
The coefficient of variation (CV) = (sigma / mu) x 100% expresses spread relative to the mean. Unlike variance or standard deviation, CV is dimensionless, making it possible to compare variability across datasets measured in different units. Example: two factories both have sigma = 0.5 mm. Factory A produces 10 mm bolts (CV = 5%), Factory B produces 100 mm bolts (CV = 0.5%). Factory B is relatively more consistent despite the same absolute SD. CV is undefined if the mean is zero.
How is grouped data population variance calculated?+
For grouped frequency data, use sigma^2 = Sum(fi * (xi - mu)^2) / N, where xi are class midpoints, fi are class frequencies, and N = Sum(fi). First compute the weighted mean mu = Sum(fi * xi) / N. Then for each class, compute fi * (xi - mu)^2 and sum these weighted squared deviations. Divide by N for population variance. This is an approximation because all values in each class are assumed equal to the class midpoint.
What is the relationship between population variance and standard deviation?+
Population standard deviation sigma = sqrt(sigma^2). Squaring sigma gives sigma^2 (population variance). Standard deviation is expressed in the same unit as the data (e.g., cm, kg, dollars), making it easier to interpret and compare to the mean. Variance is in squared units. In practice, standard deviation is reported more often in articles and reports, while variance is used in mathematical derivations and ANOVA because variances of independent populations add together.
Why is population variance computed with N and not N-1?+
When computing the variance of an entire population, dividing by N gives the exact average squared deviation for that population. No estimation is needed because every value is known. Dividing by N-1 (Bessel's correction) is only necessary when working with a sample to correct for the fact that sample means underestimate the true spread. Since population variance makes no inference beyond the data at hand, the N denominator is mathematically exact and appropriate.
How is population variance used in the normal distribution?+
A normal (Gaussian) distribution is fully described by two parameters: the population mean mu and the population variance sigma^2. Written N(mu, sigma^2), it gives the probability of any value in the population. About 68.27% of values fall within 1 sigma of mu, 95.45% within 2 sigma, and 99.73% within 3 sigma. Population variance computed from census data or a complete historical series can be used directly in these formulas without any sampling correction.
Does adding a constant to all values change population variance?+
No. Adding a constant c to every value shifts the mean by c but does not change any deviation (xi + c) - (mu + c) = xi - mu. Since all deviations stay the same, the sum of squared deviations and therefore sigma^2 are unchanged. However, multiplying all values by a constant k multiplies sigma^2 by k^2, because each deviation is multiplied by k and each squared deviation by k^2. These properties hold for both population and sample variance.
What is the computational formula for population variance?+
The computational formula is sigma^2 = (Sum(xi^2) / N) - mu^2 = E[X^2] - (E[X])^2. This is algebraically equivalent to the definitional formula Sum((xi-mu)^2)/N but avoids computing deviations from the mean separately, which can be useful for hand calculations or streaming data. Expanding (xi-mu)^2 = xi^2 - 2*xi*mu + mu^2 and summing gives Sum(xi^2) - 2*mu*Sum(xi) + N*mu^2 = Sum(xi^2) - N*mu^2. Dividing by N gives the formula above.

What is population variance and how is it different from sample variance?

Population variance (sigma^2) divides the sum of squared deviations by N (the total population count), giving the exact variance of the entire population. Sample variance (s^2) divides by n-1 (Bessel's correction) to produce an unbiased estimate of sigma^2 from a sample. Use population variance only when your data is the complete population, such as all grades in a single class with no intent to generalize further. For most research and surveys, use sample variance.

What is the formula for population variance?

Population variance sigma^2 = Sum((xi - mu)^2) / N, where xi are individual data values, mu is the population mean (Sum(xi)/N), and N is the total count. Step by step: (1) compute mu; (2) subtract mu from each xi to get deviations; (3) square each deviation; (4) sum all squared deviations to get SS; (5) divide SS by N. The population standard deviation sigma = sqrt(sigma^2).

How do I calculate population variance step by step?

Example with data [2, 4, 6, 8, 10]: Step 1: mu = (2+4+6+8+10)/5 = 6. Step 2: deviations = [-4, -2, 0, 2, 4]. Step 3: squared deviations = [16, 4, 0, 4, 16]. Step 4: SS = 16+4+0+4+16 = 40. Step 5: sigma^2 = 40/5 = 8.0. Step 6: sigma = sqrt(8) = 2.828. The deviation table in this calculator shows all these steps for any dataset you enter.

What is the coefficient of variation and how do I interpret it?

The coefficient of variation (CV) = (sigma / mu) x 100%. It expresses variability as a percentage of the mean, making it unit-free and comparable across datasets. For example, a sigma of 5 kg when mu = 50 kg gives CV = 10%, while sigma of 5 kg when mu = 10 kg gives CV = 50%. CV below 15% typically indicates low variability; 15-30% is moderate; above 30% is high. CV is undefined when the mean is zero.

Can population variance be negative?

No. Population variance cannot be negative. Because it sums squared deviations from the mean, every term in the sum is non-negative. Variance equals zero only when every data point is identical to the population mean, meaning all values are the same. If you get a negative value from a manual calculation, there is an arithmetic error in computing the squared deviations or summing them.

When should I use population variance versus sample variance?

Use population variance when you have data for every member of the group you care about (the entire population). Examples: grades of all 30 students in a specific class, weight of every item in a fixed production batch, scores of all players in a completed tournament. Use sample variance in all other cases: opinion poll data, quality control sampling, experimental data from a subset of patients. Most statistical textbooks and software default to sample variance.

How is population variance used in probability and statistics?

Population variance sigma^2 is fundamental to many statistical concepts. For a discrete random variable X, Var(X) = E[(X - mu)^2] = E[X^2] - mu^2. For independent random variables X and Y, Var(X+Y) = Var(X) + Var(Y), the variance addition rule. In normal distributions, the distribution is fully described by mu and sigma^2. In regression, the total sum of squares (TSS) is N times the variance of the response variable.

What is grouped data population variance?

Grouped data population variance is used when data is presented as a frequency distribution (class intervals with counts) rather than individual values. The formula is sigma^2 = Sum(fi * (xi - mu)^2) / N, where fi are class frequencies, xi are class midpoints, and N = Sum(fi). This calculator's Grouped Frequency mode implements this formula and displays the weighted deviation table showing f*(x-mu)^2 for each class.

What is the relationship between population variance and standard deviation?

Population standard deviation sigma = sqrt(sigma^2). Variance sigma^2 = sigma^2 (trivially). Standard deviation is in the same units as the original data, while variance is in squared units. For a dataset with sigma = 3 metres, sigma^2 = 9 m^2. In practice, standard deviation is reported in scientific papers and news because it shares the unit with the data. Variance is preferred in mathematical derivations and ANOVA because variances of independent variables add together (SDs do not).

How does population variance relate to the normal distribution?

For a normally distributed population, sigma^2 is one of two parameters that completely define the distribution (along with the mean mu). The normal distribution N(mu, sigma^2) has 68.27% of values within one sigma, 95.45% within two sigma, and 99.73% within three sigma of the mean. Knowing sigma^2 lets you compute any probability or percentile for the population without additional data. The calculator's outputs can be used directly as inputs to normal distribution calculations.

Why is population variance in squared units?

Population variance is in squared units because it sums the squares of deviations: (xi - mu)^2. Squaring serves two purposes: (1) it makes all terms positive so deviations above and below the mean do not cancel each other; (2) it gives greater weight to values far from the mean, making variance sensitive to outliers. The squared-unit issue is resolved by taking the square root to get standard deviation, which is in the same units as the data.

How do I compare variability of two populations with different means?

Use the Coefficient of Variation (CV = sigma/mu x 100%) rather than raw variance or standard deviation. Example: Population A has mu = 100, sigma = 10, CV = 10%. Population B has mu = 10, sigma = 3, CV = 30%. Population B is more variable relative to its mean, even though its sigma is smaller. This calculator reports CV automatically whenever the mean is non-zero, allowing direct relative comparisons.