ToollyX
no sign-up ยท instant ยท free

Standard Deviation Calculator

Calculate standard deviation, variance and coefficient of variation instantly, in population or sample form. Check a value's z-score and percentile, or compare the consistency of two datasets.

Modes3 Modes
TypePopulation & Sample
IncludesZ-Scores, Bell Curve
CostFree, No Signup
728 ร— 90 โ€” Leaderboard Ad
๐Ÿ“ˆStandard Deviation

Use when your data is the entire population you care about. Divides by n.

Data Values5 values

Separate values with commas, spaces or new lines. At least 2 values needed.

-3ฯƒ-2ฯƒ-1ฯƒxฬ„+1ฯƒ+2ฯƒ+3ฯƒ
1ฯƒ60.0% of your data falls within 1 ฯƒ of the mean (theoretical: ~68%)
2ฯƒ100.0% falls within 2 ฯƒ (theoretical: ~95%)
3ฯƒ100.0% falls within 3 ฯƒ (theoretical: ~99.7%)
Std Dev (ฯƒ)
6.1123
Variance (ฯƒยฒ)
37.36
Mean (xฬ„)
12.2
Count (n)
5
Minimum
4
Maximum
21
Range
17
Coeff. of Variation
50.1007%
Sum of squared deviations: 186.8 โ†’ ฯƒ = โˆš(186.8 / 5) = 6.1123
โš™๏ธSettings
Show Step-by-Step
Display the formula used under each result
Show Bell Curve
Theoretical normal distribution with ฯƒ bands
Show Empirical Rule (68-95-99.7)
Compare your data's actual spread to the theoretical rule
๐Ÿ“Formulas
Mean
xฬ„ = (ฮฃxแตข) / n
Population ฯƒ
ฯƒ = โˆš(ฮฃ(xแตขโˆ’xฬ„)ยฒ / n)
Sample s
s = โˆš(ฮฃ(xแตขโˆ’xฬ„)ยฒ / (nโˆ’1))
Variance
ฯƒยฒ = ฮฃ(xแตขโˆ’xฬ„)ยฒ / n
Z-Score
z = (x โˆ’ xฬ„) / ฯƒ
Coeff. of Variation
CV = (ฯƒ / |xฬ„|) ร— 100%
728 ร— 90 โ€” Leaderboard Ad

โšก Quick Tips for Getting the Right Number

01Pick Sample, not Population, unless your data truly is the entire group. Most real-world datasets โ€” a survey, a test score set, a batch of measurements โ€” are samples, and using the wrong divisor quietly understates the true spread.
02Use coefficient of variation, not raw standard deviation, to compare two differently-scaled datasets. A standard deviation of 500 means very different things depending on whether the mean is 1,000 or 1,000,000.
03Check your actual empirical rule percentages before assuming your data is normal. If your real 68/95/99.7 numbers are far from the theoretical ones, a z-score's percentile should be treated as a rough estimate, not an exact figure.
04Reach for Compare mode when the actual question is "which is more consistent." Two separate standard deviations are harder to compare mentally than one direct verdict.

Features

ฯƒPopulation & Sample Modes

Correct divisor for either case, switched with one click.

๐ŸŽฏZ-Score & Percentile Checker

See exactly how unusual a value is relative to a dataset.

๐Ÿ“‰Visual Bell Curve

See where a value or your data's spread sits on a normal distribution.

๐Ÿ“Empirical Rule Comparison

Your actual 68/95/99.7 percentages next to the theoretical ones.

%Coefficient of Variation

Compare spread fairly across datasets with very different scales.

โ‡„Two-Dataset Comparison

A direct verdict on which dataset is more consistent.

Population or Sample โ€” the One Setting That Changes Everything

Every other number this calculator produces depends on getting this one choice right first. Population standard deviation divides the sum of squared deviations by n, and is the correct formula only when your dataset genuinely is the entire group you care about โ€” every employee at a small company, every unit in a finished production batch. Sample standard deviation divides by (nโˆ’1) instead, a deliberate correction because a sample's mean is itself estimated from the same limited data, which would otherwise make the sample formula slightly underestimate how spread out the true, larger population actually is. Get this backwards on a genuine sample โ€” a survey of 200 people meant to represent a country's whole population, say โ€” and every downstream number, including a z-score built on it, inherits that same small but real bias. The gap between the two formulas shrinks as a dataset grows larger โ€” dividing by 99 instead of 100 barely moves the result โ€” which is exactly why the choice matters most for the smaller datasets most people are actually working with, not the enormous ones where the correction becomes negligible.

