Variance Calculator
A variance calculator finds population and sample variance for a list you type, plus the matching standard deviations. Population divides by n. Sample uses Bessel's correction (n - 1). Mean, sum of squared deviations, and range appear with the result.
How to use the variance calculator
- Paste or type numbers separated by commas, spaces, or new lines.
- Press Calculate. Read population variance (divide by n) and sample variance (divide by n - 1).
- Check matching standard deviations, mean, sum of squared deviations, count, and range.
- Sample needs at least two numbers. Nothing is uploaded.
Variance Calculator
Descriptive dispersion (squared units)
| Population variance | σ² = Σ(x - μ)² / n |
|---|---|
| Sample variance | s² = Σ(x - x̄)² / (n - 1) |
| Default example | 2, 4, 4, 4, 5, 5, 7, 9 → population variance = 4 |
| Also reports | SD, mean, sum of squares, range |
| Engine | stats |
| Upload | None |
What the variance calculator measures
A variance calculator measures spread in squared units of the data. It is the mean of squared deviations from the mean. Standard deviation is the square root, so SD returns to the original units. Population treats the list as the whole group (divide by n). Sample treats it as a subset estimating a larger group (divide by n - 1).
Variance formulas
- Mean = Σx / n
- Population variance σ² = Σ(x - mean)² / n
- Sample variance s² = Σ(x - mean)² / (n - 1)
- Standard deviation = sqrt(variance)
Sample needs at least two numbers. Variance cannot be negative.
Variance worked example
Default list 2, 4, 4, 4, 5, 5, 7, 9: mean = 5. Sum of squared deviations = 32. Population variance = 32 / 8 = 4. Sample variance = 32 / 7 is about 4.57142857. Population SD = 2. Sample SD is about 2.13808994.
When to use this calculator
When a method asks for variance rather than SD, such as ANOVA inputs you are preparing by hand, or when a paper reports σ². It does not run an ANOVA table.
Limits
Invalid input appears in the status line. IEEE floating point applies. No hypothesis test. CZNull does not receive the numbers.