CALCULATE ALL — every calculation, from tomorrow

Math • Finance • Health • Conversion • Education — 100% free, no sign-up

Math

Standard Deviation Calculator

Measure how spread out your numbers are — with the mean included.

Calculate the standard deviation of any list of numbers to see how spread out the values are around the mean. The calculator shows the mean alongside, so you get the full picture of your dataset in one step.

Introduction

Standard deviation measures spread: how far a typical value strays from the average. Consider {4, 5, 5, 6} versus {0, 5, 5, 10} — both have a mean of 5, but the second dataset is far more scattered, and its larger standard deviation captures exactly that. In investing it quantifies volatility (a fund with high SD swings harder), in manufacturing it quantifies consistency (low SD means every part matches spec), in test scores it tells you whether the class clustered together or split into strong and weak groups, and in science it sets the error bars on every measurement.

The calculation has four steps: find the mean, square each value's distance from it (squaring penalizes large deviations and keeps everything positive), average those squared distances — that average is the variance — and take the square root to return to the original units. One subtlety: for a full population you divide by N, but for a sample you divide by N - 1 (Bessel's correction), because a sample's values cluster slightly tighter around the sample mean than around the true mean, so dividing by N would underestimate the spread. Use population when you have every value (all students in a class); use sample when your data is a subset (20 voters polled out of millions). With large datasets the N versus N-1 difference fades to nothing.

How it's calculated

This calculator uses the population standard deviation: the square root of the average squared distance of each value from the mean. A small value means the numbers cluster tightly; a large one means they are spread out.

Worked examples

Population SD of {2, 4, 4, 4, 5, 5, 7, 9}

Mean = (2+4+4+4+5+5+7+9) = 40 / 8 = 5. Squared deviations from 5: 9, 1, 1, 1, 0, 0, 4, 16 — sum = 32. Population variance = 32 / 8 = 4, so SD = sqrt(4) = 2. Interpretation: a typical value sits about 2 units from the mean of 5. Note the 9 (deviation 4, squared 16) contributes half the total variance — one outlier dominates the spread, which is why SD is sensitive to extremes.

Sample SD of {10, 12, 14}

Mean = 36 / 3 = 12. Squared deviations: 4, 0, 4 — sum = 8. Sample variance = 8 / (3 - 1) = 4, so SD = 2. Dividing by N - 1 = 2 instead of 3 corrects for the small sample; had we wrongly used the population formula we would get sqrt(8/3) = 1.63, understating the spread. Rule of thumb from the empirical rule: for roughly bell-shaped data, about 68% of values fall within one SD of the mean — here that predicts most values between 10 and 14, which is exactly the dataset.

Frequently asked questions

What does the standard deviation tell me?

It measures spread. A low standard deviation means values cluster near the mean; a high one means they are widely scattered. The classic dataset 2, 4, 4, 4, 5, 5, 7, 9 has a mean of 5 and a standard deviation of 2.

Population or sample standard deviation?

This calculator uses the population formula (divides by N). If you need the sample formula (divides by N−1), multiply the result by √(N/(N−1)).

Can the standard deviation be negative?

No — it's a square root of squared distances, so it's always zero or positive. Zero means every value is identical.

Is the Standard Deviation Calculator free to use?

Yes. The Standard Deviation Calculator on CalculateAll is completely free — no sign-up, no usage limits and nothing to install. The calculation runs entirely in your browser, so the numbers you enter never leave your device.

Does the Standard Deviation Calculator work on mobile phones?

Yes. The Standard Deviation Calculator is fully responsive and works on phones, tablets and computers. Open the page, enter your values, and the result updates instantly — no app download needed.

Test scores through this calculator: 68, 72, 75, 80, 85

Paste the five scores 68, 72, 75, 80, 85 into the Numbers field. The calculator returns a Mean of 76 and a standard deviation of about 5.97. Here is the arithmetic it performs: the deviations from 76 are −8, −4, −1, 4 and 9; squaring them gives 64, 16, 1, 16 and 81, which sum to 178; the population variance is 178 ÷ 5 = 35.6; and the standard deviation is √35.6 ≈ 5.97 points. Read in plain language, a typical score in this class sits roughly 6 points away from the average of 76, so most of the class is spread across a band from about 70 to 82 rather than piled up on one mark. Note where the variance comes from: the single score of 85 contributes 81 of the 178 squared total — about 45% of all the spread — which is why one exceptional result moves the standard deviation far more than a one-point change near the middle does.

Same calculator, different job: bolts on a factory floor

Now paste six bolt diameters measured in millimetres: 12.0, 12.1, 11.9, 12.0, 12.2, 11.8. The mean comes back as exactly 12.0 and the standard deviation as about 0.13 mm. The numbers are tiny compared with the test scores, but that comparison is meaningless across units — what matters is the standard deviation relative to its own mean and tolerance. Here every bolt sits within 0.2 mm of the 12.0 mm target and the typical deviation is only 0.13 mm, the signature of a consistent process. If a later batch returned the same mean of 12.0 but a standard deviation of 0.45 mm, the average bolt would still look perfect while individual bolts drifted far enough to fail inspection. That is the practical use of this tool in quality work: the mean tells you the process is centred, the standard deviation tells you whether it is controlled.

Edge cases and the sample correction

Three boundary cases are worth knowing before you trust a result. Enter a single number and the standard deviation is 0 — there is no spread in a dataset of one, and no sample correction exists for it either, because the sample formula divides by N − 1 = 0. Enter the same number repeatedly and the result is likewise 0, however many values you paste. And because this calculator always uses the population formula, convert its output when your list is a sample of something larger: multiply by √(N ÷ (N − 1)). For the five test scores above, N = 5, the factor is √1.25 ≈ 1.118, and 5.97 × 1.118 ≈ 6.67 — the sample standard deviation of the same scores. The gap between the two versions shrinks as N grows, so for lists of a hundred values or more the choice barely matters; for a handful of measurements, it changes the answer by more than ten percent.

Related calculators

References