ZU CALCULATOR
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Home / Math & General / Standard Deviation Calculator
Math & General

Standard Deviation Calculator

Calculate both Population Standard Deviation (σ) and Sample Standard Deviation (s), population and sample variance, arithmetic mean, Standard Error of the Mean (SEM), and Sum of Squares (SS).

Developed and maintained by Muhammad Zakria • Verified Formula & Worked Examples • Editorial Policy • Disclaimer

Standard Deviation Calculator

Enter values Calculate
Result

|

How Population ($\sigma$) vs. Sample ($s$) Standard Deviation Are Calculated

Standard deviation measures statistical dispersion—how tightly or widely individual data points ($x_i$) spread out around their arithmetic mean ($\mu$ or $\bar{x}$). Because statistical formulas differ depending on whether your dataset represents an entire population or a sample drawn from a larger population, the Standard Deviation Calculator computes both Population ($\div N$) and Sample ($\div (N - 1)$) metrics side by side:

$$\text{Sum of Squares (SS)} = \sum_{i=1}^{N} (x_i - \bar{x})^2$$

$$\text{Population Standard Deviation } (\sigma) = \sqrt{\frac{\sum (x_i - \mu)^2}{N}}, \qquad \text{Sample Standard Deviation } (s) = \sqrt{\frac{\sum (x_i - \bar{x})^2}{N - 1}}$$

$$\text{Standard Error of the Mean (SEM)} = \frac{s}{\sqrt{N}}$$

Worked Example: Dataset [10, 12, 15, 18, 20] ($N = 5$)

  1. Calculate Mean ($\bar{x}$): $(10 + 12 + 15 + 18 + 20) \div 5 = 75 \div 5 = \mathbf{15.00}$.
  2. Squared Deviations from Mean $(x_i - 15)^2$: $(-5)^2 + (-3)^2 + 0^2 + 3^2 + 5^2 = 25 + 9 + 0 + 9 + 25 = \mathbf{68.00}$ ($\text{SS}$).
  3. Population Variance ($\sigma^2$) & SD ($\sigma$): $\sigma^2 = 68 \div 5 = \mathbf{13.60} \implies \sigma = \sqrt{13.60} = \mathbf{3.6878}$.
  4. Sample Variance ($s^2$) & SD ($s$): $s^2 = 68 \div (5 - 1) = \mathbf{17.00} \implies s = \sqrt{17.00} = \mathbf{4.1231}$.
  5. Standard Error of the Mean ($\text{SEM}$): $4.1231 \div \sqrt{5} = \mathbf{1.8439}$.

Why Sample Standard Deviation Divides by $N - 1$ (Bessel’s Correction)

When you estimate the dispersion of a large population using only a small sample of $N$ observations, data points in the sample naturally sit slightly closer to the sample mean ($\bar{x}$) than to the unknown true population mean ($\mu$). Dividing the sum of squared deviations by $N - 1$ (the degrees of freedom, known as Bessel’s correction) removes that downward bias in sample variance ($s^2$). For central-tendency and median checks on the same numbers, use the Average Calculator, or explore outcome likelihoods in the Probability Calculator.

Interpreting Standard Deviation in Quality Control and Finance

Standard deviation quantifies how tightly or loosely observations cluster around the mean in the exact same physical units as the original measurements (unlike variance, which is expressed in squared units). Under a bell-shaped normal distribution (the 68–95–99.7 Empirical Rule), approximately 68.27% of values fall within ±1σ of the mean, 95.45% fall within ±2σ, and 99.73% fall within ±3σ. In manufacturing Six Sigma quality control, keeping process variation narrow ensures fewer defective parts; in portfolio finance, annualized standard deviation of monthly returns measures asset volatility. Compare central tendency metrics first using our Average (Mean/Median) Calculator and Probability Calculator.

Frequently asked questions

When should I use Population SD (σ) vs. Sample SD (s)?
Use Population SD (σ) when your list contains every single member of the group you care about (for example, the exam scores of all 28 students in one specific classroom). Use Sample SD (s) when your numbers are a subset or experimental sample used to estimate a larger population (for example, testing 20 batteries off a factory line of 50,000).
What is the difference between Variance and Standard Deviation?
Variance (σ² or s²) is the average of the squared deviations from the mean, which means its unit is squared (such as square dollars or square centimeters). Standard deviation is the square root of variance, returning the spread to the exact same unit as your original data.
What does a Standard Deviation of 0 mean?
A standard deviation of 0 occurs if and only if every single number in your dataset is identical (for example, [14, 14, 14, 14]), meaning there is zero variation from the mean.
What is the 68–95–99.7 Empirical Rule for normal distributions?
In a bell-shaped normal distribution, approximately 68.27% of data values fall within ±1 standard deviation of the mean (μ ± 1σ), 95.45% fall within ±2σ, and 99.73% fall within ±3σ.
Developed and maintained by Muhammad Zakria. Calculations are informational estimates based on standard formulas. Creator Profile • Editorial Policy • Disclaimer • Report an Issue