Skip to content

Standard deviation calculator

Paste or type a list of numbers. Get the standard deviation, variance and mean, with the steps.

Standard deviation
s = 2.1381datasciencetrivia.com
Standard deviation as a sample or as a whole population. Choose one to see its working.
  1. mean = 40 / 8 = 5
  2. Σ(x − mean)² = 32
  3. variance = 32 / (8 − 1) = 4.5714
  4. s = √4.5714 = 2.1381

6 of 8 values are within one standard deviation of the mean, 2.8619 to 7.1381. Standard error of the mean: 0.75593.

The example

The numbers 2, 4, 4, 4, 5, 5, 7 and 9 have a mean of 5, and their squared distances from it add up to 32. As a whole population their standard deviation is √(32/8) = 2. As a sample it is √(32/7) = 2.14.

FAQ

How do I calculate standard deviation?
Find the mean, square each value's distance from it and add the squares up. Divide by n − 1 for a sample or by n for a population, then take the square root.
Sample or population standard deviation?
Use the sample version, which divides by n − 1, when your numbers are a sample of something larger. Use the population version when they are the whole group.
What is the difference between variance and standard deviation?
The standard deviation is the square root of the variance. It is in the same units as the data, which is why it is the one usually reported.

Flashcards

More calculators

Created by santiviquez

About · Quizzes · Tools · History of AI · To suggest new questions or report an error send me a dm.