CalcSeed

Standard Deviation Calculator

Take the square root of the variance to measure spread in the original units.

=
Quick answer: with the default inputs (4, 8, 6), the standard deviation is 1.63. At these inputs: variance = 2.67, mean = 6. Change any input to update the result.
Standard deviation
—

What standard deviation tells you

Standard deviation measures how far a set of numbers spreads out from its average, expressed in the same units as the data itself. A value near 0 means the numbers sit tightly around the mean; a large value means they scatter widely. This calculator takes three numbers, computes their mean and population standard deviation, and reports both along with the intermediate variance. At the defaults of 4, 8 and 6 the mean is 6 and the standard deviation is about 1.63.

How the calculation runs step by step

σ=∑(xi−x¯)2n\sigma = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n}}

The formula has four moves. First compute the mean. Second subtract the mean from each value to get the deviations — some will be negative, which is fine. Third square every deviation, which makes them all positive and penalizes distant values heavily. Fourth average the squared deviations and take the square root, which returns the measure to the original units. The square-root step is what separates standard deviation from variance, and it is why the result can be compared directly against the raw numbers.

Worked example at the defaults

Values 4, 8 and 6. Step 1: mean = (4 + 8 + 6) ÷ 3 = 18 ÷ 3 = 6. Step 2: deviations are 4 − 6 = −2, 8 − 6 = 2, and 6 − 6 = 0. Step 3: squared deviations are 4, 4 and 0. Step 4: variance = (4 + 4 + 0) ÷ 3 = 8 ÷ 3 ≈ 2.67, and the standard deviation is √2.67 ≈ 1.63. In words: a typical value in this set sits about 1.63 units away from the average of 6.

Watch what one extreme value does. Replace the 8 with 20: the mean rises to 10, the deviations become −6, 10 and −4, the squared deviations are 36, 100 and 16, and the variance jumps to 152 ÷ 3 ≈ 50.67 with a standard deviation near 7.12. The spread more than quadrupled even though only one of three numbers changed, because squaring gives far-away points an outsized vote.

Interpreting the number

For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean and about 95% within two. With mean 6 and standard deviation 1.63, the one-sigma band runs from about 4.37 to 7.63 — the value 4 sits just outside it, which matches the intuition that 4 is the odd one out in this set. This reading is what makes standard deviation the default spread measure in test scores, quality control and laboratory reporting.

The 68-95 rule

DatasetMeanVarianceStandard deviation
4, 4, 4400
4, 8, 6 (defaults)62.671.63
3, 9, 666.002.45
0, 6, 12624.004.90

The last three rows share the same mean of 6, yet their standard deviations range from 1.63 to 4.90 — a threefold difference in spread that no average can detect. That is the entire purpose of the statistic: it reports what measures of center hide. Two delivery routes with the same 30-minute average trip, one steady and one wildly inconsistent, differ exactly the way rows two and four do.

Population versus sample standard deviation

This calculator divides by n, the count of values, which is the population formula — correct when the three numbers are the entire group of interest. If they are a sample meant to estimate a larger population, statistics divides by n − 1 instead to correct the downward bias that comes from measuring against the sample mean. For the defaults the sample variance is 8 ÷ 2 = 4 and the sample standard deviation is 2, noticeably larger than the population figure of 1.63. With three values the gap is large; with 300 values it is negligible.

Which one does your course want

Exam wording usually signals the choice: phrases like the whole population, all students, or a complete list call for n, while a random sample, randomly selected, or estimate call for n − 1. Spreadsheets make the same split with STDEV.P versus STDEV.S, and picking the wrong one on a three-number problem costs about 0.37 in this example — enough to miss an answer key.

Standard deviation versus variance

Both numbers come from the identical arithmetic and rank any two datasets in the same order, so choosing between them is purely about communication. Variance is the intermediate squared figure; standard deviation is its square root, rebuilt in the units people actually use.

  • Variance squares the units: heights in cm give variance in cm², which is hard to picture.
  • Standard deviation takes the square root and returns to cm, dollars or points.
  • Variance feeds further algebra cleanly; standard deviation feeds human interpretation.
  • Reports quote standard deviation, while derivations usually carry variance through the algebra first.

Common mistakes

Three-number problems are short enough to check by hand, so most errors are procedural rather than conceptual. The following slips account for nearly all wrong answers on this type of question.

  • Averaging the raw deviations instead of squaring first — −2, 2 and 0 sum to zero, so the answer would always be 0.
  • Dividing by n − 1 when the question describes a whole population, or by n for a sample.
  • Forgetting the final square root and reporting variance 2.67 as the standard deviation.
  • Comparing standard deviations of datasets on wildly different scales, such as dollars versus thousands of dollars.

Where you will use it in 2026

Standard deviation is the workhorse spread measure in coursework, labs and finance. A teacher comparing two class periods checks whether a mean of 74 with standard deviation 3 is meaningfully different from 71 with standard deviation 11 — the second class is far less consistent even though its average is lower. A factory checks whether part diameters stay within plus or minus three sigma of the target. Investors read the standard deviation of daily returns as volatility. In every case the computation is identical to the one this calculator performs on three numbers; only the count of inputs changes.

Frequently asked questions

How is standard deviation calculated?

Find the mean, square each deviation from it, average those squares, and take the square root. For 4, 8 and 6 the mean is 6, the variance is 2.67, and the standard deviation is about 1.63.

What does a standard deviation of 1.63 mean?

A typical value sits about 1.63 units from the mean of 6, so most values land between roughly 4.4 and 7.6. The value 4 falls just outside that band, marking it as the most unusual number in the set.

What is the difference between population and sample standard deviation?

Population divides the squared deviations by n; sample divides by n − 1 to remove bias when estimating a larger group. For 4, 8 and 6 the population result is 1.63 and the sample result is 2.00.

Why do we square the deviations?

Squaring removes the signs — otherwise every dataset’s deviations sum to exactly zero — and it weights large gaps more heavily. A 10-unit deviation contributes 100 to the variance while a 2-unit deviation contributes only 4.

What does a standard deviation of zero mean?

Every value equals the mean: the set 4, 4, 4 has mean 4, variance 0 and standard deviation 0. It signals perfect consistency, which in manufacturing or repeated testing is usually the goal.

Can standard deviation be negative?

No. It is the square root of a sum of squares, and neither can be negative. A negative result on paper means a sign or arithmetic slip, not a real answer.

How does standard deviation relate to variance?

Standard deviation is the square root of variance, so it shares the data’s units. Variance 2.67 becomes standard deviation 1.63, which is why reports quote the standard deviation when describing spread to people.

When should I divide by n minus 1?

When your numbers are a sample used to estimate a bigger population — the phrase randomly selected is the usual clue. Dividing by n − 1 raises the estimate: here the standard deviation moves from 1.63 to 2.00.

Method and sources

Calculation basis

Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: November 17, 2026
Formula & data sources
  • Population standard deviation = square root of the variance.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 17). Standard Deviation Calculator. https://calcseed.com/c/math/standard-deviation-calculator/
MLA 9"Standard Deviation Calculator." CalcSeed, 17 Nov. 2026, calcseed.com/c/math/standard-deviation-calculator/.
ChicagoCalcSeed. "Standard Deviation Calculator." Last modified November 17, 2026. https://calcseed.com/c/math/standard-deviation-calculator/

Related calculators

People also calculate