Loading...
Enter your data set to calculate standard deviation, variance, mean, and more. Choose between sample and population mode. Get step-by-step solutions showing exactly how each value is computed.
Divides by (n-1). Use when your data is a sample from a larger population.
Enter at least 2 numbers to calculate.
The two main formulas for calculating standard deviation and when to use each one.
Use when your data is a subset (sample) of a larger population. Divides by (n-1) to correct for sampling bias. This is the most common choice for real-world data.
Use when your data includes every member of the group you are studying. Divides by N (the total count). Common in quality control and census data.
Calculate standard deviation in three simple steps.
Select Sample if your data is a subset of a larger group (most common case). Select Population if your data includes every single member of the group. This determines whether the formula divides by (n-1) or N.
Type or paste your numbers into the text area, separated by commas, spaces, or new lines. You can also click an example data set to load preset values. The calculator detects how many valid numbers you have entered.
The results panel shows standard deviation, variance, mean, count, sum, range, median, min, max, and coefficient of variation. Expand the step-by-step solution to see exactly how each value was calculated. The deviation table shows every data point with its deviation and squared deviation.
Every calculation is broken down into clear steps showing the mean, deviations, squared deviations, sum of squares, variance, and final standard deviation.
See every data point alongside its deviation from the mean and its squared deviation. Color-coded positive and negative deviations for quick visual analysis.
Results update in real time as you type or paste data. No buttons to click, no page reloads. Enter your numbers and the statistics appear immediately.
Standard deviation, variance, mean, median, sum, count, range, min, max, and coefficient of variation. Everything you need from a single data input.
Toggle between sample (n-1) and population (N) standard deviation. Clear explanation of which mode to use and what Bessel's correction does.
No signup, no account, no data stored. Enter as many values as you want. Runs entirely in your browser. Use it for homework, research, or professional analysis.
Standard deviation is the single most important number for understanding how spread out your data is. Two data sets can have the same mean but completely different standard deviations. For example, the sets (48, 50, 52) and (20, 50, 80) both have a mean of 50, but the first set has nearly no spread while the second is widely dispersed. Standard deviation captures this difference in a single number.
In practical terms, standard deviation tells you how far a typical data point is from the average. If exam scores have a mean of 75 and a standard deviation of 10, most students scored between 65 and 85. A standard deviation of 3 on the same mean would mean most students scored between 72 and 78 - a much tighter grouping. This information is far more useful than the mean alone.
Calculating standard deviation by hand starts with finding the mean. Add up all values and divide by the count. For the data set (4, 8, 6, 5, 3, 7, 8, 1), the sum is 42 and the count is 8, giving a mean of 5.25.
Next, find the deviation of each value from the mean. Subtract the mean from each data point: 4 - 5.25 = -1.25, 8 - 5.25 = 2.75, and so on. Some deviations are positive (above the mean) and some are negative (below). They always sum to zero, which is why we cannot simply average them to measure spread.
Square each deviation to make all values positive: (-1.25)^2 = 1.5625, (2.75)^2 = 7.5625, and so on. Add up all the squared deviations to get the sum of squares. Divide by N for population variance or (N-1) for sample variance. Finally, take the square root to get the standard deviation. The square root brings the result back to the same units as the original data.
This is one of the most common points of confusion in statistics. If you measured every single item in the group you care about, you have a population. Examples: all 30 students in a specific class, all 12 monthly sales figures for a specific year, all products in a specific inventory count. Use population standard deviation (divide by N).
If you measured a subset and want to estimate the spread of the whole group, you have a sample. Examples: 100 out of 10,000 customers surveyed, 50 out of 500 manufactured parts tested, 20 temperature readings representing the whole year. Use sample standard deviation (divide by n-1). The n-1 correction produces a slightly larger number that better estimates the true population spread.
When in doubt, use sample standard deviation. It is the safer choice because it produces a conservative (slightly larger) estimate. Using population standard deviation on a sample underestimates the true variability, which can lead to overconfident conclusions in research and analysis.
For normally distributed data (the bell curve), standard deviation has a special property. About 68% of all data points fall within one standard deviation of the mean. About 95% fall within two standard deviations. And about 99.7% fall within three. This is called the empirical rule or the 68-95-99.7 rule.
If IQ scores have a mean of 100 and a standard deviation of 15, about 68% of people score between 85 and 115, about 95% score between 70 and 130, and about 99.7% score between 55 and 145. Anything beyond 3 standard deviations is extremely rare, less than 0.3% of the population.
This rule applies specifically to normal distributions. Not all data is normally distributed, so use the rule as a guideline rather than an exact law. For heavily skewed data, Chebyshev's theorem provides weaker but universally valid bounds: at least 75% within 2 standard deviations and at least 89% within 3.
In finance, standard deviation measures investment risk. A stock with a high standard deviation in returns is more volatile and therefore riskier. Portfolio managers use standard deviation to balance risk across investments. The Sharpe ratio, one of the most important metrics in finance, divides excess return by standard deviation to measure risk-adjusted performance.
In manufacturing, standard deviation drives quality control. Six Sigma methodology aims for processes where the nearest specification limit is at least 6 standard deviations from the process mean, ensuring defect rates below 3.4 per million. A lower standard deviation in production measurements means more consistent products and fewer rejects.
In science and research, standard deviation is reported alongside every mean to indicate how reliable the measurement is. A study reporting a mean blood pressure of 120 mmHg with a standard deviation of 5 tells a very different story than the same mean with a standard deviation of 25. Peer reviewers and readers use standard deviation to judge the quality and significance of results.
The most common mistake is using population standard deviation when sample standard deviation is appropriate. This underestimates variability and can lead to wrong conclusions. When you are looking at a subset of data and trying to generalize, always use sample (n-1).
Another frequent error is forgetting to square the deviations before summing them. If you sum raw deviations, you always get zero because positive and negative deviations cancel out. Squaring ensures all values contribute positively to the spread measure.
A third mistake is confusing standard deviation with variance. Variance is in squared units, which is hard to interpret. If your data is in dollars, variance is in dollars squared, which has no physical meaning. Always take the square root of variance to get standard deviation, which is back in the original units and directly interpretable.
Common questions about standard deviation, variance, and how to use this calculator.
Disclaimer: This Standard Deviation Calculator is for educational and informational purposes. While the calculations are mathematically precise, always verify critical statistical results with professional software for research publications or business decisions. This tool is not a substitute for statistical training.