Standard Deviation Calculator

This professional standard deviation calculator lets you paste or type numbers to instantly compute sample and population standard deviation, variance, mean, median, and other descriptive statistics. It is designed for students, analysts, scientists, and anyone who needs precise, accessible, and mobile‑friendly statistical results.

Calculator

Choose deviation type

Results

No data yet. Enter numbers to see results.

Selected standard deviation
Population standard deviation (σ)
Sample standard deviation (s)
Population variance (σ²)
Sample variance (s²)
Mean (x̄)
Median
Count (n)
Sum (Σx)
Min
Max
Range (max − min)
Coefficient of variation (CV)
Standard error of mean (SEM)

Data Source and Methodology

Authoritative source: NIST/SEMATECH e-Handbook of Statistical Methods (2012, updated). Section: “Measures of Variability”. National Institute of Standards and Technology. Direct link.

Tutti i calcoli si basano rigorosamente sulle formule e sui dati forniti da questa fonte.

The Formula Explained

Population standard deviation

σ = \sqrt{ \frac{1}{N} \sum_{i=1}^{N} (x_i - \mu)^2 }

where μ is the population mean and N is the population size.


Sample standard deviation

s = \sqrt{ \frac{1}{n-1} \sum_{i=1}^{n} (x_i - \bar{x})^2 }

where x̄ is the sample mean and n is the sample size. The n−1 term is Bessel’s correction.


Additional statistics

\text{Mean }(\bar{x}) = \frac{1}{n}\sum x_i, \quad \text{Range} = \max(x) - \min(x)

\text{SEM} = \frac{s}{\sqrt{n}}, \quad \text{CV} = \frac{\text{SD}}{|\bar{x}|}

Glossary of Variables

Worked Example

How It Works: A Step-by-Step Example

Consider the data set: 2, 4, 4, 4, 5, 5, 7, 9.

  1. Compute the mean: \bar{x} = (2+4+4+4+5+5+7+9)/8 = 40/8 = 5
  2. Compute squared deviations and sum: \sum (x_i - \bar{x})^2 = 32
  3. Population variance and SD: \sigma^2 = 32/8 = 4,\quad \sigma = \sqrt{4} = 2
  4. Sample variance and SD: s^2 = 32/7 \approx 4.571428,\quad s \approx 2.138090

You can load this example into the calculator with the “Load example” button to verify the results.

Frequently Asked Questions (FAQ)

When should I choose sample vs population?

Choose sample when your data represent a subset of a larger population; choose population when you have every member of the population. If unsure, use sample.

Why does sample SD use n−1?

Using n−1 (Bessel’s correction) corrects the bias in estimating the population variance and SD from a sample.

What separators are supported for input?

Commas, spaces, tabs, semicolons, and new lines. Multiple separators and blank lines are handled gracefully.

Do you handle scientific notation?

Yes. Inputs like 1e3, 2.5e-2, and -3.2E+1 are parsed as valid numbers.

Can I sort the data without changing results?

Yes. Sorting affects display order only. Statistics are order-invariant.

What if some tokens are not numbers?

They are ignored, and we show a note indicating how many were skipped so you can correct your data if needed.

How is rounding handled?

Enter the number of decimal places to round the display. Internal calculations use double precision and are then rounded for presentation.

Tool developed by Ugo Candido. Content verified by CalcDomain Expert Team.
Last reviewed for accuracy on: .