Standard Deviation Calculator
Paste your numbers in any layout: commas, spaces or one per line. You get both standard deviations, the variance and the full working.
Find the standard deviation
Loading the calculator. It needs JavaScript.
What the standard deviation tells you
The standard deviation is the typical distance between your numbers and their mean. A small value means the numbers huddle close to the average. A large value means they are spread out. Two classes can both average 70 on a test, but if one class has a standard deviation of 3 and the other 15, the second class has far more very high and very low scores.
How to work it out by hand
Use the steps below. The table under the calculator shows each one for your own list.
- Find the mean. Add the numbers and divide by how many there are.
- Find each deviation. Subtract the mean from every value. Some answers are negative. They always add up to 0.
- Square each deviation. This makes every one positive and gives big gaps more weight.
- Add the squares. This total is the sum of squared deviations.
- Divide. Divide by n - 1 for a sample, or by N for a whole population. The result is the variance.
- Take the square root. That is the standard deviation.
Worked example
Take 2, 4, 4, 4, 5, 5, 7 and 9. There are 8 numbers and they add to 40, so the mean is 5. The deviations are -3, -1, -1, -1, 0, 0, 2 and 4. Squared, they are 9, 1, 1, 1, 0, 0, 4 and 16, which add to 32.
- Population: 32 / 8 = 4, and the square root of 4 is 2.
- Sample: 32 / 7 = 4.57143, and its square root is 2.13809.
The sample answer is a little bigger, because it divides by one less.
Pasting your numbers
You can paste a column straight from a spreadsheet, a list with commas, or numbers split by spaces. Negative numbers, decimals and values like 3e2 are fine. Words and other text are skipped, and a note says how many.
Be careful with commas. A comma followed by exactly three digits is read as a thousands comma, so 1,000 is one thousand. To list 1 and 000, put a space after the comma. Writing 1,000, 2,000 with spaces after the separating commas gives the two numbers 1,000 and 2,000.
Common mistakes
- Using the wrong formula. Calculators and spreadsheets often have two buttons. In a spreadsheet, STDEV.S is the sample value and STDEV.P is the population value.
- Forgetting to square. If you add the plain deviations, you always get 0.
- Stopping at the variance. The variance is in squared units. Take the square root to get back to the units you started with.
- Rounding too early. Keep the full mean while you work, and round only the final answer.
A rule of thumb for bell-shaped data
When data follows a normal, bell-shaped curve, about 68% of values sit within one standard deviation of the mean, about 95% within two, and about 99.7% within three. This only holds for bell-shaped data, so check the shape of your list before you lean on it.
Questions
Should I use sample or population standard deviation?
Use population only when your list holds every member of the group you care about, like the test scores of all 24 students in one class. If your numbers are a part used to describe something bigger, such as 50 people from a city, use sample. Most homework and lab work wants the sample value.
Why does the sample formula divide by n - 1?
A sample's own mean sits closer to its values than the true mean does, so the squared distances come out a bit too small. Dividing by n - 1 instead of n makes the variance slightly bigger, which corrects for that. This fix is called Bessel's correction.
What is the difference between variance and standard deviation?
Variance is the average squared distance from the mean, so its units are squared, such as square centimetres. The standard deviation is its square root, which puts it back in the same units as your data.
Can the standard deviation be negative?
No. It is a square root of squared distances, so it is 0 or more. It is 0 only when every number in the list is the same.
What counts as a high standard deviation?
It depends on the mean. A spread of 5 is tiny for house prices but huge for shoe sizes. Compare the standard deviation with the mean, or with another group measured the same way.
Facts checked 2026-11-29. Sources: NIST/SEMATECH e-Handbook of Statistical Methods: Measures of scale, Standard deviation (Wikipedia), Bessel's correction (Wikipedia), STDEV.S function (Microsoft Support).
