PennyPages

Standard Deviation Calculator

Paste a list of numbers and get the mean, the population and sample standard deviations, and the variance.

About the Standard Deviation Calculator

The standard deviation measures how spread out a list of numbers is around its mean: small means the values cluster tightly, large means they scatter. The classic list 2, 4, 4, 4, 5, 5, 7, 9 has a mean of 5 and a population standard deviation of exactly 2. The sample standard deviation divides by one fewer than the count — here about 2.14 — because a sample is used to estimate a bigger population's spread, and dividing by n-1 corrects the underestimate.

Use the population figure when your list is the whole set you care about (every score in the class); use the sample figure when the list is a sample drawn from something larger (a week's measurements standing in for the year). Variance is the standard deviation squared, shown for both. Separate the numbers with commas, spaces or line breaks. Nothing you enter leaves your browser.

Common questions

What is the standard deviation of 2, 4, 4, 4, 5, 5, 7, 9?

2 exactly, as a population: the mean is 5, the squared differences add to 32, and 32 divided by 8 is 4, whose square root is 2. As a sample it is about 2.14.

What is the difference between population and sample standard deviation?

The divisor: population divides the squared differences by the count (n); sample divides by n - 1, which corrects the tendency of a sample to understate the full population's spread.

How do you calculate standard deviation?

Find the mean, subtract it from every value and square the result, average those squares, then take the square root. That average of squares is the variance.

What does a standard deviation of 0 mean?

Every value in the list is identical — there is no spread at all around the mean.

Put this tool on your site

Free to embed — your visitors use it without leaving your page.

PennyPages #073 · free forever · same input, same answer, every time