The standard deviation calculator computes the full statistical profile of any dataset: mean, median, mode, range, variance, and both sample and population standard deviation — in seconds. Enter any set of numbers and instantly understand the spread and center of your data.
What this calculator does
Paste comma-separated or space-separated numbers and the calculator handles the rest. Choose between sample standard deviation (for a subset of data, using n−1) and population standard deviation (for complete datasets, using n).
When to use this calculator
Use standard deviation whenever you need to characterise how spread out a dataset is, not just where it centres. In quality control, SD identifies when a manufacturing process is producing unacceptable variance. In finance, it is the standard measure of volatility. In academic research, it is required for reporting descriptive statistics before any inferential test. If you need to identify outliers, values beyond 2 or 3 standard deviations from the mean are the conventional thresholds.
Common mistakes
The most common conceptual error is choosing population standard deviation when the dataset is actually a sample. Unless your data includes every possible observation in the group (every employee in a company, every product made in a batch), use sample SD — the n−1 correction produces a more accurate estimate of the true population parameter. A second error is interpreting standard deviation without reference to the mean: an SD of 10 means very different things for a dataset with a mean of 15 versus a mean of 1,000.
Real-world scenarios
A quality control analyst measures 20 components from a production run, finding a mean diameter of 50.02 mm with a sample SD of 0.15 mm. The manufacturing tolerance is ±0.3 mm. Since 99.7% of values fall within 3 standard deviations (49.57–50.47 mm), the process is operating within tolerance. Now a financial analyst looks at monthly returns for a fund: mean return 1.2%, SD 4.1%. The high SD relative to the mean signals significant volatility — a useful risk metric before comparing against a benchmark with the same mean return but SD of 1.5%.
μ = population mean, x̄ = sample mean, N = population size, n = sample size.
Worked example
Dataset: 4, 8, 15, 16, 23, 42. Find the mean and population standard deviation.
Mean = (4+8+15+16+23+42) ÷ 6 = 108 ÷ 6 = 18
Deviations²: 196, 100, 9, 4, 25, 576
Variance = 910 ÷ 6 = 151.7
SD = √151.7 = 12.3
Result: Mean = 18, Population SD ≈ 12.3
Frequently asked questions
What is standard deviation?
Standard deviation measures how spread out the values in a dataset are from the mean. A low SD means values are close to the average; a high SD means they are widely spread.
When do I use sample vs population standard deviation?
Use sample SD (divides by n−1) when working with a sample from a larger population. Use population SD (divides by n) only when you have the complete population data.