Compute variance exactly, always reporting both the sample (n-1) and population (n) definitions because they are different numbers.
Standard Deviation Calculator
Compute a standard deviation to a stated precision, reporting both the sample and population definitions.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
Separate with commas, spaces or new lines. A column pasted from a spreadsheet works. Processed in your browser.
The usual case; matches Excel STDEV.S
How many digits to show when the answer is irrational. An exact answer ignores this.
Fill in Values to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste your values and say whether they are a sample or the whole population.
- 2
Both definitions are shown, along with the variance each comes from.
Questions about Standard Deviation Calculator
Why is the standard deviation usually not exact?
Because it is the square root of the variance, and a root is irrational unless the variance happens to be a perfect square. The variance itself is exact here; the deviation is shown to a stated number of correct digits, and the page says which case you are in.
Why use the standard deviation rather than the variance?
Because it is in the same units as the data. A variance of heights in centimetres is in square centimetres, which is not interpretable; its square root is in centimetres and can be compared with the mean. The variance is the more convenient quantity algebraically, which is why both exist.
Sample or population?
A sample, almost always - use the n - 1 version unless your data really is the entire group you care about. Note that the n - 1 correction makes the *variance* unbiased, not the standard deviation; taking a square root does not preserve unbiasedness. The correction is still the right default.
Is my data sent anywhere?
No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.
Does the Standard Deviation Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Standard Deviation Calculator keeps working with the network switched off and nothing is ever sent to a server.
Related tools
Other tools you might reach for next.
Compute a z-score exactly, with the normal percentile rank and two-tailed p-value, stating the normality assumption those rest on.
Find the arithmetic mean of a list of numbers exactly, with no floating-point drift in the sum.
Evaluate an expression with exact fraction arithmetic, trigonometry, logarithms and factorials, reporting whether the result is exact.
Reduce a fraction to lowest terms, with its mixed number and exact decimal form including any repeating block.
Add two fractions exactly, showing the common denominator step and reducing the result.
Subtract one fraction from another exactly, showing the common denominator step.
Multiply two fractions exactly, multiplying across and reducing the result.