Standard Deviation Calculator
Paste a list of numbers to get the sample and population standard deviation, variance, mean, range and coefficient of variation.
Was this tool helpful?
Thanks for the feedback!
This calculator takes a list of numbers and tells you how spread out they are. It gives the sample and population standard deviation, both variances, the mean, the range and the coefficient of variation in one go. It suits students checking statistics homework, teachers comparing class results and anyone who wants to know how consistent a set of figures is.
What to enter
Type or paste your data into Numbers (separated by commas, spaces or new lines). You can copy a column straight from a spreadsheet, since new lines count as separators. Semicolons work too. Decimals and negative numbers are fine.
The Headline result menu picks which figure is shown in large type: Sample standard deviation (s) or Population standard deviation (σ). Both values are always listed underneath, so the choice only changes the headline and the coefficient of variation, which is worked out from whichever one you pick.
Sample or population: which one do you need?
Use the population figure when your list contains every member of the group you care about, for example the marks of all 40 students in one class when you only want to describe that class. Use the sample figure when your numbers are a subset you are using to estimate a larger group, such as 50 survey replies standing in for a whole city.
The difference is in the last step. Both start the same way:
- Find the mean (add the numbers and divide by the count, n).
- Subtract the mean from each number and square the result.
- Add up those squared differences.
- Divide by
nfor the population variance, or byn − 1for the sample variance. - Take the square root to get the standard deviation.
Dividing by n − 1 (Bessel's correction) makes the sample result slightly larger, which corrects for the fact that a small sample tends to underestimate the spread of the full group. With the textbook data 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the population standard deviation is exactly 2, and the sample standard deviation is 2.1381. In an exam, follow the formula your textbook gives; the tool shows both so you can match either.
Worked example: three students with the same average
Three students each scored a total of 389 across five unit tests, so all three have a mean of 77.8. Their standard deviations tell very different stories.
| Marks | Sample s | Population σ | Range |
|---|---|---|---|
| 76, 78, 77, 79, 79 | 1.3038 | 1.1662 | 3 |
| 72, 85, 90, 64, 78 | 10.3053 | 9.2174 | 26 |
| 60, 95, 55, 98, 81 | 19.6901 | 17.6114 | 43 |
The first student is very steady. The third swings between the 50s and the high 90s. For the middle set the tool also shows a sample variance of 106.2, a population variance of 84.96 and a coefficient of variation of 13.25% (using the sample figure). The coefficient of variation is the standard deviation divided by the mean, as a percentage, which lets you compare spread between data sets with different averages, such as marks out of 100 and marks out of 25.
Errors and edge cases
- A single number gives the message "Enter at least two numbers." A sample standard deviation is not defined for one value.
- Any entry that is not a number stops the calculation and names it, for example: "abc" is not a number. Remove units such as % or ₹ before pasting.
- Do not use commas as thousands separators. The tool treats a comma as a break between values, so 1,250 is read as two numbers, 1 and 250. Paste 1250 instead.
- If the mean is exactly zero the coefficient of variation is shown as a dash, because dividing by zero has no meaning.
If you only need the mean, median or mode, the average calculator is quicker. To see where a single score sits within the group, use the percentile calculator.
Frequently asked questions
What is the difference between sample and population standard deviation?
What is the standard deviation of 2, 4, 4, 4, 5, 5, 7, 9?
Is a high standard deviation good or bad?
How is variance related to standard deviation?
What does the coefficient of variation tell me?
Why does the calculator say a number is not valid?
Related guides
- Standard Deviation Explained Simply: Formula, Step-by-Step Example and Sample vs Population Standard deviation is the square root of the average squared distance from the mean. See the formula, a step-by-step marks example, and when to divide...
- Best Free Online Tools for Students in India (No Signup, 2026) Free browser tools for Indian students, sorted by task: essays, marks and CGPA, exam-form photos and PDFs, and study timers, with what each one can't...
- Age Limit for Exams: How to Calculate Your Age on the Cut-off Date Your age is checked on the cut-off date in the notice, not the day you apply. UPSC CSE 2026: 21–32 on 1 August 2026. How to check, relaxations, mistak...