Standard Deviation Calculator

Paste a list of numbers and get the sample (s) and population (σ) standard deviation, with the full working laid out the way your teacher wants to see it.

Separate numbers with commas, spaces or line breaks. You can paste a column from Excel or Sheets. 8 values read.

Try:
Your data is a
Sample standard deviation, s
2.03101
345678934556789
each dot = one valuemean 5.875mean ± 1 SD
Count, n8
Mean, x̄5.875
Sample SD, s2.03101
Population SD, σ1.899836
Sample variance, s²4.125
Population variance, σ²3.609375
Sum of squares, Σ(x − x̄)²28.875

Step-by-step working

  1. Add the 8 values: Σx = 47.
  2. Divide by n to get the mean: x̄ = 47 ÷ 8 = 5.875.
  3. Subtract the mean from each value and square the result (table below). Add the squares: Σ(x − x̄)² = 28.875.
  4. Divide by n − 1 = 7: s² = 28.875 ÷ 7 = 4.125.
  5. Take the square root: s = √4.125 = 2.03101.
#xx − x̄(x − x̄)²
14−1.8753.5156
282.1254.5156
360.1250.0156
45−0.8750.7656
53−2.8758.2656
671.1251.2656
793.1259.7656
85−0.8750.7656
Σ47028.875

Explain my result

An AI tutor reads your numbers and explains what they mean in plain words. Sends only the inputs and results shown above.

See what standard deviation measures

Drag any dot (or focus it and use the arrow keys). Each shaded square has sides equal to that dot’s distance from the mean, so its area is the squared deviation. The standard deviation is the side of the average square.

Pull one dot far out and watch its square swell: squaring makes far-away values count much more than near ones. That is why a single outlier can double a standard deviation.

012345678910

Mean 5 · average square area 1.67 · σ = 1.29 (orange box width)

The standard deviation formulas

s = √( Σ(x − x̄)² ÷ (n − 1) )    σ = √( Σ(x − μ)² ÷ N )

Both formulas do the same four things: find the mean, measure each value’s distance from it, square those distances so negatives don’t cancel positives, then average and take a square root to get back to the original units. The only difference is the divisor.

How to calculate standard deviation by hand

Take the scores 4, 8, 6, 5, 3, 7, 9, 5. They add to 47, so the mean is 47 ÷ 8 = 5.875. The deviations are −1.875, 2.125, 0.125, −0.875, −2.875, 1.125, 3.125 and −0.875. Squared and added, they give 30.875. Divide by n − 1 = 7 to get a sample variance of 4.411, and the square root gives s ≈ 2.100. If those eight numbers were the whole population you would divide by 8 instead: σ ≈ 1.965.

A quick sanity check: the standard deviation is usually between a quarter and a sixth of the range for moderate samples. Here the range is 6, and 2.1 fits comfortably.

Reading the result

A small standard deviation means the values huddle close to the mean; a large one means they are scattered. Because it shares the data’s units, you can say things like “scores averaged 81 points, give or take about 9.” To locate a single value relative to that spread, turn it into a z-score. To describe how precisely a sample estimates the mean, use the standard error, which is s ÷ √n.

Frequently asked questions

Should I use sample or population standard deviation?

Use the sample standard deviation (s, divide by n − 1) when your numbers are a subset drawn from a bigger group you want to describe, which is almost always the case in coursework and research. Use the population standard deviation (σ, divide by n) only when you have measured every member of the group you care about, such as every student in one class.

Why does the sample formula divide by n − 1?

Deviations are measured from the sample mean, which sits closer to the sample values than the true population mean does. That makes the sum of squares slightly too small. Dividing by n − 1 instead of n (Bessel’s correction) removes that bias from the variance.

What is a “good” standard deviation?

There is no universal good value. Standard deviation is in the same units as the data, so judge it against the mean and the context. A 2 cm spread in adult heights is tiny; a 2 cm spread in screw lengths is huge. The coefficient of variation (SD ÷ mean) helps compare spreads across scales.

Can the standard deviation be negative or zero?

It can never be negative, because it is the square root of an average of squared numbers. It is zero only when every value is identical.

How do I calculate standard deviation in Excel or Google Sheets?

Use =STDEV.S(range) for the sample standard deviation and =STDEV.P(range) for the population standard deviation. The older STDEV function equals STDEV.S. On a TI-84, Sx is the sample value and σx the population value.

What does standard deviation tell me about a normal distribution?

For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean, about 95% within two and about 99.7% within three. This is the empirical rule, and it only holds when the data really are close to normal.