Math

Standard Deviation Calculator

Measure spread in a list of numbers using sample or population standard deviation.

Exact method explained belowEditable inputs
Calculation notebook
Calculation notebook

The formula and worked example below explain the calculation.

See the method

Enter your values

Runs on your device

Your answer

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter numbers, treat values as.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
NumbersKeep the structure and separators shown in the sample. Line breaks are retained in this input.2, 4, 4, 4, 5, 5, 7, 9
Treat values asChoose Entire population / Sample of a population.Entire population

Result for these sample inputs

2
Variance
4
Mean
5
Count
8

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

Variance is the sum of squared distances from the mean divided by N for a population, or N − 1 for a sample. Standard deviation is the square root of variance. The calculation uses an incremental algorithm to reduce numerical error.

A WORKED EXAMPLE

For 2, 4, 4, 4, 5, 5, 7 and 9, the mean is 5. Population variance is 4 and population standard deviation is 2. Sample deviation is approximately 2.13809.

What to keep in mind

Sample mode needs at least two observations. Separate values with commas, spaces or semicolons; use dots for decimals, not thousands separators. This is an unweighted calculation.

Common questions

Which mode should I choose?

Choose population if these are all values you want to describe. Choose sample when estimating population variability from a sample.

What units does the result use?

Standard deviation uses the original measurement unit. Variance uses that unit squared.

Methodology maintained by ClarityKit. How these tools are built and checked.