Skip to main content

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.

Results

How to use the variance calculator

  1. Paste or type numbers separated by commas, spaces, or new lines.
  2. Press Calculate. Read population variance (divide by n) and sample variance (divide by n - 1).
  3. Check matching standard deviations, mean, sum of squared deviations, count, and range.
  4. Sample needs at least two numbers. Nothing is uploaded.

Variance Calculator

Descriptive dispersion (squared units)

Population varianceσ² = Σ(x - μ)² / n
Sample variances² = Σ(x - x̄)² / (n - 1)
Default example2, 4, 4, 4, 5, 5, 7, 9 → population variance = 4
Also reportsSD, mean, sum of squares, range
Enginestats
UploadNone

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.

Variance calculator questions

How is variance related to standard deviation?
Standard deviation is the square root of variance. Variance is in squared units; SD is in the original units.
Population or sample?
Use population when the list is the whole group (divide by n). Use sample when the list estimates a larger population (divide by n - 1).
What does the default list produce?
Mean 5, population variance 4, sample variance about 4.57142857, population SD 2, sample SD about 2.13808994.
Can variance be negative?
No. Squared deviations are never negative, so variance is at least 0.
Why is this a separate page from standard deviation?
Search names the variance job. The engine is shared, but this URL keeps variance first and answers variance-focused questions.
Does this page upload my numbers?
No. The formula runs in this browser tab.