How to Use the Sample Variance Calculator: Steps and a Worked Example

By 1 min read

Calculate the sample variance of a list of numbers. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Sample Variance Calculator tool is free, needs no account and runs in your browser.

What you need

  • Numbers (separated by commas or new lines), for example 2, 4, 6, 8, 10

Step by step

  1. Open the Sample Variance Calculator tool.
  2. Fill in Numbers (separated by commas or new lines).
  3. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Numbers (separated by commas or new lines): 2, 4, 6, 8, 10

the tool returns:

Sample variance: 10

How it works

The calculation is: s² = Σ(x − x̄)² ÷ (n − 1). Paste your numbers separated by commas, spaces or new lines. The result is the sample variance, which divides by n − 1.

Things to keep in mind

Uses the sample formula. If your numbers are the whole population rather than a sample of it, divide by n instead.

If this is not quite what you need, try Sample Standard Deviation Calculator, Population Variance Calculator or Coefficient of Variation Calculator.

More from the blog