Formula & Calculator

Standard Deviation

Measures the spread of a dataset around its mean.

StatisticsDescriptive StatisticsSpread

Standard Deviation Calculator σ = √(Σ(xᵢ−μ)² / N)

σ = √( Σ(xᵢ − μ)² / N )
σ = population standard deviation  ·  μ = mean  ·  N = number of data points  ·  xᵢ = individual values
⟹ Solve σ, μ, N, data
Data Points
No data points — add numbers above
Count (N)
0
Mean (μ)
Variance (σ²)
Please fix the errors above.
Solve for:
Standard Deviation
N: μ: σ:
✓ Copied!
Standard Deviation (σ)
Low (σ < 1) Moderate (1–5) High (σ > 5)
σ = √(Σ(xᵢ−μ)² / N)  ·  Population standard deviation. For sample standard deviation (s), divide by N−1.

Interpretation

σ = √(Σ(xᵢ−μ)²/N). Measures the spread of a population dataset around the mean. Used in statistics, quality control, and finance. Larger σ indicates more variability.

σ = √(Σ(xᵢ−μ)² / N)
Standard Deviation

Variables

SymbolQuantityUnit
σStandard deviation
xᵢData point
μMean
NPopulation size

What it means

The population standard deviation (σ) is a measure of the dispersion of a set of data points relative to the population mean (μ). It is calculated by taking the square root of the average of the squared deviations from the mean. It has the same units as the data and is widely used in statistical analysis to quantify variability. In quality control, it is used to monitor process capability (six sigma). In finance, it represents volatility (risk). In the physical sciences, it indicates measurement precision. A small σ means data points cluster close to the mean; a large σ indicates wide spread. Understanding standard deviation is essential for interpreting confidence intervals, hypothesis tests, and for comparing variability across datasets. It is a foundational concept in statistics and data science.

Worked example

Population Standard Deviation – Two Examples

Real‑World
Scenario: A factory produces 5 light bulbs with lifetimes (hours): 2, 4, 6, 8, 10. The quality engineer calculates the population standard deviation to measure consistency.
ParameterValue
Data2,4,6,8,10
μ (mean)6
N5
1Σ(xᵢ−μ)² = (2−6)²+(4−6)²+(6−6)²+(8−6)²+(10−6)² = 16+4+0+4+16 = 40
2σ = √(40/5) = √8 = 2.828
Result 2.83 hours ✓ Moderate spread
Scenario: A teacher records test scores (out of 10): 1, 1, 1, 1, 1. All students got the same mark. Calculate σ.
ParameterValue
Data1,1,1,1,1
μ1
N5
1All deviations are 0, so sum = 0
2σ = √(0/5) = 0
Result 0 ✓ No variability
Insight: Population standard deviation uses N in the denominator. It measures the spread of all data points around the mean. Zero means identical values.

Common mistakes

  • Population vs. sample: This formula uses N (population size) – for sample standard deviation, use n−1.
  • Mean μ: Use the population mean, not the sample mean (x̄).
  • Units: The standard deviation has the same units as the data.
  • Square root: Do not forget to take the square root after summing squared deviations.
  • Zero variance: If all values are equal, σ = 0.

Applications

The standard deviation (σ for population, s for sample) measures the average distance of data points from the mean, quantifying the spread or variability of a dataset. It is one of the most important statistical measures, used across all fields that involve numerical data. In quality control, it defines process capability and control limits. In finance, it represents risk (volatility). In engineering, it quantifies measurement uncertainty and tolerances. In research, it helps interpret the reliability of results. By understanding the standard deviation, professionals can assess consistency, identify outliers, and compare variability between different groups. It forms the basis for many inferential statistics, including confidence intervals and hypothesis tests. Whether monitoring production quality or analysing experimental data, the standard deviation is indispensable for making data‑driven decisions and ensuring that conclusions are robust.

  • Quality control and Six Sigma process monitoring
  • Financial risk assessment and portfolio volatility
  • Engineering tolerances and measurement system analysis
  • Scientific research – data spread and reliability
  • Educational assessment – score variability

Frequently Asked Questions

Q01What is the standard deviation formula and what does it measure?
A01

The formula is σ = √(Σ(xᵢ−μ)² / N) for a population. It measures the average distance of each data point from the mean, quantifying the spread or dispersion of a dataset. A larger σ indicates greater variability.

Q02What is the difference between population standard deviation (σ) and sample standard deviation (s)?
A02

Population σ uses N in the denominator and is used when you have data for the entire population. Sample s uses N−1 (Bessel's correction) to provide an unbiased estimate of the population variance from a sample. The sample formula is s = √(Σ(xᵢ−x̄)² / (n−1)).

Q03What does a low standard deviation indicate about a dataset?
A03

A low standard deviation means the data points are clustered closely around the mean, indicating low variability and high precision. This is often desirable in manufacturing and quality control.

Q04How is standard deviation used in data analysis and inferential statistics?
A04

It is used to:

  • Identify outliers (e.g., values beyond 3σ).
  • Calculate confidence intervals and margin of error.
  • Perform hypothesis testing (e.g., z‑tests, t‑tests).
  • Normalize data via z‑scores.

Q05What is the relationship between variance and standard deviation?
A05

Variance is the square of the standard deviation (σ²). While variance is in squared units, standard deviation is in the original units of the data, making it easier to interpret.

Q06How does standard deviation behave under linear transformations (y = ax + b)?
A06

If you transform each data point as Y = aX + b, then the standard deviation of Y is |a| · σ_X. Adding a constant (b) does not change the standard deviation.

Q07What is the empirical rule (68‑95‑99.7 rule) and how does it relate to standard deviation?
A07

For a normal distribution:

  • ≈68% of data lies within ±1σ of the mean.
  • ≈95% within ±2σ.
  • ≈99.7% within ±3σ.
This rule is a quick way to assess spread and detect outliers.

Q08How do you calculate standard deviation for grouped data (frequency distribution)?
A08

Use the weighted formula: σ = √(Σ fᵢ (xᵢ − μ)² / N), where fᵢ are the frequencies, xᵢ are the class midpoints, and N = Σ fᵢ. This accounts for the frequency of each value.

Q09What are the limitations of standard deviation as a measure of spread?
A09

Standard deviation is sensitive to outliers – a single extreme value can inflate σ significantly. It also assumes symmetry; for skewed distributions, the interquartile range (IQR) is often more robust.

Q10How is standard deviation used in finance and risk management?
A10

In finance, σ (or volatility) measures the risk of an asset’s returns. Higher σ indicates higher price fluctuations and greater investment risk. It is also used in the Sharpe ratio to assess risk‑adjusted returns.