Standard Deviation Calculator

This free standard deviation calculator tells you how spread out a set of numbers is. Paste your numbers — test marks, measurements, cricket scores, anything — and the standard deviation calculator shows the mean, the population and sample standard deviation, the variance, and a step-by-step table of the working. No sign-up, nothing uploaded, and the calculation runs in your browser.

Separate the numbers with commas, spaces or new lines. The example is already filled in — change it or paste your own list.

Population standard deviation divides by N (the whole list). Sample standard deviation divides by N − 1 (a sample of a bigger group). The main answer below is the population one — the sample one is shown next to it. This is arithmetic, not statistical advice.

How to Use the Standard Deviation Calculator

  1. Paste or type your numbers into the box, separated by commas, spaces or new lines. The example set 2, 4, 4, 4, 5, 5, 7, 9 is already filled in — press Calculate Standard Deviation to see it worked, or clear it and paste your own list.
  2. Read the main answer first: the population standard deviation. It treats your list as the whole group. The sample standard deviation is shown right under it for when your list is only a sample of a bigger group.
  3. Check the step-by-step table. For lists of up to 20 numbers it shows every value, how far it sits from the mean, and that distance squared — so you can see exactly how the answer was reached.
  4. Use the Load example button any time to bring back the worked example, and Clear to start over.

What Standard Deviation Means

Standard deviation is a single number that says how spread out a list of numbers is. A small standard deviation means the numbers sit close together, near the mean. A big standard deviation means they are spread far apart. Two lists can have the same mean and very different standard deviations — the mean alone does not tell you how the numbers behave.

Take two sets of test marks. Class A scored 78, 82, 80, 81, 79 — the mean is 80 and the numbers sit within a few marks of it. Class B scored 50, 95, 60, 100, 95 — the mean is also 80, but the marks are all over the place. The standard deviation catches that difference: Class A has a population standard deviation of 1.41, Class B has one of 20.74. Same average, completely different classes. Math is Fun’s guide to standard deviation and variance explains the same idea with the same formulas this page uses, so the numbers agree wherever you check them.

That is why the average alone is never the whole story. A batsman who scores 50, 50, 50, 50 has the same average as one who scores 0, 100, 0, 100 — but the second one is far less reliable. The standard deviation measures that reliability in one number: 0 for the steady batsman, 50 for the swinging one.

Population vs Sample — Which One Do You Need?

There are two standard deviations because there are two situations. Population standard deviation is for when your list IS the whole group — every mark in the class, every measurement you took. It divides the sum of squared deviations by N, the number of values.

Sample standard deviation is for when your list is only a sample of a bigger group — 20 people surveyed out of a city, 30 students picked from a school. It divides by N − 1 instead of N, which makes the answer slightly bigger. The reason is a correction: a sample usually underestimates how spread out the full group is, and dividing by a smaller number pushes the estimate up.

The calculator shows both, with the population one as the main answer. If you are not sure which to use, ask this: did you measure everything, or only some of it? Everything means population. Only some means sample. In school and college work, the population formula is the usual one unless the question says “sample”.

The Formula

The formula looks harder than it is. First find the mean: add all the numbers and divide by how many there are. Then, for each number, subtract the mean and square the result. Add all those squared differences together. For the population standard deviation, divide that total by N and take the square root. For the sample standard deviation, divide by N − 1 and take the square root.

In symbols: population SD = square root of (sum of (x − mean) squared, divided by N), and sample SD = square root of (sum of (x − mean) squared, divided by N − 1). The square root at the end matters: variance is the squared version of the same idea, and taking the square root brings the answer back into the same units as your numbers — marks, runs, centimetres — so you can read it directly.

Worked Example

Take the classic set 2, 4, 4, 4, 5, 5, 7, 9. First the mean: 2 + 4 + 4 + 4 + 5 + 5 + 7 + 9 = 40, and 40 divided by 8 = 5.00. Then each number minus the mean, squared: 2 is 3 below the mean, squared is 9; 4 is 1 below, squared is 1 — three times, for the three 4s; 5 is exactly the mean, squared is 0 — twice; 7 is 2 above, squared is 4; 9 is 4 above, squared is 16. Add them: 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32.

