🇬🇧EN

Standard Deviation Calculator

Find the standard deviation, variance and mean of a data set.

—sample standard deviation (s)
—population SD (σ)
—sample variance
—mean
—count

✨ What do you want to try next?

You've finished this tool — here are a few you might find useful.

Explore 100+ free toolsPDF, Image, Text, Convert, Calculate and more — all free.View all tools →

About the Standard Deviation Calculator

Standard deviation measures how spread out a set of numbers is around their average — a small value means the data clusters tightly around the mean, a large one means it's widely scattered. This calculates it, along with variance and the mean, from any list of numbers. It's a staple for statistics coursework, lab and survey data, quality control, and anyone summarising the variability of a data set.

How it works — the formula

  1. Find the mean (average) of the numbers.
  2. For each value, take its squared difference from the mean, and add them all up.
  3. Variance = that sum divided by n (population) or by n−1 (sample).
  4. Standard deviation = the square root of the variance.

It shows both sample standard deviation (dividing by n−1) and population standard deviation (dividing by n), since which one you need depends on your data.

Sample vs population

  • Use the population standard deviation (σ, divide by n) when your numbers are the entire group you care about.
  • Use the sample standard deviation (s, divide by n−1) when your numbers are a sample drawn from a larger population, and you're estimating the population's spread. The n−1 ("Bessel's correction") compensates for the fact that a sample tends to underestimate the true spread.

Most real-world statistics use the sample version, which is why it's shown as the headline figure.

Assumptions and behaviour

  • Numbers can be separated by spaces, commas or new lines; non-numeric text is ignored.
  • Sample standard deviation needs at least two values (you can't divide by n−1 = 0 with one number).
  • Both sample and population figures are shown so you can pick the right one.
  • Results are rounded to six decimals for display.

Limitations

  • Choosing sample vs population matters — using the wrong one gives a subtly wrong answer, especially for small data sets. Match it to whether your numbers are a full population or a sample.
  • Standard deviation assumes a meaningful mean; it's sensitive to outliers, which inflate the spread — check for anomalies in skewed data.
  • It computes descriptive statistics for the numbers as entered; it doesn't do grouped/frequency data or weighted values.
  • Very large data sets are handled in your browser's memory.

Privacy

The calculation runs entirely in your browser. Your data is never uploaded or stored.

Frequently asked questions

Is this standard deviation calculator free?

Yes — free, no sign-up, no limits, runs in your browser.

What's the difference between sample and population standard deviation?

Population (σ) divides by n and is used when your data is the entire group. Sample (s) divides by n−1 and is used when your data is a sample estimating a larger population. Most statistics use the sample version.

How is standard deviation calculated?

Find the mean, sum the squared differences from it, divide by n (population) or n−1 (sample) to get the variance, then take the square root.

Why do I need at least two numbers for the sample SD?

The sample formula divides by n−1, which would be zero with a single value. Population SD works with one number (it's zero).

What is variance?

The average of the squared differences from the mean — the square of the standard deviation. It's shown alongside the SD.

Does it handle outliers?

It includes every value you enter, and standard deviation is sensitive to outliers, which increase the spread. Check for anomalies if your data is skewed.

Is my data uploaded?

No. Everything runs locally in your browser; nothing is sent or stored.

Lakshay Kumar

Written by Lakshay Kumar(TechLakshay)

A QA Automation Engineer by trade, Lakshay's real passion is untangling complex problems into simple, working solutions — which is exactly why FreeMyTask exists. On Instagram, he channels that same instinct into helping 26,000+ content creators with SEO education, motivation, and hands-on query solving.

Last updated: August 22, 2026
🎁