Skip to main content

Notice Send us your feedback to help us improve this service.

Standard Deviation Calculator

Calculate standard deviation and variance of a data set.

What this calculator does

This tool measures how spread out a list of numbers is. It gives the mean, the variance and the standard deviation. A small standard deviation means the numbers sit close to the average. A large one means they are scattered.

It uses the population formula. If your numbers are a sample from a larger group, read the guide below to adjust the answer.

How we work it out

We find the mean of your numbers. Then we measure how far each number is from the mean and square that gap, so gaps below and above the mean both count as positive. The variance is the average of those squared gaps. The standard deviation is the square root of the variance, which puts the answer back in the same units as your data.

We divide by n, the count of numbers. This is the population formula, which is why the result is labelled Population. You need at least two numbers, separated by commas, spaces or semicolons.

Population or sample

This calculator divides by n, the number of values. That is right when your list is the whole group you care about. Examples are the marks of every student in one class, or your spending in each month of last year.

Often your numbers are only a sample of a bigger group. You timed eight commutes, but you want to describe every commute. Then statisticians divide by n minus 1 instead. This is the sample standard deviation. It is a little larger. Your sample's own mean sits closer to your numbers than the true mean of the whole group does, so dividing by n would understate the spread. Dividing by n minus 1 corrects for that. Many textbooks, and the standard deviation function in most spreadsheets, use the sample version.

To convert, multiply the variance shown here by n, divide by n minus 1, and take the square root. With a long list the two answers are almost the same. With a short list the gap matters.

Reading the number

The standard deviation is in the same units as your data: minutes, dollars, centimetres or marks. Judge it next to the mean. A spread that is small compared with the mean means the values are tightly grouped.

Two classes can have the same average mark and still be very different. In one, most students score near the middle. In the other, many score high and many score low. The standard deviation is what shows that difference. When data forms a bell shape, most values fall within one standard deviation of the mean, and nearly all within two. The z-score calculator tells you how many standard deviations a single value sits from the mean.

Common mistakes

  • Comparing the variance with the mean. Variance is in squared units, so use the standard deviation for any comparison.
  • Letting one typo inflate the answer. A single extreme value can raise the standard deviation a lot, so check your largest and smallest numbers first.
  • Running numbers together. With thousands separators, put a space after each comma, as in 2,500, 3,000. Without the spaces, 2,500,3,000 is read as four numbers.
  • Comparing spreads of data with very different means, such as the weights of mice and of moose. The comparison works best when the means are similar.

What this does not include

  • Uses the population formula, dividing by n. The sample standard deviation, which divides by n minus 1, needs the adjustment described in the guide
  • Needs at least two numbers
  • Decimal commas, as in 2,5, are read as two separate numbers
  • Outlier detection, quartiles and the interquartile range
  • Weighted or grouped data. Every value counts once

Common questions

What does a small standard deviation mean?

The numbers sit close to the average. A large one means they are spread far apart. What counts as small depends on your units and your mean, so judge it next to the mean, or next to the standard deviation of a similar set of data.

Why does my spreadsheet give a different answer?

Most likely it is using the sample formula, which divides by n minus 1 instead of n. That makes its answer slightly larger, especially for short lists. This calculator always uses the population formula and says so in the result label. Check which function your spreadsheet uses before you compare.

What is the difference between variance and standard deviation?

The variance is the average of the squared distances from the mean. Because it is squared, its units are squared too, such as square minutes. The standard deviation is the square root of the variance, so it is back in your original units and much easier to read. Both carry the same information.

Can the standard deviation be zero?

Yes, when every number in your list is the same. There is no spread at all. It can never be negative, because the gaps from the mean are squared before they are averaged, and the square root of that is never below zero. A tiny standard deviation means your values barely change.

Which formula should I use for a school project?

Follow your teacher's instructions first. If there are none, ask whether your numbers are the whole group or a sample. Measuring every student in your class to describe your class is a population. Surveying some students to describe the whole school is a sample, so use the sample formula described in the guide.

Sources

Last reviewed October 18, 2026. How we check our numbers.

This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.

Add this calculator to your website

Free to use on your site, blog or intranet. Paste this code where you want the calculator to appear. It works on its own, sets no cookies and shows no ads.