Free Online Calculator

Standard Deviation Calculator

Find the standard deviation and variance of a data set.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: calculating standard deviation

Find the mean, square each deviation, average them and take the root. For 2, 4, 4, 4, 5, 5, 7, 9 the population standard deviation is 2.

Overview of the Standard Deviation Calculator

Standard deviation measures how spread out numbers are around their mean. Enter your data and choose sample (n − 1) or population (N) to get the standard deviation and variance, the mean, the sum of squares, the standard error of the mean and the coefficient of variation, with a working table that shows each value's deviation and squared deviation.

A small standard deviation means values cluster near the mean; a large one means they are spread out. See the Average Calculator, Statistics Calculator, Z-Score Calculator and Confidence Interval Calculator.

How We Calculate

The calculator applies the standard method step by step.

  1. Compute the mean of the data.
  2. Subtract the mean from each value and square the result.
  3. Add the squared deviations (the sum of squares).
  4. Divide by N for a population (σ²) or n − 1 for a sample (s²) to get the variance.
  5. Take the square root for the standard deviation.
σ = √(Σ(x − μ)² ÷ N)   s = √(Σ(x − x̄)² ÷ (n − 1))
Worked example — standard deviation calculator
ItemValue
Sample standard deviation (s)2.1380899353
Population standard deviation (σ)2
Sample variance (s²)4.57142857143
Population variance (σ²)4
Mean5
Count8
Sum of squares (Σ(x − mean)²)32
Standard error of the mean0.755928946018
Coefficient of variation42.761799%
Working
Value (x)Deviation (x − mean)Squared deviation
2-39
4-11
4-11
4-11
500
500
724
9416
Standard deviation of different data sets
DataStandard deviation
2, 4, 4, 4, 5, 5, 7, 92
1, 2, 3, 4, 51.58113883008
10, 12, 23, 23, 16, 23, 21, 165.23722936566
4, 8, 15, 16, 23, 4213.4907375632
5, 5, 5, 50

Standard Deviation Calculator — Frequently Asked Questions

What is standard deviation?

A measure of how far, on average, values are from the mean.

What is the difference between sample and population standard deviation?

Population divides by N when you have every value; sample divides by n − 1 when your data is a sample, correcting a bias.

What is variance?

The square of the standard deviation — the average squared distance from the mean.

What is a low or high standard deviation?

Low means values are close to the mean; high means they are spread widely. It must be judged relative to the mean.

What is the standard error?

The standard deviation of the sample mean: s ÷ √n. It shrinks as the sample grows.

What is the coefficient of variation?

The standard deviation divided by the mean, as a percentage — useful for comparing spread across different scales.

How is the standard deviation calculator calculated?

It uses the standard method: σ = √(Σ(x − μ)² ÷ N)   s = √(Σ(x − x̄)² ÷ (n − 1)) The full working and a worked example are shown on this page.

How accurate is this calculator?

Decimal results use standard double-precision arithmetic (about 15–16 significant digits). Tools that work with whole numbers — big numbers, factors, bases, combinations — use exact integer arithmetic, so no digits are lost.

Can I use it for homework or exams?

Yes for checking your work and learning the method. The steps and formula are shown so you can understand the answer, but follow your teacher's rules about calculators in exams.

Is my data stored?

No. Everything is calculated in your browser and nothing you enter is uploaded or saved.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

7 + 6 =
Call WhatsApp