Standard Deviation Calculator

Sample and population standard deviation, variance, mean and quartiles for a list of numbers, with a step-by-step working table.

Runs in your browserNo sign-upWorks offline
Your result—
Formula used
Shown here after you calculate
Rounded to
2 decimal places

What the Standard Deviation Calculator does

The Standard Deviation Calculator measures how spread out a set of numbers is. Paste your data, choose whether it is a sample or a whole population, and it shows the standard deviation, variance, mean, quartiles and coefficient of variation. A working table lists each value’s distance from the mean, the way it is taught in class.

How to use it

  1. Type or paste your numbers.
  2. Choose A sample if the data is part of a larger group, or The whole population if it is every value.
  3. Read the standard deviation and the other figures.
  4. Open Working, step by step to see the table.

Example

For 2, 4, 4, 4, 5, 5, 7 and 9, the mean is 5. The squared differences from the mean add up to 32. As a population, the variance is 32 ÷ 8 = 4 and the standard deviation is 2. As a sample, the variance is 32 ÷ 7 = 4.571429 and the standard deviation is 2.13809.

Sample or population?

If you have measured everyone you care about, such as every student in a class, use the population formula, which divides by n. If your data is a sample used to estimate a bigger group, divide by n − 1. This is called Bessel’s correction, and it stops the spread from being underestimated.

A small standard deviation means values sit close to the mean; a large one means they are spread out.

Questions people ask

What is variance?

The average squared distance from the mean. The standard deviation is its square root, which brings it back to the same units as the data.

What is the coefficient of variation?

The standard deviation as a percentage of the mean. It lets you compare spread between data sets with different scales.

How are quartiles calculated?

With the median-of-halves method used in most school courses. Spreadsheets sometimes use other methods and can differ slightly.

Related tools