Standard deviation calculator

Calculate population or sample standard deviation, with the mean, variance and denominator used in the calculation.

Your inputs stay herePUFFINMINT

Set your data

Set your data

Enter the observations and choose population for the entire dataset or sample to estimate dispersion from a sample.

Result

Enter your data and run the tool. Your result will appear here.

The values you enter stay on this page. Reloading or closing it clears them.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use the tool

  1. Fill in these fields: Numbers (whitespace, ; or newlines), Dataset type.
  2. Select “Calculate” to obtain the result.
  3. Follow the steps through to the square root of the variance.
  4. The line marks the mean. Each dot represents an observation and the segment shows its deviation. For long series the chart shows up to 12 observations, while the calculation uses them all.

Method and principles

Formula

σ = Σ ( x i − μ ) 2 n
Standard deviation is the square root of variance: σ=√[Σ(x−μ)²/n], or s=√[Σ(x−x̄)²/(n−1)] for a sample.

Sample (divide by n−1)

s = Σ ( x i − x̄) 2 n − 1

Worked example

For 2; 4; 4; 4; 5; 5; 7; 9, the mean is 5 and the population standard deviation is 2.

Variance uses squared units. If the variance is 4 m², the standard deviation is 2 m, in the original unit.

Practical example

Input
  • Numbers (whitespace, ; or newlines): 2; 4; 4; 4; 5; 5; 7; 9
  • Dataset type: Population (divide by n)
Result
σ = 32 8 = 4 = 2

Limits and interpretation

Sample calculations need at least two observations. Standard deviation has the same units as the data. It is not a confidence interval and does not imply normally distributed data.

Result details

Result details
ParameterValue
Observations8
Arithmetic mean5
Variance4
Standard deviation2
Divisor8

Limits and checks

Limits and checks
ParameterValue
Numbers (whitespace, ; or newlines)≤ 200000 characters

Favorites