Standard deviation and variance calculator

The standard deviation tells you if numbers sit close to the average or are spread out. Paste your numbers and pick sample or population.

Standard deviation and variance calculator

Separated by “;” or one per line.
Your data is

Result

2Standard deviation

Variance
4
Average
5
How many values
8
Smallest
2
Largest
9
Standard deviation if it were a sample (÷ (n − 1))
2.13809

Standard deviation and variance calculator

Inputs

Your numbers
2; 4; 4; 4; 5; 5; 7; 9
Your data is
The whole population (n)

How it is calculated

Average m = sum ÷ n.

Result

Standard deviation

2
Variance
4
Average
5
How many values
8

How it is calculated

  1. Average m = sum ÷ n.
  2. Variance = Σ(x − m)² ÷ n for a population, ÷ (n − 1) for a sample.
  3. Standard deviation = square root of the variance.
  4. The sum is built step by step (Welford’s method) to stay accurate even with large numbers.

Example

2, 4, 4, 4, 5, 5, 7, 9: average 5, population variance 4, standard deviation 2.

Good to know

  • Choose “sample” if your numbers are only part of a bigger group (the most common case).
  • A sample needs at least 2 values.

Frequently asked questions

What is this tool used for?

The standard deviation tells you if numbers sit close to the average or are spread out. Paste your numbers and pick sample or population.

How is the result calculated?

Average m = sum ÷ n.

What should I check before using the result?

Choose “sample” if your numbers are only part of a bigger group (the most common case).

Updated October 10, 2026

Indicative result. For an important decision, check with a professional.