Home ↓
CalculatorsVerified

Math & Geometry

Standard Deviation Calculator

Standard deviation measures how spread out numbers are around their mean. Paste a list of values to get the standard deviation and the other descriptive statistics at once.

How to use this calculator

  1. Paste or type your numbers, separated by spaces, commas or new lines.
  2. Choose “Sample” if your data is a subset of a larger group (most cases) or “Population” if it is the entire group.

What standard deviation measures

Standard deviation describes how spread out a set of numbers is around its average. A small standard deviation means the values sit close to the mean; a large one means they vary widely. Two classes can have the same average mark of 65, but if one has a standard deviation of 5 and the other 20, the second has far more very high and very low scores.

For data that follow a normal (bell-shaped) distribution, about 68% of values lie within one standard deviation of the mean, 95% within two and 99.7% within three. This makes standard deviation the basis of quality control, finance risk measures and test-score scaling.

Sample or population?

If your numbers are every member of the group you care about — all employees of a company, every result in one exam — use the population formula, which divides by n. If they are a sample used to describe a larger group, use the sample formula, which divides by n − 1 to correct the tendency of samples to underestimate spread. Most real-world data are samples.

Formula & method

Mean x̄ = Σx ÷ nSample variance s² = Σ(x − x̄)² ÷ (n − 1)Population variance σ² = Σ(x − x̄)² ÷ nStandard deviation = √variance

Dividing by n − 1 (Bessel's correction) gives an unbiased estimate of the population variance from a sample.

Worked example

Data: 2, 4, 4, 4, 5, 5, 7, 9

  1. Mean = 40 ÷ 8 = 5
  2. Σ(x − 5)² = 32
  3. Population: √(32 ÷ 8) = 2
  4. Sample: √(32 ÷ 7) = 2.138

Answer: σ = 2 (population), s ≈ 2.138 (sample).

Official sources

Last updated:

Frequently asked questions

When should I use population standard deviation?

Only when you have every member of the group you care about, such as the scores of every student in one class.

What is variance?

Variance is the square of the standard deviation; it is used in calculations, while standard deviation is easier to interpret because it has the same units as the data.

Can I paste data from a spreadsheet?

Yes. Copy a column and paste it; numbers separated by new lines, spaces, commas or semicolons are all accepted.

What does the mode show?

The most frequent value or values; if every value appears once, there is no mode.

Why is the sample standard deviation larger?

Dividing by n − 1 instead of n gives a slightly larger value, compensating for the sample's tendency to underestimate spread.