Mathematics · Formula

Standard deviation

The typical distance of data points from the mean, for a full population.

Mathematics librarySymbols definedWorked example
Formula
σ = √(Σ(xi − μ)2 / N)

The typical distance of data points from the mean, for a full population.

What the symbols mean

  • σ — population standard deviation
  • xᵢ — each data value
  • μ — population mean
  • N — number of values

What it means

Square the deviations, average them to get the variance, then take the square root to return to the original units. For a sample, divide by n − 1 instead of N.

Worked example

Example

The values 2, 4, 4, 4, 5, 5, 7, 9 have mean 5 and population standard deviation 2.

Apply it

The live calculator applies this relationship with your own numbers and shows the substituted working.

Open the calculator

Related formulas

These relationships often appear alongside the standard deviation in the same problems.

Frequently asked questions

What is the standard deviation formula?

The relationship is σ = √(Σ(xi − μ)2 / N). The typical distance of data points from the mean, for a full population.

When should I use the standard deviation formula?

Square the deviations, average them to get the variance, then take the square root to return to the original units. For a sample, divide by n − 1 instead of N.

How do I avoid unit mistakes?

Write each quantity with its unit before substituting, convert to the units the formula expects, and check that the result's unit matches the quantity you are solving for. Angles must be in radians for calculus-based expressions unless the page says degrees.

Sources and standards

The equation form, symbols and expected units on this page are checked against the reference works below.

How these are used: sources and standards.

Reviewed November 2026 · Educational reference. See the disclaimer and methodology.