Variance calculator

Calculate population variance or corrected sample variance. Compare the mean and standard deviation alongside the result.

Your inputs stay herePUFFINMINT

Set your data

Set your data

Enter up to 10,000 values and choose population or sample. Negative numbers and decimal points or commas are supported.

Result

Enter your data and run the tool. Your result will appear here.

The values you enter stay on this page. Reloading or closing it clears them.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use the tool

  1. Fill in these fields: Numbers (whitespace, ; or newlines), Dataset type.
  2. Select “Calculate” to obtain the result.
  3. Enter up to 10,000 values and choose population or sample.
  4. Negative numbers and decimal points or commas are supported.
  5. Compare the sample and population divisors.
  6. The line marks the mean. Each dot represents an observation and the segment shows its deviation. For long series the chart shows up to 12 observations, while the calculation uses them all.

Method and principles

Formula

σ 2 = Σ ( x i − μ ) 2 n
Variance divides the sum of squared deviations from the mean by n for a population or n−1 for a sample.

Sample (divide by n−1)

s 2 = Σ ( x i − x̄) 2 n − 1

Worked example

For 1; 2; 3, the mean is 2 and squared deviations sum to 2. Population variance is 2/3; sample variance is 1.

Variance uses squared units. If the variance is 4 m², the standard deviation is 2 m, in the original unit.

Practical example

Input
  • Numbers (whitespace, ; or newlines): 1; 2; 3
  • Dataset type: Population (divide by n)
Result
σ 2 = 1 + 0 + 1 3 = 2 3

Limits and interpretation

Variance is measured in squared units. A single observation has population variance 0; sample variance requires at least two observations.

Result details

Result details
ParameterValue
Observations3
Arithmetic mean2
Variance0.666666666667
Standard deviation0.816496580928
Divisor3

Limits and checks

Limits and checks
ParameterValue
Numbers (whitespace, ; or newlines)≤ 200000 characters

Favorites