Standard Deviation Calculator
Calculate mean, variance, and standard deviation for both population and sample data sets instantly.
Standard Deviation Calculator tool
Example
Input: Data set 2, 4, 4, 4, 5, 5, 7, 9
Result: Population SD 2, sample SD 2.13809 (mean 5, population variance 4, sample variance 4.571429)
The squared deviations from the mean of 5 add up to 32. Population: 32 / 8 = 4 and sqrt(4) = 2. Sample: 32 / 7 = 4.571429 and its square root is 2.13809.
How Much Larger the Sample SD Is
| Number of values (N) | Sample SD / population SD | Sample SD is larger by |
|---|---|---|
| 2 | 1.4142 | 41.4% |
| 3 | 1.2247 | 22.5% |
| 5 | 1.1180 | 11.8% |
| 10 | 1.0541 | 5.4% |
| 20 | 1.0260 | 2.6% |
| 30 | 1.0171 | 1.7% |
| 50 | 1.0102 | 1.0% |
| 100 | 1.0050 | 0.5% |
| 1000 | 1.0005 | 0.1% |
Both are computed from the same data, so the ratio is the square root of N / (N - 1).
- Enter your data set as a list of numbers separated by commas, spaces, or line breaks.
- Review the computed mean, variance, and standard deviation, shown for both a population (entire group) and a sample (subset of a larger group).
- Pick the population or sample figures depending on whether your data covers the whole group or only part of it.
- Examine the sorted data and, if any values repeat, the frequency table with each value count and percentage.
- Copy the results or use them as inputs in related tools like the normal distribution calculator.
Population vs Sample Standard Deviation
Standard deviation measures how far values typically sit from their average. A small value means the data is tightly bunched, and a large one means it is spread out. Paste a list of numbers and this calculator gives the mean, variance and standard deviation. It works them out both for a population and for a sample.
The two versions differ in one step. Population standard deviation divides by N, the number of values. Sample standard deviation divides by N - 1. The smaller divisor corrects for the fact that a sample tends to understate the spread of the group it came from. Use population when your list is the whole group, such as every student in one class. Use sample when your list stands in for a bigger group, such as 50 customers out of thousands. For 2, 4, 4, 4, 5, 5, 7, 9 the population figure is 2 and the sample figure is 2.14. The gap is large for small lists and shrinks as N grows, as the table on this page shows.
For data shaped roughly like a bell curve, about 68% of values fall within one standard deviation of the mean, and about 95% within two. So if test scores have a mean of 70 and a standard deviation of 10, most students scored between 60 and 80. The Normal Distribution Calculator turns this into exact percentages. Keep in mind that one extreme value can inflate the result a lot.
You can separate numbers with commas, spaces, semicolons or new lines. Anything that is not a number is skipped, and a count shows how many values were read so you can check. You also get the sum, minimum, maximum and range, the data in sorted order, and a frequency table when values repeat. For the median and mode, use the Mean Median Mode Calculator.
Formula / How It Works
Sources
Frequently Asked Questions
Related Tools
Mean Median Mode Calculator
Find the mean, median, mode, and range of any data set with a frequency table and distribution display.
Statistics and DataNormal Distribution Calculator
Calculate z-scores, percentiles, and probabilities with a bell curve that shades the area below your value.
Statistics and DataSample Size Calculator
Determine the required sample size for surveys given confidence level, margin of error, and population.
Statistics and DataGrade Calculator
Calculate weighted course grades with customizable grading categories, category weights, and what-if grade scenarios.
Education and Academic