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.