Variance Calculator

Turn raw numbers into variance insights in seconds. Pick population or sample, adjust rounding easily. Export reports, validate steps, and teach your team today.

Calculator

Used in downloads and the summary.
Choose based on whether you sampled from a larger set.
Affects display and exports.
Optional: removes the same share from both tails.
Weights must match the number of values.
Tip: 1 2 3, 1,2,3, and multi-line input all work.
Reset

Example data table

#Value
112
215
318
420
522
622
725
827
930
1031
This example matches the default values loaded in the calculator.
Example outputs (rounded)
  • Mean: 22.2
  • Population variance: 34.76
  • Sample variance: 38.6222
Your results may differ if you change options.

Formula used

Unweighted variance
Let n be the number of values and be the mean.
  • Population: σ² = Σ(xᵢ − x̄)² / n
  • Sample: s² = Σ(xᵢ − x̄)² / (n − 1)
Weighted variance
Let weights be wᵢ ≥ 0 and weighted mean be μw.
  • Weighted mean: μw = Σ(wᵢxᵢ) / Σwᵢ
  • Population: σw² = Σ[wᵢ(xᵢ − μw)²] / Σwᵢ
  • Sample (unbiased): sw² = Σ[wᵢ(xᵢ − μw)²] / (Σwᵢ − Σwᵢ²/Σwᵢ)
If the sample denominator is not positive, the calculator returns “—”.
Trimmed variance (if enabled) is computed after removing extremes, then applying the selected formula on the remaining values.

How to use this calculator

  1. Paste your values into the Data values box.
  2. Pick Sample for estimates, or Population for full data.
  3. Optional: enable Weights and paste a matching list.
  4. Optional: set Trim extremes to reduce outlier influence.
  5. Press Calculate variance to view results above the form.
  6. Use Download CSV or Download PDF to share outputs.

Related Calculators

Mode CalculatorRange CalculatorPopulation Standard DeviationSample Standard DeviationTrimmed Mean CalculatorWeighted Mean CalculatorRolling Mean CalculatorMean Absolute DeviationConfidence Interval MeanBox Plot Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.