ValueValue − mean(Value − mean)²
2−3.009.00
4−1.001.00
4−1.001.00
4−1.001.00
50.000.00
50.000.00
72.004.00
94.0016.00
Total32.00

Population: square root of (32 divided by 8) = square root of 4.00 = 2.00. Sample: square root of (32 divided by 7) = square root of 4.57 = 2.14. So the numbers sit, on average, about 2 away from their mean of 5. The calculator’s step-by-step table shows exactly this working for any list up to 20 numbers.

What a Big or Small Standard Deviation Tells You

A small standard deviation means the group is consistent. Marks of 78, 82, 80, 81, 79 have a population standard deviation of 1.41 — the class performed almost the same. A big standard deviation means the group is mixed. Marks of 50, 95, 60, 100, 95 have a population standard deviation of 20.74 — same mean of 80, a completely different class.

In real life, the same reading applies everywhere. A factory that fills bottles to 500 ml with a standard deviation of 1 ml is in control; one with a standard deviation of 15 ml is not. A bowler whose scores vary little is reliable; one whose scores swing wildly is a gamble. The number does not judge the average — it judges the spread.

One warning: a single extreme number can inflate the standard deviation a lot, because the formula squares the distances. One mark of 0 in a class of 90s will push the standard deviation up more than you might expect. If your result looks surprising, check for an outlier — or a typing mistake — before you trust it.

Standard Deviation in Real Life

Students meet it in statistics class, but it shows up in far more places. Teachers use it to see whether a test was too easy or too hard for the whole class. Shops use it to see how much daily sales swing around the average. Cricket and football analysts use it to compare how consistent two players are. Scientists use it to say how much repeated measurements agree with each other.

In Pakistan, the same idea helps in everyday decisions. A shopkeeper comparing two suppliers can look at delivery times: one supplier averages 3 days with a small spread, the other averages 3 days with a huge spread — the first is the safer choice even though the averages match. The calculator does the arithmetic; the judgement is still yours.

What This Tool Does Not Do

This page counts spread only. It does not tell you whether your numbers are good or bad — a big standard deviation is not wrong, it is just spread out. It does not remove outliers or guess which numbers are mistakes. And it does not do statistics for you: it will not run a test, pick a sample size, or say whether a difference between two groups is meaningful.

It also does not replace a teacher or a statistics book. Use it to check your homework working and to explore your own numbers, and treat the result as arithmetic — correct maths on the numbers you typed, nothing more.

Frequently asked questions

What is standard deviation? Standard deviation is a number that says how spread out a list of numbers is. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5.00 and the population standard deviation is 2.00 — the numbers sit about 2 away from the mean on average. Use the standard deviation calculator above for your own numbers.

What is the difference between population and sample standard deviation? Population standard deviation divides by N and is for when your list is the whole group. Sample standard deviation divides by N − 1 and is for when your list is only a sample of a bigger group. For 2, 4, 4, 4, 5, 5, 7, 9 the population SD is 2.00 and the sample SD is 2.14.

What is variance? Variance is the standard deviation before the final square root — the average of the squared distances from the mean. For the classic set the population variance is 4.00 and the sample variance is 4.57. Standard deviation is the square root of variance, which puts the answer back in the same units as your numbers.

Can standard deviation be zero? Yes — when every number is the same. For 5, 5, 5, 5 the mean is 5 and both standard deviations are 0, because nothing deviates from the mean.

What if I have only one number? The population standard deviation is 0, because a single number cannot be spread out. The sample standard deviation is not defined for one number — it needs at least two values to compare. The calculator says so instead of showing a wrong number.

Related tools: Percentage Calculator, Final Grade Calculator, SIP Return Calculator.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top