Math calculators

Standard Deviation Calculator

Enter your numbers and choose whether they are a sample or the whole population. The calculator shows the standard deviation, variance and mean.

Quick answer: Mean x̄ = Σx ÷ n. For example, the standard deviation is 2.13809.

How the Standard Deviation calculation works

  • Mean x̄ = Σx ÷ n
  • Sample variance s² = Σ(x − x̄)² ÷ (n − 1); population variance σ² = Σ(x − μ)² ÷ n
  • Standard deviation = √variance

Computing it by hand

  • Find the mean: for 2, 4, 4, 4, 5, 5, 7, 9 it is 40 ÷ 8 = 5.
  • Subtract the mean from each value and square the result: 9, 1, 1, 1, 0, 0, 4, 16.
  • Add the squares: 32.
  • Divide by n for a population (32 ÷ 8 = 4) or by n − 1 for a sample (32 ÷ 7 ≈ 4.57). That is the variance.
  • Take the square root: σ = 2 for the population, s ≈ 2.14 for the sample.

Sample or population?

Use the population formula only when you have every member of the group — every student in one class, every day of one month. When the numbers are a subset used to describe a larger group, use the sample formula, which is what spreadsheets’ STDEV and STDEV.S do. For the centre of the data, see the Average Calculator.

What you need for the Standard Deviation Calculator

NumbersA list — add or remove items as needed.
The numbers areChoose one: A sample (divide by n − 1); The whole population (divide by n).

How to use the Standard Deviation Calculator

  1. Check the Region line at the top of the calculator. Your country, currency and units are detected automatically; change them if needed.
  2. Enter numbers and the numbers are. Example values are filled in so you can see how it works.
  3. Read your result: the standard deviation appears instantly, with variance, mean and count underneath.
  4. Use Copy result, Share link or Print to keep the answer. Nothing you type is sent to our servers.

Standard Deviation calculation example

Using the calculator’s example values (shown in US dollars and metric units — the calculator itself adapts to your country):

Inputs
Numbers8 × Number
The numbers areA sample (divide by n − 1)
Results
Standard deviation2.13809
Variance4.571429
Mean5
Count8

Assumptions and limitations of the Standard Deviation Calculator

  • Use “sample” when the numbers are a subset of a larger group, which is the usual case.

Limitations

  • Results are estimates based on the numbers you enter. Check important decisions with a qualified professional.

Standard Deviation Calculator FAQs

What does standard deviation tell you?

How spread out the values are around the mean. A small standard deviation means values cluster near the average; a large one means they are widely scattered.

Why divide by n − 1 for a sample?

A sample tends to underestimate the spread of the whole population. Dividing by n − 1 (Bessel’s correction) corrects that bias.

What is the 68-95-99.7 rule?

For roughly normal data, about 68% of values lie within one standard deviation of the mean, 95% within two and 99.7% within three.

Is variance the same as standard deviation?

No. Variance is the average squared distance from the mean; standard deviation is its square root, which puts it back in the same units as the data.

What formula does the Standard Deviation Calculator use?

Mean x̄ = Σx ÷ n. Sample variance s² = Σ(x − x̄)² ÷ (n − 1); population variance σ² = Σ(x − μ)² ÷ n. Standard deviation = √variance.

What do I need to use the Standard Deviation Calculator?

You need numbers and the numbers are. Example values are pre-filled, and the calculator converts between metric and imperial units and any currency.

Embed this calculator on your website

Free for any website or blog. Paste this code where the calculator should appear — it resizes itself and needs no sign-up.