cv.cm

Standard deviation calculator

Sample or population standard deviation, variance and standard error, worked out step by step. Your numbers stay in this tab.

Result

Standard deviation (s)
2.13809
Variance (s²)
4.571429
Mean
5
Count (n)
8
Sum
40
Sum of squares Σ(x − x̄)²
32
Standard error of the mean
0.755929
Coefficient of variation
42.76 %
Minimum – maximum
2 – 9

s² = Σ(x − x̄)² ÷ (n − 1) = 32 ÷ 7 = 4.571429; s = √4.571429 = 2.13809

Step by step

xx − x̄(x − x̄)²
2-39
4-11
4-11
4-11
500
500
724
9416

How to use this tool

Find the standard deviation in three steps.

  1. Paste your numbers

    Type or paste values separated by spaces, commas or new lines, or a column from a spreadsheet.

  2. Choose sample or population

    Sample (n − 1) for data from a larger group, population (n) when you have every value.

  3. Read and copy

    See the standard deviation, variance, mean and standard error, the filled-in formula and each step in the table.

FAQ

How do you calculate standard deviation?

Find the mean, subtract it from each value, square the differences and add them up. Divide that sum by n − 1 for a sample (or n for a whole population) to get the variance, then take the square root.

Should I use the sample or the population standard deviation?

Use the sample value (n − 1) when your numbers are a sample from a larger group, which is almost always the case in research. Use the population value (n) only when you have every member of the group.

What is the difference between standard deviation and variance?

Variance is the average squared distance from the mean; the standard deviation is its square root, so it is in the same units as your data and easier to read.

What is the standard error of the mean?

The standard deviation divided by √n. It shows how much the mean itself would vary from sample to sample, and it is what confidence intervals and t-tests use.

What does the coefficient of variation tell me?

The standard deviation as a percentage of the mean. It compares spread between data on different scales, for example weights in kilograms and heights in centimetres.