Private browser utility / Calculators

Free Variance Calculator

Runs entirely in your browser - no upload, no sign-up.

Live workspaceLocal processing
Variance workspace

See both answers and every squared deviation.

Enter up to 2000 numbers separated by commas, spaces, semicolons, or new lines.

Primary result
Sample variance (s²)Not available

Enter numbers to see the calculation.

Selected formulas² = Σ(xᵢ - x̄)² / (n - 1)

Uses Bessel's correction for a sample.

Share this tool
variance calculator / browser utility
01 / Overview

What does a variance calculator do?

A variance calculator measures how widely numbers spread around their mean. Enter a data set to calculate both sample variance and population variance, compare their different divisors, and inspect every deviation and squared deviation used in the answer. The calculation updates instantly and stays in your browser.

02

How to use

  1. 01
    Enter your numbers

    Paste or type up to 2,000 values separated by commas, spaces, semicolons, or new lines. Decimals, negatives, and scientific notation are accepted.

  2. 02
    Choose the data set type

    Select sample when the values represent part of a larger group. Select population when the list contains every member you want to describe.

  3. 03
    Check the calculation

    Read the selected variance, formula, mean, standard deviation, sum of squares, and the table of individual squared deviations.

  4. 04
    Copy the result

    Copy the selected result and its supporting statistics into your worksheet, report, or notes.

03

Who it's for

  • Students can check statistics homework against a complete row-by-row variance calculation.
  • Teachers can show how one outlier contributes a large squared deviation and changes the final result.
  • Analysts can compare the sample and population definitions before moving a small data set into a spreadsheet.
  • Researchers can summarize the spread of measurements, trial results, ratings, or response times.

Variance is the average squared distance from the mean. This calculator accepts decimals, negative values, and scientific notation. It reports both common definitions at once: population variance for a complete group and sample variance for observations used to estimate a larger population.

The worked table makes the arithmetic visible. Each row subtracts the mean from one value, squares that deviation, and contributes it to the sum of squares. The selected formula then divides that sum by n or n - 1.

FAQ

Is my data uploaded to calculate variance?

No. The number parsing, mean, squared deviations, and both variance formulas run in your browser. The values are not sent to a calculation server or saved by this tool. After the page loads, you can continue calculating without a network connection.

Is this variance calculator free?

Yes. It is free to use, requires no account, and does not hide the calculation behind a paywall. You can enter up to 2,000 values per calculation and switch between sample and population modes as often as needed.

What is the difference between sample and population variance?

Population variance divides the sum of squared deviations by n because the data contains the complete population. Sample variance divides by n - 1 because the same sample is being used to estimate its unknown population mean. That adjustment is called Bessel's correction.

How do you calculate variance step by step?

Find the arithmetic mean, subtract it from every value, square each deviation, and add the squares. Divide that sum by n for population variance or n - 1 for sample variance. For 4, 7, 13, 16, the mean is 10 and the sum of squares is 90.

Why does sample variance need at least two values?

The sample formula divides by n - 1. With one value, that divisor is zero, and one observation provides no information about variation in a larger population. Population variance can be zero for a one-value population because its only value equals its mean.

Can variance be negative?

No. Each deviation is squared before the values are added, so every contribution is zero or positive. Variance is zero only when all values are identical. A negative result from manual arithmetic usually points to rounding or an unstable shortcut formula.

What is the relationship between variance and standard deviation?

Standard deviation is the non-negative square root of variance. Variance uses squared units, such as square seconds, while standard deviation returns to the original unit. The calculator reports the standard deviation for the selected sample or population mode beside the variance.