Statistics

Standard Deviation

Calculate spread of data. Fast, accurate, and completely free.

Favorites

Recent Tools

Results
Standard Deviation
Population (σ)
Mean (x̄)
Variance
Std Error (SE)
CV (%)
Count (n)
Sum

Step-by-Step Deviations

xᵢ xᵢ − x̄ (xᵢ − x̄)²

Mathematical Formula

\sigma = \sqrt{\frac{\sum_{i=1}^{N}(x_i - \mu)^2}{N}} \quad s = \sqrt{\frac{\sum_{i=1}^{n}(x_i - \bar{x})^2}{n-1}}

σ = Population standard deviation (divide by N)

s = Sample standard deviation (divide by n−1, Bessel's correction)

μ / x̄ = Population mean / Sample mean

CV = Coefficient of Variation = (SD / Mean) × 100%

How to Use this Calculator

  1. Enter your dataset as comma-separated numbers in the text area.

  2. Select whether your data represents a full Population (σ) or a Sample (s).

  3. Click Calculate to see the standard deviation, variance, standard error, and CV%.

  4. Review the step-by-step table showing each deviation and squared deviation from the mean.

  5. Examine the bell curve chart overlaid with your data distribution.

What Is Standard Deviation?

Standard deviation is one of the most important and widely used measures of dispersion in statistics. It quantifies the amount of variation or spread in a set of data values. A low standard deviation indicates that data points tend to cluster close to the mean, while a high standard deviation indicates that data points are spread out over a wider range.

Population vs. Sample Standard Deviation

The distinction between population and sample standard deviation is critical. When you have data for every member of a group (the entire population), you compute the population standard deviation (σ) by dividing the sum of squared deviations by N. When working with a subset (sample) of the population, you use the sample standard deviation (s), which divides by n−1 instead. This correction factor, known as Bessel's correction, compensates for the bias that arises from using a sample mean instead of the true population mean.

Variance: The Foundation

Variance (σ² or s²) is simply the square of the standard deviation. It represents the average squared deviation from the mean. While variance is mathematically convenient for many theoretical derivations, standard deviation is more interpretable because it is expressed in the same units as the original data.

Standard Error and Confidence

The standard error (SE) of the mean equals the standard deviation divided by the square root of the sample size: SE = s / √n. It measures how precisely the sample mean estimates the population mean. As sample size increases, SE decreases, indicating more precise estimates. Standard error is foundational for constructing confidence intervals and performing hypothesis tests.

Coefficient of Variation (CV)

The coefficient of variation (CV = SD / Mean × 100%) is a standardized measure of dispersion that allows comparison between datasets with different units or widely different means. A CV below 15% typically indicates low variability, while a CV above 30% suggests high variability relative to the mean.

The Bell Curve and Normal Distribution

In a normal distribution, approximately 68% of data falls within one standard deviation of the mean, 95% within two, and 99.7% within three — the famous 68-95-99.7 rule (empirical rule). This makes standard deviation essential for understanding probability and constructing confidence intervals in research, quality control, and finance.

Practical Applications

Standard deviation is used in finance to measure investment risk (volatility), in manufacturing for quality control (Six Sigma), in education to standardize test scores, in science to report measurement uncertainty, and in machine learning for feature normalization. Mastering standard deviation is fundamental to statistical literacy and data analysis.

Frequently Asked Questions (FAQ)

When should I use population vs. sample standard deviation?

Use population standard deviation (σ) when your data includes every member of the entire group you are studying. Use sample standard deviation (s) when your data is a subset drawn from a larger population, which is the more common scenario in research.

What is Bessel's correction?

Bessel's correction divides by (n−1) instead of n when computing sample variance. This corrects the downward bias that occurs because a sample mean tends to be closer to the sample values than the true population mean.

What does the coefficient of variation tell me?

CV expresses standard deviation as a percentage of the mean, enabling comparison of variability between datasets with different units or scales. A lower CV means less relative variability.

How is standard error different from standard deviation?

Standard deviation measures spread in the data. Standard error measures the precision of the sample mean as an estimate of the population mean. SE = SD / √n, so it decreases as sample size grows.

What is the 68-95-99.7 rule?

For normally distributed data, about 68% of values fall within ±1 SD of the mean, 95% within ±2 SD, and 99.7% within ±3 SD. This is also called the empirical rule.

Explore more tools you might find useful