What a Z-Score Actually Tells You

A z-score compresses "how unusual is this value" into one signed number: how many standard deviations it sits above or below the mean. A z-score of +2 always means the same relative thing โ€” two standard deviations above average โ€” whether it's describing an exam score, a shipment weight, or a quarterly sales figure, which is exactly what makes it useful for comparing values that come from completely different scales or units. This tool converts that z-score into a percentile as well, using the standard normal distribution's cumulative function โ€” the same table a statistics textbook prints in its appendix, computed directly instead of looked up.

The 68-95-99.7 Rule, and Why Real Data Rarely Matches It Exactly

For a perfectly bell-shaped distribution, roughly 68% of values sit within one standard deviation of the mean, 95% within two, and 99.7% within three โ€” a genuinely useful rule of thumb for judging how unusual a value is at a glance. Real datasets are rarely perfectly normal, though, especially small ones or ones with a genuine skew, which is why this tool shows your dataset's actual percentages in each band directly next to the theoretical figures rather than just asserting them. A big gap between your real numbers and the textbook ones is informative on its own โ€” it's a sign the underlying data doesn't follow a normal distribution closely, and any percentile derived from a z-score should be read as an approximation rather than an exact figure in that case. Test scores from a well-designed exam, heights across a large population, and measurement error in a precise instrument all tend to land close to the theoretical curve; income, wait times, and most real-world counts of rare events typically don't, and treating them as if they did is a common source of overconfident conclusions.

728 ร— 90 โ€” Leaderboard Ad

Standard Deviation vs Coefficient of Variation

A standard deviation of 12 sounds like a fixed, absolute fact, but it means something completely different depending on what it's measured against โ€” enormous variability for data centered around a mean of 20, essentially nothing for data centered around 50,000. Coefficient of variation solves this by expressing standard deviation as a percentage of the mean, which puts differently-scaled datasets on genuinely comparable footing. It matters most in exactly the situation Compare Two Datasets is built for: judging which of two things is more consistent when they don't share a similar average to begin with โ€” comparing the day-to-day volatility of a stock trading at $4 against one trading at $400, for instance, where the raw standard deviations alone would be misleading. The trade-off is that CV stops being meaningful once a mean is at or near zero โ€” dividing by a number close to zero produces a wildly inflated or undefined percentage โ€” which is exactly why this calculator falls back to a plain dash rather than a misleading figure whenever that happens.

Where People Actually Use Standard Deviation

Finance uses it as the standard measure of volatility โ€” a fund with a lower standard deviation of returns is considered more predictable, all else equal, regardless of what its average return happens to be. Manufacturing and quality control track it to catch a process drifting out of tolerance long before any single unit fails inspection, since a rising standard deviation often shows up before a rising defect rate does. Teachers curving a test use it alongside the mean to decide how a raw score translates to a grade โ€” the same underlying numbers the Mean, Median & Mode Calculator reports for central tendency. Sports analysts use it to describe consistency โ€” a player averaging 20 points with a low standard deviation is a fundamentally different kind of performer than one averaging 20 with wild game-to-game swings, even though their averages are identical. Researchers reporting an experiment's results lean on it too โ€” a mean without any measure of spread tells you almost nothing about how much individual results actually varied around it, which is exactly why a standard deviation is expected to accompany a reported average in nearly every published study.

The Honest Limits of This Calculator

This tool computes standard deviation, variance, z-scores, percentiles and empirical-rule comparisons correctly and quickly โ€” it does not perform hypothesis testing, confidence intervals, or any inferential statistics beyond descriptive spread, and it should not be treated as a substitute for proper statistical software when that level of analysis is genuinely required. The percentile derived from a z-score specifically assumes a roughly normal distribution; for data that's visibly skewed, that percentile is an approximation rather than an exact figure, which is precisely why the empirical rule comparison exists โ€” to let you judge that assumption yourself instead of taking it on faith. For central tendency and outlier detection on the same data, the Mean, Median & Mode Calculator covers that ground directly, and for quick sample data to test either tool with, the Random Number Generator can generate it in seconds.

Frequently Asked Questions

728 ร— 90 โ€” Leaderboard Ad