Standard Deviation Calculator

Paste your numbers, choose sample or population, and get the standard deviation, variance, mean and a step-by-step table.

  • Runs on your device
  • Keyboard-first
  • Free, no sign-up

Separate with commas, spaces or new lines, e.g. 85, 90, 78, 92

Data type

Standard deviation

—

Variance
—
Mean
—
Count (n)
—
Sum of squares
—
Standard error of the mean
—
Coefficient of variation
—

Calculated on your device. Nothing you type is sent anywhere.

Cite
APA: Mr. Behairy. (2026). Standard Deviation Calculator. Anubis Calc. https://calculatoranubis.com/en/standard-deviation-calculator
MLA: Mr. Behairy. "Standard Deviation Calculator." Anubis Calc, 2026, https://calculatoranubis.com/en/standard-deviation-calculator.
Embed

Copy this snippet to embed this calculator on your site or blog for free:

<iframe src="https://calculatoranubis.com/en/embed/standard-deviation-calculator" width="100%" height="520" style="border:0;border-radius:18px" loading="lazy" title="Standard Deviation Calculator"></iframe>
<p><a href="https://calculatoranubis.com/en/standard-deviation-calculator" rel="noopener">Standard Deviation Calculator — Anubis Calc</a></p>

How it works

Standard deviation measures how spread out values are around their mean: a small value means the data cluster tightly, a large one means they are scattered. It is the workhorse of statistics — in lab reports, test-score analysis, finance (volatility) and quality control. This calculator shows the full working, not just the answer: each value’s deviation from the mean and its square, so you can check homework or explain a result.

mean x̄ = Σx ÷ n sample variance s² = Σ(x − x̄)² ÷ (n − 1)  ·  population variance σ² = Σ(x − μ)² ÷ n standard deviation = √variance  ·  standard error = s ÷ √n

Worked example. Data: 2, 4, 4, 4, 5, 5, 7, 9. The sum is 40 and n = 8, so the mean is 5. Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16 — total 32. As a population: variance = 32 ÷ 8 = 4 and SD = 2. As a sample: variance = 32 ÷ 7 = 4.5714 and SD = 2.1381; standard error = 2.1381 ÷ √8 = 0.7559; coefficient of variation = 42.76%.

How to calculate standard deviation by hand

  1. Find the mean: add the values and divide by how many there are.
  2. Subtract the mean from each value. The deviations always add up to zero.
  3. Square each deviation so negatives don’t cancel positives.
  4. Add the squares (the “sum of squares”), then divide by n − 1 for a sample or n for a population. That is the variance.
  5. Take the square root to get the standard deviation, back in the original units.

Sample or population?

Use population when your numbers include every member of the group you care about — every employee’s salary in a 20-person company, say. Use sample when the numbers are drawn from a larger group you want to describe, which is the usual case in surveys and experiments. Dividing by n − 1 (Bessel’s correction) offsets a sample’s tendency to understate the true spread, so the sample SD is always a little larger. In Excel and Google Sheets, STDEV.S is the sample version and STDEV.P the population version; on a TI-84, Sx is sample and σx is population.

Interpreting the result

  • The 68–95–99.7 rule: for roughly normal data, about 68% of values fall within 1 SD of the mean, 95% within 2 and 99.7% within 3.
  • Coefficient of variation (SD ÷ mean × 100) compares spread between groups with different scales — an SD of 5 is small around a mean of 90 but large around 40.
  • Standard error describes how precisely the sample mean estimates the true mean; it shrinks as n grows.
  • To see how unusual a single value is, convert it to a z-score with the z-score calculator.

Example: test scores

Five scores: 85, 90, 78, 92, 88. Mean 86.6, sum of squares 119.2, sample variance 29.8, SD 5.46 points — most scores sit between about 81 and 92.

Need the mean, median and mode too? Use the average calculator. Planning a survey? The sample size calculator tells you how many responses you need.

Sources & assumptions

Real numbers only; sample divides by n − 1, population by n; the step table shows up to 200 values.

Reviewed by: Mr. Behairy (Accountant, Financial Auditor & Tax Specialist) · Editorial policy · Formulas reviewed:

Frequently asked questions

What is relative standard deviation (RSD)?

RSD is the standard deviation divided by the mean, times 100, the same as the coefficient of variation shown in the results. For 2, 4, 4, 4, 5, 5, 7, 9 as a sample it is 42.76%.

What is standard deviation in simple terms?

The typical distance of values from their mean. Small means tightly clustered; large means spread out.

What is the difference between variance and standard deviation?

Variance is the average squared deviation, in squared units. Standard deviation is its square root, back in the data’s own units, so it is easier to interpret.

Why divide by n − 1 for a sample?

A sample tends to understate the true spread. Dividing by n − 1 (Bessel’s correction) removes that bias from the variance estimate.

Can standard deviation be negative?

No. The smallest possible value is zero, which happens when every value is the same.

How do I calculate standard deviation in Excel?

Use =STDEV.S(range) for a sample or =STDEV.P(range) for a population. This calculator gives the same two results.

How should I enter my data?

Separate numbers with commas, spaces or new lines. You can paste a column straight from a spreadsheet.

What is a good coefficient of variation?

It depends on the field, but below about 10% is usually read as low variability and above 30% as high.