Variance Calculator (Sample & Population)
Calculate sample variance (s^2), population variance (sigma^2), sum of squared deviations, and per-item squared residuals.
Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.
Interactive Browser Workspace
Loading the interactive Variance Calculator (Sample & Population) workspace. Enable JavaScript in your browser to run calculations and conversions locally.
How to Use Variance Calculator (Sample & Population)
- Paste a numeric dataset separated by commas, spaces, or newlines.
- Inspect `s^2`, `sigma^2`, standard deviations, and a table of `(x_i - mean)^2` residuals.
Methodology & Accuracy
Calculates squared distance of every value from the arithmetic mean and divides by `n - 1` (sample) and `n` (population).
Examples
- Inspect which outlier observations contribute most to total dataset variance.
Scope & Limitations
- Sample variance requires at least 2 numeric values.
Frequently Asked Questions
How are variance and standard deviation related?
Standard deviation is the positive square root of variance, bringing units back to the original scale of the data.
Related Tools
- Standard Deviation Calculator - Calculate both sample (s, n-1) and population (sigma, n) standard deviation, variance, mean, and quartiles from any dataset.
- Mean, Median, Mode & Quartiles Calculator - Compute arithmetic mean, median, mode(s), min, max, range, Q1, Q3, and interquartile range (IQR) in one view.
- Z-Score & Normal Probability Calculator - Compute standardized z-score (x - mu) / sigma, left-tail P(Z < z), right-tail P(Z > z), two-tailed p-value, and percentile.