Standard deviation calculator

Show sample or population variance and squared deviations.

Jump to result

Your inputs

Updates as you type
Separate numbers by commas, spaces or new lines.

standard deviation

2

Count
8
Mean
5
Variance
4
Divisor
8

The table shows each squared deviation.

Calculations happen in your browser. Saving is optional.

Calculation breakdown

8 rows · View table
Standard deviation calculator — calculated breakdown
ValueDeviationSquared deviation
2-39
4-11
4-11
4-11
500
500
724
9416

How to use this tool

Enter the numeric observations and choose population or sample convention.

Population uses n; sample uses n−1 and requires at least two observations. Use the deviation table to inspect the working.

Variance = sum[(x−mean)²] / divisor; standard deviation = sqrt(variance)

Worked example

2 · standard deviation

Fixed example using the settings below. Monetary examples use USD; dates and times use their stated reference values. This example stays unchanged when you edit your calculation.

Example inputs
  • Values: 2,4,4,4,5,5,7,9
  • Convention: Population (divide by n)

Method illustration: For 2,4,4,4,5,5,7,9, population mean is 5 and standard deviation is 2.

Assumptions and limits

  • Use population when the values are the whole population of interest; sample uses Bessel's n−1 correction and requires at least two values.

Check or report a result

Check the units, selected calculation and assumptions first. Compare the fixed example above with your inputs to identify what changed.

Report a calculation issue with the page address, hypothetical inputs, result displayed and result expected. Do not include passwords, bank details or other private information.