Finding Standard Deviation- Methods and Examples

What is Standard Deviation?

Standard deviation measures how spread out numbers are from their average. That's it. A low standard deviation means numbers cluster close together. A high one means they're all over the place.

You see this metric everywhere—finance, science, sports stats, quality control. If data has variation, standard deviation quantifies it.

Most people get tripped up by the calculation process. It's not complicated, but it has steps. Let's break it down.

Population vs Sample: The Difference

You need to know which one you're dealing with before you start calculating.

Population standard deviation — you have every single data point in the group you're studying. No extrapolation needed.

Sample standard deviation — you have a subset of data and want to estimate what the full population looks like. This requires a small adjustment in the formula.

The difference matters. Using population formulas on a sample usually underestimates the true variation. Using sample formulas on complete data gives unnecessarily inflated results.

How to Calculate Standard Deviation (Step by Step)

Here's the manual process. No shortcuts, no calculator—just math.

Step 1: Find the Mean

Add up all your numbers. Divide by how many numbers you have.

Example: 4, 8, 6, 5, 3

Sum = 4 + 8 + 6 + 5 + 3 = 26
Mean = 26 ÷ 5 = 5.2

Step 2: Find Each Deviation from the Mean

Subtract the mean from each number.

4 - 5.2 = -1.2
8 - 5.2 = 2.8
6 - 5.2 = 0.8
5 - 5.2 = -0.2
3 - 5.2 = -2.2

Step 3: Square Each Deviation

Negative numbers are a pain. Squaring them solves that.

(-1.2)² = 1.44
(2.8)² = 7.84
(0.8)² = 0.64
(-0.2)² = 0.04
(-2.2)² = 4.84

Step 4: Find the Mean of Those Squared Values

This is the variance. For a population, you divide by N (total count). For a sample, you divide by N-1.

Sum of squared deviations = 1.44 + 7.84 + 0.64 + 0.04 + 4.84 = 14.8

Population variance = 14.8 ÷ 5 = 2.96
Sample variance = 14.8 ÷ 4 = 3.7

Step 5: Take the Square Root

Standard deviation = √variance

Population SD = √2.96 = 1.72
Sample SD = √3.7 = 1.92

Notice the sample SD is slightly higher. That adjustment (N-1 instead of N) compensates for the fact that a sample usually underestimates real variation.

Standard Deviation Formulas

Here's what these look like as actual formulas:

Population formula:

σ = √[Σ(x - μ)² / N]

Sample formula:

s = √[Σ(x - x̄)² / (n - 1)]

σ (sigma) = population standard deviation
s = sample standard deviation
μ = population mean
x̄ = sample mean
N = total items in population
n = sample size

Quick Comparison: Population vs Sample

Aspect Population SD Sample SD
When to use You have all data points Working with a subset
Denominator N n - 1
Result Exact variation Estimated variation
Symbol σ s or σ̂

Using Calculators and Software

Nobody calculates standard deviation by hand in practice. Here's what people actually use:

The math stays the same. The tools just automate the grunt work.

Common Mistakes to Avoid

These errors show up constantly. Don't make them.

When Standard Deviation Actually Matters

SD is useful in specific situations:

It's not universally applicable. For highly skewed data or ordinal data, other measures might serve you better.

Getting Started: Your Action Plan

Need to find standard deviation for a project? Here's the workflow:

  1. Determine if you're working with a population or sample
  2. Calculate the mean
  3. Subtract the mean from each value to get deviations
  4. Square each deviation
  5. Find the variance (divide by N for population, N-1 for sample)
  6. Take the square root

Or just open Excel, type your numbers in a column, and use STDEV.S or STDEV.P depending on your situation. The answer takes three seconds.