Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Standard deviation measures how spread out a set of numbers is from the average.
A low standard deviation means values cluster tightly around the mean, while a high standard deviation means they are widely dispersed. This standard deviation calculator computes both population and sample standard deviation from any data set you enter, along with variance, mean, sum, and count.
Enter your numbers separated by commas, spaces, or line breaks, and the calculator returns a complete statistical summary. It shows the step-by-step calculation so you can see how each value contributes to the final result, including the deviation of each data point from the mean, the squared deviations, and the final division step that distinguishes population from sample standard deviation.
Whether you are a student working through a statistics assignment, a researcher analyzing experimental data, or a professional evaluating consistency in business metrics, this tool provides accurate results instantly with transparent methodology. Pair it with the Average (Mean) Calculator for additional central tendency measures.
Standard deviation is a statistical measure that quantifies the amount of variation in a data set. It answers a fundamental question: how far, on average, do individual data points sit from the mean of the set?
Consider two classes of students with the same average test score of 80. In Class A, scores range from 75 to 85. In Class B, scores range from 50 to 100. The mean is identical, but the distributions are very different. Class A has a low standard deviation (around 3), meaning scores are consistent. Class B has a high standard deviation (around 15), meaning scores vary widely. Standard deviation captures this difference numerically.
The concept was formalized by Karl Pearson in the late 1800s and has become one of the most widely used statistics across science, business, finance, and quality control.
There are two versions of the standard deviation formula: one for a complete population and one for a sample drawn from a larger population.
Population standard deviation (sigma):
sigma = sqrt( sum((xi – mu)^2) / N )
Where xi is each data point, mu is the population mean, and N is the total number of data points.
Sample standard deviation (s):
s = sqrt( sum((xi – x-bar)^2) / (n – 1) )
Where xi is each data point, x-bar is the sample mean, and n is the sample size.
The only difference is the denominator: N for population, n – 1 for sample. This n – 1 adjustment, known as Bessel’s correction, compensates for the fact that a sample tends to underestimate the true population variance. When your data represents the entire population (every student in a class, every item in a batch), use population standard deviation. When your data is a sample from a larger group, use sample standard deviation.
Consider the data set: 4, 8, 6, 5, 3, 7, 8, 2.
Step 1: Find the mean. Sum = 4 + 8 + 6 + 5 + 3 + 7 + 8 + 2 = 43 Mean = 43 / 8 = 5.375
Step 2: Find each deviation from the mean. 4 – 5.375 = -1.375 8 – 5.375 = 2.625 6 – 5.375 = 0.625 5 – 5.375 = -0.375 3 – 5.375 = -2.375 7 – 5.375 = 1.625 8 – 5.375 = 2.625 2 – 5.375 = -3.375
Step 3: Square each deviation. 1.891, 6.891, 0.391, 0.141, 5.641, 2.641, 6.891, 11.391
Step 4: Sum the squared deviations. Sum = 35.875
Step 5: Divide. Population variance = 35.875 / 8 = 4.484 Sample variance = 35.875 / 7 = 5.125
Step 6: Take the square root. Population standard deviation = sqrt(4.484) = 2.118 Sample standard deviation = sqrt(5.125) = 2.264
This calculator performs all six steps and displays each one, so you can follow the calculation from raw data to final result.
Use population standard deviation when:
Use sample standard deviation when:
In practice, sample standard deviation is used more often because most real-world data collection involves samples rather than complete populations. When in doubt, use sample standard deviation since it provides a more conservative (slightly larger) estimate.
Variance is the square of the standard deviation. Both measure spread, but they serve different roles.
Variance (sigma-squared or s-squared) is useful in mathematical derivations and statistical theory because squared values have convenient algebraic properties. However, variance is expressed in squared units of the original data. If your data is in meters, the variance is in square meters, which is not intuitive to interpret.
Standard deviation is the square root of variance, bringing the measure back to the same units as the original data. This makes it directly interpretable. A standard deviation of 3.2 pounds means that data points typically deviate from the mean by about 3.2 pounds.
For most practical purposes, standard deviation is the more useful measure. Variance is important when performing further statistical calculations, such as analysis of variance (ANOVA) or regression analysis.
For data that follows a normal distribution (the classic bell curve), standard deviation has a specific relationship to the spread of values:
This is known as the empirical rule or the 68-95-99.7 rule. It provides a quick way to understand what standard deviation means in context.
If the average height of adult men in a population is 70 inches with a standard deviation of 3 inches, then approximately 68% of men are between 67 and 73 inches, 95% are between 64 and 76 inches, and virtually all (99.7%) are between 61 and 79 inches.
Values beyond 3 standard deviations from the mean are considered outliers in most contexts.
Finance. Standard deviation is the primary measure of investment risk. A stock with a high standard deviation of returns is more volatile and therefore riskier. Portfolio managers use standard deviation to evaluate risk-adjusted returns and to construct diversified portfolios that minimize overall volatility.
Quality control. Manufacturing uses standard deviation to monitor process consistency. Six Sigma methodology, one of the most widely adopted quality frameworks, defines acceptable quality as no more than 3.4 defects per million opportunities, corresponding to a process where specifications are set 6 standard deviations from the mean.
Science and research. Experimental results are reported with standard deviations to indicate measurement precision and variability. A result of 45.2 plus or minus 1.3 means the standard deviation of the measurements is 1.3. This context is essential for evaluating whether a result is statistically meaningful.
Education. Test score analysis uses standard deviation to measure consistency of performance, set grading curves, and evaluate whether a test is appropriately difficult. Standardized tests like the SAT and GRE are designed around specific mean and standard deviation targets.
Weather and climate. Daily temperature data analyzed with standard deviation reveals how variable a region’s climate is. A city with a mean temperature of 75 degrees F and a standard deviation of 5 degrees has much more consistent weather than one with the same mean but a standard deviation of 15 degrees.
Use the Average (Mean) Calculator to compute the mean, median, and mode of your data set, or the Percentage Change Calculator to measure changes between data points.
There is no universal answer because the interpretation depends on the context and the scale of your data. A standard deviation of 5 is large if the mean is 10 but small if the mean is 10,000. Instead, evaluate standard deviation relative to the mean. The coefficient of variation (standard deviation divided by the mean, expressed as a percentage) provides a scale-independent measure of relative variability.
Population standard deviation divides by N (the total number of data points) and is used when your data represents the entire group. Sample standard deviation divides by n – 1 (Bessel’s correction) and is used when your data is a subset of a larger group. Sample standard deviation is slightly larger, providing a less biased estimate of the true population variability.
A standard deviation of 0 means every value in the data set is exactly the same. There is no variation at all. This rarely occurs in real-world data but is mathematically valid.
Standard deviation is the square root of variance. Variance is in squared units of the original data, while standard deviation is in the same units as the data, making it easier to interpret. Both measure the same concept of spread in a data set.
No. Standard deviation is always zero or positive because it is the square root of squared deviations. A data set with identical values has a standard deviation of zero, and any variation produces a positive value.
For normally distributed data, approximately 68% of values fall within 1 standard deviation of the mean, 95% within 2 standard deviations, and 99.7% within 3 standard deviations. This is also called the 68-95-99.7 rule.
Use STDEV.S for sample standard deviation or STDEV.P for population standard deviation. For example, =STDEV.S(A1:A10) calculates the sample standard deviation of values in cells A1 through A10.
Data accurate as of: March 2026