Standard Deviation calculator

Calculate sample and population standard deviations, variance and mean.

Standard deviation
2.1380899353

Uses n − 1 degrees of freedom.

Breakdown & share
Variance
4.5714285714
Count
8
Sum
40
Mean
5
Population standard deviation
2
Sample standard deviation
2.1380899353
Estimates only.

Your inputs

Example values. Change any of them.

How it’s worked out

See how we got 2.1380899353

Mean = Σx ÷ n. Population variance = Σ(x − mean)² ÷ n. Sample variance divides by n − 1. Standard deviation is the square root of variance.

  1. Find the mean, 5.
  2. Sum the squared deviations to get 32.
  3. Divide by 7 and take the square root.

About this calculator

Enter a list of real numbers. A sample standard deviation requires at least two observations.

Worked example

Standard deviation · 2.1380899353

Mean = Σx ÷ n. Population variance = Σ(x − mean)² ÷ n. Sample variance divides by n − 1. Standard deviation is the square root of variance.

  1. Find the mean, 5.
  2. Sum the squared deviations to get 32.
  3. Divide by 7 and take the square root.

Common questions

How do I enter my data?

Separate values with commas, spaces, semicolons or new lines.

What if several values tie for most frequent?

They can all be modes. A list of distinct numbers has no mode under this convention.

When should I use sample standard deviation?

Use it when your values represent a sample from a larger population.

Formula sources

Reference checked November 22, 2026.