Standard Deviation Calculator
How spread out are your data points from the average?
Calculate standard deviation to measure how spread out your data points are from the average. Enter your numbers and choose between population or sample calculation methods.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Think of standard deviation as measuring the typical distance your data wanders from home base. If you measured the height of everyone in your office, the average might be 5'8". But standard deviation tells you whether most people cluster near that average or if you have a mix of very tall and very short people scattered widely.
The calculation squares each distance from the mean, averages those squared distances to get variance, then takes the square root to return to original units. Squaring eliminates negative distances and emphasizes larger deviations more heavily than smaller ones.
This mathematical approach means standard deviation captures both the spread of your data and weights outliers appropriately. A single person who is 6'8" affects the standard deviation more than someone who is 5'9", reflecting the reality that extreme values matter more for assessing variability.
When To Use This
Right tool, right situation
Use standard deviation when you need to quantify consistency or risk. Quality control engineers use it to verify manufacturing precision. Investment analysts use it to measure portfolio volatility. Researchers use it to determine if experimental results show meaningful differences.
Standard deviation works best with continuous numerical data that approximates a normal distribution. It is less meaningful for categorical data, heavily skewed distributions, or data with multiple distinct clusters.
Avoid relying solely on standard deviation for small sample sizes under 10 data points, where individual outliers can dramatically skew results. Also consider the interquartile range for data with extreme outliers that might distort the standard deviation calculation.
Common Mistakes
Why results sometimes look wrong
The biggest mistake is choosing the wrong calculation type. Use population when you have all relevant data points, like test scores for your entire class. Use sample when your data represents a subset of a larger group, like surveying 100 customers from thousands.
Another common error is misinterpreting the units. Standard deviation uses the same units as your original data, unlike variance which uses squared units. If measuring weights in grams, standard deviation is in grams, making it directly comparable to your data range.
Many people also assume standard deviation measures the range of data, but it specifically measures typical deviation from the mean. Two datasets can have identical ranges but very different standard deviations depending on how the data clusters around the average.
The Math
Worked examples and deeper derivation
Standard deviation equals the square root of variance. For population data, variance is the sum of squared differences from the mean divided by n. For sample data, divide by n-1 instead of n to correct for the bias that occurs when estimating population parameters from limited data.
The n-1 correction, called Bessel's correction, accounts for the fact that sample data tends to underestimate true population variance. When you use your sample mean instead of the unknown population mean, you lose one degree of freedom, requiring the adjustment.
About 68% of data falls within one standard deviation of the mean in normal distributions, 95% within two standard deviations, and 99.7% within three. This empirical rule helps interpret results even when your data is not perfectly normal.
Expert Unlock
The thing most explanations skip
Standard deviation assumes your data follows a roughly normal distribution, but real-world data often contains outliers or follows skewed patterns that make standard deviation less representative. A single extreme value can inflate standard deviation far beyond what represents typical variation in your dataset.
How do I interpret standard deviation results?
Need something this doesn't cover?
Suggest a tool — we'll build it →