Standard Deviation Calculator
Calculate population or sample standard deviation with a step-by-step walkthrough.
Enter your data
Calculation mode
Use when you have the entire dataset. Divisor: N.
Numbers separated by commas, spaces, or newlines.
Results
Std Deviation(σ)
2.467793
Count(N)
10
Sum
51
Min
1
Max
9
Mean(μ)
5.1
Variance(σ²)
6.09
Standard Deviation — What It Measures and How to Use It
Standard deviation is the most widely used measure of spread in a dataset. It quantifies how far the individual values typically stray from the mean. A small standard deviation means the values cluster tightly around the mean; a large one indicates they are spread out.
What Is Standard Deviation?
Given a set of values , the calculation follows five steps:
- Find the mean
- Compute each deviation
- Square each deviation
- Average the squared deviations to get the variance
- Take the square root to get the standard deviation
The square root in the final step brings the unit back to the same scale as the original data, making standard deviation directly interpretable alongside the mean.
For a population (you have all values in the group):
For a sample (your values are drawn from a larger group):
Why Sample Standard Deviation Uses N−1 (Bessel's Correction)
When you have only a sample, the sample mean is slightly closer to the sample values than the true population mean is. This causes the raw squared deviations to be slightly smaller than they should be — in other words, dividing by would give a biased (systematically low) estimate of the population variance.
Dividing by instead corrects for this bias. This adjustment is known as Bessel's correction, and it makes an unbiased estimator of the population variance .
The intuition: with a sample of size , only deviations are genuinely "free" — once you fix the first deviations and the mean, the last deviation is determined. You therefore have degrees of freedom.
As the sample size grows, and become nearly equal and the distinction disappears — which makes sense, because a very large sample is practically the same as the whole population.
From a Sample to the Population: Standard Error
The sample standard deviation describes the spread of values inside your sample. But researchers are often more interested in how accurately the sample mean estimates the population mean .
The answer is the standard error of the mean (SEM):
The SEM shrinks as you collect more data (it scales with ), which formalises the intuition that larger samples give more reliable estimates.
For example, if a sample of students has a score standard deviation of , then the SEM is . A 95% confidence interval for the true mean score is approximately , where 1.96 is the critical value from the standard normal distribution that captures the central 95% of the area.
How to Use This Calculator
- Enter your values in the text area, separated by commas, spaces, or newlines.
- Choose the mode — use Population if your data represents the entire group you care about; use Sample if it is a subset of a larger population.
- Click Calculate (or leave the default values to see an example).
- Read the results — the card shows count, sum, mean, variance, and standard deviation with the appropriate symbols (/, /, /).
- Expand the Step-by-Step Solution section to trace through the full derivation, rendered in LaTeX.
Interpreting the Results
| Statistic | Population symbol | Sample symbol | Meaning |
|---|---|---|---|
| Count | Number of values | ||
| Sum | Total of all values | ||
| Mean | Average value | ||
| Variance | Average squared deviation | ||
| Std Deviation | Typical distance from the mean |
A standard deviation close to zero means the values are nearly identical. A standard deviation larger than the mean often signals high relative variability.
Related Tools
Other math calculators that pair well with statistics work.