Describe the spread, then choose the right denominator
Standard deviation summarizes distances from a dataset’s mean in the same units as the observations. Variance expresses that spread in squared units. A small standard deviation means the entered values are clustered more tightly around their mean; it does not establish the quality of a measurement or the importance of a difference.
Select Population when describing the complete set you intend to summarize. Select Sample for the N−1 variance definition used when observations are a sample. The NIST measures-of-scale reference explains sample variance and standard deviation and their sensitivity to extreme values. This tool reports both definitions so the denominator is visible rather than implied.
Formulas and an original worked example
For N values with mean μ = sum / N, population variance is Σ(x − μ)² / N. Sample variance uses Σ(x − μ)² / (N − 1). Standard deviation is the square root of the corresponding variance. The N−1 correction concerns variance; it does not make every use of sample standard deviation unbiased.
For the default dataset 3, 5, 7, 9, the count is 4, sum 24, mean and median 6, minimum 3, maximum 9, and range 6. Squared deviations are 9, 1, 1 and 9, totaling 20.
Population variance is 20 / 4 = 5, and population standard deviation rounds to 2.236068. Sample variance is 20 / 3 = 6.666667, and sample standard deviation rounds to 2.581989. Sample values need at least two observations. One observation has zero population spread, but its sample variance is unavailable.
Paste numbers without losing malformed entries
Use commas, ASCII spaces, tabs or newlines between numbers. Multiple whitespace separators are fine. An empty comma item, such as 3,,7, is an error. Leading and trailing commas are also errors. Every token must parse; the calculator does not discard a bad value to produce a plausible result.
Commas always separate values. Enter one thousand as 1000; 1,000 means two observations, 1 and 0. Use a decimal point, not a decimal comma. A leading plus or minus is allowed, but integer digits are required: write 0.5, not .5. Exponents, percentages, fractions and expressions are not accepted. Use Fraction or Scientific for their respective arithmetic questions.
The dataset accepts 1–1000 observations in at most 32768 characters. Each token has at most 24 characters, up to six decimal places and magnitude at most one trillion.
Exact decimals before display rounding
The engine parses millionths as integers and uses exact shifted sums to avoid catastrophic cancellation. For example, observations near one trillion that differ by one millionth retain their differences. It never subtracts rounded floating-point sums of large squares.
Summaries round once, half up to six decimals, with signed ties away from zero. Standard deviation rounds from the exact variance, not the displayed six-decimal variance. A positive variance may therefore display as zero while its standard deviation still displays as positive; the result identifies positive spread below display precision.
These are descriptive summaries. They do not establish normality, confidence intervals, causality or statistical significance. For relative-change arithmetic use Percentage; for choosing integer samples without saving them, see Random Number Generator.
Sources & review
- Measures of scale — NIST/SEMATECH e-Handbook
Last reviewed: . The formula is reproduced above so you can check the math independently.