Formula

Standard deviation measures the average distance of data points from the mean of a dataset. To calculate the population variance, the formula is σ² = Σ(x - μ)² / N, where Σ is the sum of all values, x is each individual data point, μ is the population mean, and N is the total number of points. The population standard deviation (σ) is the square root of this variance. This approach is used when you have access to every data point in the entire group being studied. For most real-world applications where you only have a subset of a larger group, the sample standard deviation (s) is calculated using the formula s = √[Σ(x - x̄)² / (n - 1)]. This version uses x̄ for the sample mean and applies Bessel's correction by dividing by n - 1 instead of n. This adjustment compensates for the fact that a sample tends to show slightly less variability than the full population, providing a more accurate and unbiased estimate for scientific or statistical analysis.

Example

Consider a small dataset of three object weights: 5 kg (11 lb), 7 kg (15.4 lb), and 9 kg (19.8 lb). First, find the mean by adding the values and dividing by three, which equals 7 kg (15.4 lb). Next, subtract the mean from each value and square the result: (5 - 7)² = 4, (7 - 7)² = 0, and (9 - 7)² = 4. Adding these squares together gives a sum of 8. To find the sample variance, divide this sum by n - 1, which is 3 - 1 = 2, resulting in a variance of 4. Finally, take the square root of 4 to determine that the sample standard deviation is 2 kg (4.4 lb).

What the result means

  • ±1 σ Normal Distribution
    Meaning In a normal distribution, approximately 68.3 percent of all data points fall within this range.
    Action This represents the most common outcomes and the core concentration of the dataset.
  • ±2 σ High Variability
    Meaning Approximately 95.4 percent of data points fall within two standard deviations of the mean.
    Action Points falling outside this range are often considered statistically significant or unusual.
  • ±3 σ Extreme Outliers
    Meaning About 99.7 percent of the data falls within this wide range, leaving very little outside.
    Action Data points beyond this threshold are extremely rare and should be investigated as anomalies.
  • 0 Zero Variance
    Meaning A standard deviation of zero indicates that every single data point in the set is identical.
    Action Confirm if this lack of variation is expected or indicates a measurement error.
Range Status Meaning Action
±1 σ Normal Distribution In a normal distribution, approximately 68.3 percent of all data points fall within this range. This represents the most common outcomes and the core concentration of the dataset.
±2 σ High Variability Approximately 95.4 percent of data points fall within two standard deviations of the mean. Points falling outside this range are often considered statistically significant or unusual.
±3 σ Extreme Outliers About 99.7 percent of the data falls within this wide range, leaving very little outside. Data points beyond this threshold are extremely rare and should be investigated as anomalies.
0 Zero Variance A standard deviation of zero indicates that every single data point in the set is identical. Confirm if this lack of variation is expected or indicates a measurement error.

When to use this calculator

Valid range: The sample standard deviation is valid for any dataset with at least two numerical values.

The formula breaks down when n is less than two for samples because it leads to division by zero. Standard deviation is highly sensitive to outliers, meaning a single extreme value can significantly inflate the result and misrepresent the overall spread of the data.

Standard deviation is the most widely used measure of statistical dispersion, quantifying how much the members of a group differ from the mean value for that group. It is a fundamental tool in various fields, including finance, where it is used to measure market volatility and investment risk. A low standard deviation indicates that the data points tend to be very close to the mean, while a high standard deviation indicates that the data points are spread out over a large range of values. This calculation is essential because it allows researchers and analysts to understand the reliability and consistency of their data. In manufacturing and quality control, standard deviation helps determine if a process is stable or if the variations in products like the length of a bolt in cm (in) are within acceptable limits. By identifying how much a process deviates from its target, engineers can implement improvements to ensure products meet strict specifications. Furthermore, the concept is central to the Six Sigma methodology, which aims to reduce process variation so that virtually all results fall within a very narrow range of the mean. Understanding standard deviation also enables the use of Z-scores, which determine how many standard deviations a specific point is from the average, allowing for the comparison of data points from different datasets.

Related Calculators

Frequently Asked Questions

A high standard deviation indicates that the data points are spread out over a wider range of values, suggesting high variability or inconsistency. In finance, this often represents higher risk, while in manufacturing, it may signal a lack of precision in production processes. It shows the data is less clustered around the mean.

Population standard deviation is used when every member of a group is measured, while sample standard deviation estimates the variability of a larger group based on a subset. The sample formula uses n - 1 in the denominator, known as Bessel's correction, to provide a more accurate and unbiased estimate.

The 68-95-99.7 rule, or the empirical rule, states that for a normal distribution, nearly all data falls within three standard deviations of the mean. Specifically, 68 percent falls within one, 95 percent within two, and 99.7 percent within three. This helps identify outliers and understand the probability of specific data points.

Standard deviation cannot be negative because it is calculated as the square root of variance, which is a sum of squared values. The smallest possible value is zero, indicating that all data points are identical. If you calculate a negative value, there is likely an error in the arithmetic or the formula application.

Standard deviation is simply the square root of the variance. While variance provides a mathematical description of spread in squared units, standard deviation expresses that spread in the same units as the original data. This makes standard deviation much easier to interpret and apply to real-world measurements or comparisons.

You should consult a professional statistician when dealing with complex data distributions that do not follow a normal bell curve or when making high-stakes decisions based on small samples. Experts can help apply advanced methods beyond basic standard deviation to ensure your conclusions are mathematically sound and account for potential biases.