Standard Deviation Calculator

Calculate the standard deviation of a data set. Supports both population and sample standard deviation.

Comma or space separated (minimum 2 values)
%
Sample Std Dev (s)
1.8708
Divides sum of squared deviations by n-1 = 5
Population Std Dev
1.7078
Divides sum of squared deviations by N = 6
Sample Variance
3.5000
Square of sample std dev
Population Variance
2.9167
Square of population std dev
Mean
5.5000
Sum 33.0000 / n 6
Median
5.5000
Middle value of sorted data
CV
34.02%
Coefficient of variation (s / |mean|)
Std Error (SEM)
0.7638
s / sqrt(n) = 1.87 / 2.45
95% CI
[4.0030, 6.9970]
Confidence interval for the mean

Five-Number Summary

Min: 3.00
Q1: 4.00
Med: 5.50
Q3: 7.00
Max: 8.00

Descriptive Statistics

StatisticValue
Count (n)6
Sum33.0000
Mean5.5000
Median5.5000
Min3.0000
Max8.0000
Range5.0000
Q1 (25th pctile)4.0000
Q3 (75th pctile)7.0000
IQR3.0000
Skewness0.0000
Geometric Mean5.2169

Frequency Distribution

3.00001x
4.00001x
5.00001x
6.00001x
7.00001x
8.00001x

Value Details

#ValueDeviationSq. DevZ-Score
14.0000-1.50002.2500-0.8018
28.0000+2.50006.25001.3363
36.0000+0.50000.25000.2673
45.0000-0.50000.2500-0.2673
53.0000-2.50006.2500-1.3363
67.0000+1.50002.25000.8018
Planning notes, formulas, and examples

About the Standard Deviation Calculator

The Standard Deviation Calculator computes both the population standard deviation (σ) and sample standard deviation (s) for any data set. Standard deviation is the most widely used measure of variability in statistics.

Standard deviation quantifies how much individual values deviate from the mean. A small standard deviation means values cluster near the mean; a large one means they are spread out.

This calculator also reports the mean, variance, count, and coefficient of variation, giving you a complete picture of your data's central tendency and dispersion.

When This Page Helps

Computing standard deviation by hand involves squaring deviations, summing, dividing, and taking a square root. This calculator handles that process for data sets of any size.

How to Use the Inputs

  1. Enter numbers separated by commas.
  2. View both population and sample standard deviation.
  3. Check the variance (standard deviation squared).
  4. Compare the coefficient of variation across data sets.
  5. Use the result to construct confidence intervals or z-scores.
Formula used
σ = √[Σ(xᵢ − μ)² / N] (population) s = √[Σ(xᵢ − x̄)² / (n−1)] (sample) Where: - μ or x̄ = mean - N = population size, n = sample size

Example Calculation

Result: s ≈ 1.87

Mean = 5.5. Squared deviations: 2.25, 6.25, 0.25, 0.25, 6.25, 2.25. Sum = 17.5. Sample variance = 17.5/5 = 3.5. Sample std dev = √3.5 ≈ 1.87.

Tips & Best Practices

  • Use population std dev (σ) when you have data for the entire population.
  • Use sample std dev (s) when your data is a sample from a larger population.
  • About 68% of data falls within 1 std dev of the mean in a normal distribution.
  • 95% falls within 2 std devs, and 99.7% within 3 std devs (68-95-99.7 rule).
  • The coefficient of variation (CV = s/mean × 100%) allows comparing spread across different scales.
  • Standard deviation has the same units as the original data, while variance is in squared units.

Standard Deviation in Practice

Finance uses standard deviation to measure investment risk (volatility). Manufacturing uses it for quality control (Six Sigma = processes within 6 std devs). Education uses it to interpret standardized test scores.

Relationship to Other Statistics

Standard deviation is the building block for z-scores, confidence intervals, hypothesis tests, and regression analysis. Nearly all inferential statistics depend on it.

Limitations

Standard deviation assumes data is roughly symmetric. For heavily skewed data, the interquartile range (IQR) may be a better measure of spread.

Mastering this concept provides a strong foundation for advanced coursework in mathematics, statistics, and related quantitative disciplines.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Standard deviation measures the average distance of data points from the mean. It is the square root of the variance and is expressed in the same units as the data.