Loading…

Education08.07

Standard Deviation Calculator

Calculate the standard deviation and variance of a sample or population, with a step-by-step table, the coefficient of variation, and the standard error.

Back to Education

Separate values with spaces, line breaks, commas, or semicolons.

Your data is

Divides by n − 1 (Bessel’s correction). This is the usual choice for surveys, experiments, and any subset of the data.

This runs entirely in your browser. We don’t store any data.

Sample standard deviation (s)

Type or paste your data.

How to use it

  1. 01

    Type or paste your numbers, separated by spaces, commas, or line breaks. A column copied from Excel or Google Sheets works too.

  2. 02

    Choose whether your data is a sample or the entire population.

  3. 03

    You’ll get the standard deviation, variance, mean, coefficient of variation, and a table showing each step of the calculation.

How it works

Standard deviation measures how spread out your data is around the mean. It takes four steps: find the mean, subtract it from each value, square each difference and add them up, then take the square root of that sum divided by n (population) or n − 1 (sample).

For a sample, you divide by n − 1 (Bessel’s correction). A sample’s mean sits closer to its own data points than the true population mean does, so dividing by n would underestimate the spread.

The coefficient of variation (SD ÷ mean) lets you compare spread across data sets with different units or scales. The standard error of the mean (s ÷ √n) tells you how much the mean would likely vary from one sample to the next.

If you only need the mean, median, or mode, use the mean, median, and mode calculator. This tool focuses on spread and shows all the work.

Examples

  • Textbook example

    For 2, 4, 4, 4, 5, 5, 7, 9, the mean is 5, the sum of squares is 32, the population SD is 2, and the sample SD is 2.138.

  • Comparing two classes

    Two classes can both average 75% and still look very different. With an SD of 3, nearly everyone scored around 75; with an SD of 15, scores ranged from 45 to 100.

Frequently asked questions

Should I use sample or population standard deviation?

Almost always sample, since your data is usually part of something bigger. Use population only when you have every single case and care only about that group, like the test scores of one class.

What counts as a “good” standard deviation?

There’s no universal cutoff; it depends on the units and the size of the mean. The coefficient of variation helps here: anything below about 10% is generally considered low spread.