Standard Deviation Calculator: With Steps

Use this standard deviation calculator to see how spread out your numbers are. Paste a list to get the standard deviation, variance, mean and count, for a sample or a whole population, with step-by-step work.

Standard Deviation Calculator

Count (n)

-

Mean (mu / x-bar)

-

Variance (Sample / Population)

-

Sample SD (s)

-

Population SD (sigma)

-

How to use the Standard Deviation Calculator

  1. Paste or type your numbers into the box, separated by commas, spaces, semicolons or new lines.
  2. The calculator needs at least 2 values. It ignores anything that is not a number.
  3. Read the count, mean, sample and population variance, and sample (s) and population (σ) standard deviation. Check the histogram for the shape of your data.

Formula

Mean: x̄ = Σx ÷ n
Population SD: σ = √[ Σ(x − μ)² ÷ N ]
Sample SD: s = √[ Σ(x − x̄)² ÷ (n − 1) ]

Σ means "sum of" and n (or N) is the number of values. Use population SD when your data covers the whole group and sample SD when it is a sample from a larger group (Bessel's correction, n − 1).

Example

Data: 2, 4, 4, 4, 5, 5, 7, 9. Mean = 40 ÷ 8 = 5. Squared deviations sum to 9+1+1+1+0+0+4+16 = 32. Population variance = 32 ÷ 8 = 4, so σ = 2. Sample variance = 32 ÷ 7 ≈ 4.571, so s ≈ 2.138.

Frequently asked questions

Should I use sample or population standard deviation?

Use population SD (σ) when you have every member of the group you care about, such as all 30 students in one class. Use sample SD (s) when your data is a subset used to estimate a larger group, such as 30 students surveyed from a whole school. Most real-world and homework problems use the sample formula.

What does standard deviation tell you?

It measures how spread out values are around the mean. A small SD means values cluster close to the average and a large SD means they are widely spread. For roughly normal data, about 68% of values fall within 1 SD of the mean and about 95% within 2 SD.

What is the difference between variance and standard deviation?

Variance is the average squared distance from the mean. Standard deviation is the square root of variance. SD is usually easier to interpret because it is in the same units as your data.

How should I enter my data?

Separate values with commas, spaces, semicolons or line breaks. You can paste a column straight from Excel or Google Sheets. Decimals and negative numbers are supported.

See also: all free tools.

Calculate standard deviation

How to use it

  1. Paste your data.
  2. Pick sample or population.
  3. Read the SD.
  4. Check the steps.

More questions

What does a high SD mean?

A high SD means values are spread far from the mean.

Is variance the same as SD?

No. SD is the square root of variance.

Can I compare both types?

Yes. Use the sample and population SD calculator.

Related tools: Sample & Population SD Calculator, Z-score Calculator, Mean Median Mode Range Calculator.

Ten days of sales, 12 to 30 units

Paste or type your numbers separated by commas or spaces, then press Calculate. The tool shows the count, mean, variance and both the sample and population standard deviation. To turn a mean and standard deviation into probabilities, use the Normal Distribution Calculator.

Worked example: daily sales of 12, 15, 18, 20, 22, 25, 28, 30, 14 and 19 units give n = 10 and a mean of 20.3. The sample SD is 5.98 and the population SD is 5.68.

More answers

How do I calculate standard deviation by hand?

Find the mean (20.3), square each difference from it and add them (322.1). Divide by n − 1 = 9 for a sample (variance 35.79) or by n = 10 for a population (32.21), then take the square root: 5.98 or 5.68.

Why is the sample SD larger than the population SD?

Dividing by n − 1 instead of n corrects for a small sample underestimating spread. For these 10 values that gives 5.98 for the sample against 5.68 for the population.