CCalclabhub

Math · 64 calculators

Standard Deviation Calculator

Standard deviation is the typical distance of observations from their mean, measured in the original units. The squaring is what makes it algebraically useful — and the n-1 is what makes it honest for a sample.

Last updated

Standard deviation

6.0581

Variance
36.7
Mean
16.8
Spread relative to the mean
36.06%

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

The formula this calculator uses

SD = sqrt(Sum of (xi - Mean)^2 / (n - 1))

xi
Each observation
mu or x-bar
Mean of the observations
n
Number of observations
Sigma
Sum of the squared deviations from the mean

How to check the result by hand

  1. 1

    Compute the mean

    Add every value and divide by how many there are: (10 + 12 + 23 + 23 + 16) / 5 = 16.8. Everything downstream depends on this being right.

  2. 2

    Find each deviation from the mean

    Subtract the mean from every observation: -6.8, -4.8, 6.2, 6.2 and -0.8. These sum to zero by construction, which is a convenient check before continuing.

  3. 3

    Square each deviation

    46.24, 23.04, 38.44, 38.44 and 0.64. Squaring removes the signs so distances of equal size on either side contribute equally.

  4. 4

    Sum them and choose the divisor

    Total is 146.8. Divide by n-1 = 4 for a sample giving 36.70, or by n = 5 for the whole population giving 29.36. This is the variance.

  5. 5

    Take the square root

    sqrt(36.70) = 6.0581. Bringing the units back to the original scale makes the figure readable as roughly six units of typical distance from the mean of 16.8.

Common Questions

How does the Standard Deviation Calculator work?

Subtract the mean from each value, square those deviations, sum them, divide by one less than the count for a sample, then take the square root. For the data set 10, 12, 23, 23, 16 the mean is 16.8 and the sum of squared deviations is 146.8, giving a sample standard deviation of 6.0581 and a population standard deviation of 5.4185. Because the result is in the same units as the data, it can be read directly as a typical distance from the average.

What do I need to enter in the Standard Deviation Calculator?

It takes 6 inputs: Observation 1, Observation 2, Observation 3, Observation 4, Observation 5, Treat the data as. Fields that expect a unit say so next to the label.

Where does Standard deviation come from?

It comes from s = sqrt(Sum(xi - Mean)^2 / (n - 1)) — use when the data is a sample drawn from a larger population. Dividing by n-1 removes the downward bias in estimating that population's spread.

What is the most common mistake with the Standard Deviation Calculator?

Forgetting to take the square root. Reporting the variance as if it were the standard deviation inflates the figure and puts it in squared units. A variance of 36.70 is a standard deviation of 6.0581.

For worked examples, common mistakes and the limits of this formula, read the full How To Calculate Standard Deviation page.