Beginner

Variance Calculator — Sample & Population Variance and Std Dev

Paste or type any numbers (comma- or space-separated) to instantly get sample and population variance, standard deviation, coefficient of variation, and standard error — with a bell-curve preview centred on the mean.
Enter numbers separated by commas, spaces, semicolons, or new lines
Sample variance (s²)
20.9333

Sum of squared deviations ÷ (n − 1) — the unbiased estimator for a sample

Normal bell curve centred on the sample mean (μ) with width ±1σ, ±2σ
Count (n)
10
Mean (x̄)
7.6
Sum of squared deviations
188.4
Sample variance (s²)
20.9333
Population variance (σ²)
18.84
Sample std deviation (s)
4.5753
Population std deviation (σ)
4.3405
Coefficient of variation (CV)
60.2 %
Standard error of mean (SE)
1.4468
Step by step
  1. 1

    Count (n)

    10
  2. 2

    Mean (x̄)

    Σx ÷ 10 = 7.6
  3. 3

    Sum of squared deviations Σ(xᵢ − x̄)²

    188.4
  4. 4

    Sample variance (s²)

    188.4 ÷ (10 − 1) = 20.9333
    Dividing by n − 1 (Bessel's correction) gives an unbiased estimate for a sample.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Sample variance s² = Σ(xᵢ − x̄)² / (n − 1); population variance σ² = Σ(xᵢ − μ)² / n. Standard deviation = √variance (same units as data). CV = SD / |mean| × 100%. SE = s / √n. Use sample variance (n − 1) for any drawn sample; population variance (n) only when you have the entire population.

Formula
s² = Σ(xᵢ − x̄)² / (n − 1) • σ² = Σ(xᵢ − μ)² / n • SD = √variance • CV = SD / |mean| × 100% • SE = s / √n
How this is calculated

Variance measures how spread out values are around their mean. For each observation the squared deviation from the mean is computed; those squared deviations are summed and divided by either n (population variance, σ²) or n − 1 (sample variance, s²). The n − 1 denominator is Bessel's correction — when you have a sample drawn from a larger population, dividing by n − 1 corrects for the fact that the sample mean is slightly closer to all sample points than the true population mean would be, giving an unbiased estimate of σ².

Standard deviation (SD) is the square root of variance and shares the units of the original data, making it far more interpretable. The coefficient of variation (CV = SD / |mean| × 100%) expresses spread as a proportion of the mean, enabling comparison across data sets with different units or very different mean magnitudes. The standard error of the mean (SE = s / √n) estimates how much the sample mean would vary across repeated samples of the same size — it shrinks as n grows, reflecting the precision gain from larger samples.

When to use which: use population variance (σ²) only when your data is the entire population with no sampling uncertainty. In practice — surveys, experiments, quality-control samples — use sample variance (s²). The distinction becomes negligible for n above ~30. The distribution curve shown uses the sample standard deviation and assumes normality purely for visualisation; your data may not follow a normal distribution.

Frequently asked questions

Population variance (σ²) divides the sum of squared deviations by n and is correct when your data is the complete population. Sample variance (s²) divides by n − 1 (Bessel's correction) and is the right choice when your data is a sample drawn from a larger population — it yields an unbiased estimate of the true σ². For large n the two converge; for small samples the difference can be substantial.

Variance is the average squared deviation from the mean, so its unit is the square of the original (e.g. cm² for lengths in cm). Squaring eliminates sign so positive and negative deviations do not cancel, and it penalises large deviations more than small ones. Standard deviation — the square root of variance — restores the original unit for easier interpretation.

CV = SD / |mean| × 100% expresses relative variability. A CV below ~15% indicates low spread relative to the mean; above 30% indicates high relative variability. CV is especially useful for comparing dispersion across data sets with different measurement scales or very different means. It is undefined (or uninformative) when the mean is zero.

Also known as

variance calculator
sample variance formula calculator
population variance calculator
standard deviation from data set
sum of squared deviations calculator
coefficient of variation calculator
bessel correction statistics calculator

APA

TG we-Calculate Editorial Team. (2026). Variance Calculator — Sample & Population Variance and Std Dev [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/variance-calculator

Chicago

TG we-Calculate Editorial Team. "Variance Calculator — Sample & Population Variance and Std Dev." TG we-Calculate. 2026. https://we-calculate.com/calculator/variance-calculator.

IEEE

TG we-Calculate Editorial Team, "Variance Calculator — Sample & Population Variance and Std Dev," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/variance-calculator

BibTeX

@misc{wecalculate_variance_calculator, title = {Variance Calculator — Sample & Population Variance and Std Dev}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/variance-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?