Variance Calculator

Enter your data and get sample variance, population variance, their standard deviations, and descriptive statistics. This tool is meant to outperform one-purpose variance tools by giving you everything in one place.

Separate numbers with comma, space, semicolon or new line.

Variance formulas

Population variance: \(\sigma^2 = \frac{1}{N} \sum_{i=1}^{N} (x_i - \mu)^2\)

Sample variance: \(s^2 = \frac{1}{n - 1} \sum_{i=1}^{n} (x_i - \bar{x})^2\)

Standard deviation: \(\sigma = \sqrt{\sigma^2}, \; s = \sqrt{s^2}\)

FAQs

Why (n − 1) for sample variance?

Because we are estimating the population variance from a sample. Using n − 1 instead of n makes the estimator unbiased.

What if I only have one value?

Population variance will be 0 (no spread). Sample variance is undefined (division by 0) — we report “—”.

Why square the differences?

Squaring keeps all deviations positive and penalizes larger deviations more strongly.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Formula (extracted text)
Population variance: \(\sigma^2 = \frac{1}{N} \sum_{i=1}^{N} (x_i - \mu)^2\) Sample variance: \(s^2 = \frac{1}{n - 1} \sum_{i=1}^{n} (x_i - \bar{x})^2\) Standard deviation: \(\sigma = \sqrt{\sigma^2}, \; s = \sqrt{s^2}\)
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn