Skip to main content
PocketToolz

Standard Deviation Calculator

Mean, median, variance, quartiles and outliers — sample or population.

ScienceRuns in your browserFree, no signup

About the Standard Deviation Calculator

Standard deviation measures how spread out numbers are around their mean. It is the square root of the variance, and the square root matters because it returns the figure to the original units — a variance of metres-squared means nothing intuitive, whereas a standard deviation in metres does.

The choice that trips people is sample against population, and it is not cosmetic. A population standard deviation divides by n; a sample divides by n − 1. The reason is that a sample mean sits closer to its own data than the true population mean does, so the deviations come out slightly too small — dividing by the smaller number corrects for it. This is Bessel's correction, and using the wrong one is the commonest error in an introductory statistics course.

Use sample unless you genuinely have every member of the group. Measuring every pupil in one class is a population if the class is what you care about, and a sample if you are drawing conclusions about the school.

The outlier flag uses the standard rule of 1.5 interquartile ranges beyond the quartiles. It is worth being clear about what that means: it identifies points worth looking at, not points to delete. Outliers are frequently the most informative values in a dataset, and removing them because a formula flagged them is how genuine findings get discarded.

The distribution figures compare how much of your data falls within one, two and three standard deviations against what a normal distribution would give. A poor match does not indicate an error — it indicates the data is not normally distributed, which is itself worth knowing before applying any test that assumes it is.

How it works

  1. Paste numbers separated by commas, spaces or newlines.

  2. Choose sample or population — sample is almost always right.

  3. Mean, median, quartiles, outliers and the spread are all calculated.

Frequently asked questions

What is the difference between sample and population standard deviation?
Sample divides by n − 1, population by n. A sample mean sits closer to its own data than the true mean does, which understates the spread, and dividing by the smaller number corrects for it. Use sample unless you have every member of the group.
How do you calculate standard deviation?
Find the mean, subtract it from each value and square the result, average those squares, and take the square root. The averaging step divides by n − 1 for a sample and n for a population.
What does standard deviation actually tell me?
How far values typically sit from the mean, in the same units as the data. A small one means the numbers cluster tightly; a large one means they are spread out. Two datasets can share a mean and be completely different.
Should I remove outliers?
Not because a formula flagged them. The 1.5 IQR rule identifies points worth investigating, and outliers are often the most informative values you have. Remove one only when you can show it is a genuine error.
Why is my data not matching the normal percentages?
Because it is probably not normally distributed, which is common and not a problem in itself. It matters only if you intend to use a test that assumes normality — in which case the mismatch is exactly what you needed to know.

Privacy

Everything happens locally. Your files are read by your own browser, processed on your device, and never uploaded — closing the tab is all it takes to erase them.

Related tools