How to Calculate Standard Deviation: Easy Guide for All Series with Examples

With Step-by-Step Solved Problems & Boxed Formulas

1. Introduction — What is Standard Deviation?

In statistics, we often want to know not just the average of a set of values, but also how spread out those values are. A class where all students score 70 is very different from a class where scores range from 20 to 100 — even though both may have the same average!

Standard Deviation (SD or σ) measures the degree of dispersion or spread of data values around the mean. The larger the SD, the more spread out the data. The smaller the SD, the more consistent or clustered the data.

σ (sigma) = Standard Deviation Variance = σ²

1.1 Why Standard Deviation?

MeasureWhat it tells youLimitation
RangeMax − MinAffected by outliers
Mean DeviationAverage absolute deviationIgnores algebraic signs
Standard DeviationTrue spread around meanSlightly complex to compute
VarianceSD squaredNot in same unit as data

Standard Deviation is the MOST WIDELY USED measure of dispersion in statistics, economics, finance, and research because it uses ALL data values and is mathematically tractable.

2. Formulas — All Methods

2.1 For Ungrouped Data (Individual Series)

Method 1 — Direct Method:

σ = √[ Σ(X − X̄)² / N ] Where: X = each value, X̄ = Mean, N = number of observations

Method 2 — Shortcut / Assumed Mean Method:

σ = √[ Σd²/N − (Σd/N)² ] Where: d = X − A (A = Assumed Mean)

Method 3 — Direct Formula (Alternate):

σ = √[ ΣX²/N − (X̄)² ]

2.2 For Discrete Series (Frequency Distribution)

Direct Method:

σ = √[ Σf(X − X̄)² / N ]

Shortcut Method:

σ = √[ Σfd²/N − (Σfd/N)² ] where d = X − A

Step Deviation Method:

σ = i × √[ Σfd′²/N − (Σfd′/N)² ] where d′ = (X − A) / i

2.3 For Continuous Series (Class Intervals)

σ = i × √[ Σfd′²/N − (Σfd′/N)² ] where mid-values are used as X, N = Σf

2.4 Coefficient of Variation (CV)

CV = (σ / X̄) × 100 Lower CV → More consistent  |  Higher CV → More variable

3. Solved Problems — Individual Series

Problem 1 — Direct Method (Beginner)

Find the Standard Deviation of: 4, 8, 6, 5, 3, 2, 8, 9, 2, 5

Step 1: Find the Mean

X̄ = (4+8+6+5+3+2+8+9+2+5) / 10 = 52 / 10 = 5.2

Step 2: Calculate deviations and squared deviations

XX − X̄(X − X̄)²
4−1.21.44
82.87.84
60.80.64
5−0.20.04
3−2.24.84
2−3.210.24
82.87.84
93.814.44
2−3.210.24
5−0.20.04
ΣX = 52Σ(X−X̄) = 0Σ(X−X̄)² = 57.60

Step 3: Apply the formula

σ = √(Σ(X−X̄)² / N) = √(57.60 / 10) = √5.76
σ = 2.4

Problem 2 — Shortcut / Assumed Mean Method (Beginner)

Find SD of: 10, 20, 30, 40, 50 using Assumed Mean A = 30

Step 1: Compute deviations d = X − A

Xd = X − 30
10−20400
20−10100
3000
4010100
5020400
N = 5Σd = 0Σd² = 1000

Step 2: Apply the shortcut formula

σ = √[ Σd²/N − (Σd/N)² ] = √[ 1000/5 − (0/5)² ] = √[ 200 − 0 ] = √200
σ ≈ 14.14

4. Solved Problems — Discrete Series

Problem 3 — Discrete, Shortcut Method (Intermediate)

Calculate Standard Deviation from the following data (A = 25):

Step 1: Prepare the table with deviations

Xfd = X−25fdfd²
103−15225−45675
157−10100−70700
2010−525−50250
25120000
30852540200
3561010060600
4041522560900
N=50Σfd=−5Σfd²=3325

Step 2: Apply the shortcut formula

σ = √[ Σfd²/N − (Σfd/N)² ] = √[ 3325/50 − (−5/50)² ] = √[ 66.5 − 0.01 ] = √66.49
σ ≈ 8.15

5. Solved Problems — Continuous Series

Problem 4 — Class Intervals, Step Deviation (Intermediate)

Find SD using Step Deviation Method (i = 10, A = 35):

Step 1: Compute mid-values and step deviations

ClassfMid (m)d=m−35d′=d/10fd′fd′²
5−15410−25−2.5−1025
15−25820−15−1.5−1218
25−351530−5−0.5−7.53.75
35−45204050.5105
45−551250151.51827
55−65660252.51537.5
N=65Σfd′=13.5Σfd′²=116.25

Step 2: Apply the step deviation formula

σ = i × √[ Σfd′²/N − (Σfd′/N)² ] = 10 × √[ 116.25/65 − (13.5/65)² ] = 10 × √[ 1.788 − 0.043 ] = 10 × √1.745 = 10 × 1.321
σ ≈ 13.21

6. Advanced Problems

Problem 5 — Combined Standard Deviation

Two groups have the following data. Find the combined SD:

 Group AGroup B
Number (n)4060
Mean (X̄)3040
Std Deviation (σ)810

Step 1: Find Combined Mean

X̄₁₂ = (n₁X̄₁ + n₂X̄₂) / (n₁ + n₂) = (40×30 + 60×40) / (40+60) = (1200+2400)/100 = 3600/100
Combined Mean = 36

Step 2: Compute d₁ and d₂

d₁ = X̄₁ − X̄₁₂ = 30 − 36 = −6 d₂ = X̄₂ − X̄₁₂ = 40 − 36 = 4

Step 3: Apply Combined SD Formula

σ₁₂ = √[ (n₁(σ₁²+d₁²) + n₂(σ₂²+d₂²)) / (n₁+n₂) ] = √[ (40(64+36) + 60(100+16)) / 100 ] = √[ (4000 + 6960) / 100 ] = √109.6
Combined SD ≈ 10.47

Problem 6 — Coefficient of Variation (CV)

A factory has two machines. Compare their consistency:

 Machine AMachine B
Mean Output (units)200250
Standard Deviation1625

Step 1: Calculate CV for each machine

CV = (σ / X̄) × 100 CV of Machine A = (16 / 200) × 100 = 8% CV of Machine B = (25 / 250) × 100 = 10%
Machine A is MORE CONSISTENT (Lower CV = 8% < 10%)

Problem 7 — Missing Frequency + SD (Pro Level)

In the following distribution, mean = 32 and total N = 100. Find the missing frequencies and then compute SD:

Wages (₹)Frequency (f)Mid (m)
10−201215
20−30f₁25
30−40f₂35
40−502045
50−60855

Step 1: Set up frequency equation

12 + f₁ + f₂ + 20 + 8 = 100 f₁ + f₂ = 60  … (Equation 1)

Step 2: Set up mean equation (mean = 32)

Σfm / N = 32 (12×15 + f₁×25 + f₂×35 + 20×45 + 8×55) / 100 = 32 1520 + 25f₁ + 35f₂ = 3200 25f₁ + 35f₂ = 1680  … (Equation 2)

Step 3: Solve simultaneous equations

From Eq.1: f₁ = 60 − f₂ 25(60 − f₂) + 35f₂ = 1680 1500 − 25f₂ + 35f₂ = 1680 10f₂ = 180 → f₂ = 18, f₁ = 42
f₁ = 42,  f₂ = 18

Step 4: Compute SD using Step Deviation (A = 35, i = 10)

Classfmd=m−35d′=d/10fd′fd′²
10−201215−20−2−2448
20−304225−10−1−4242
30−4018350000
40−5020451012020
50−608552021632
100Σfd′=−30Σfd′²=142

Step 5: Apply formula

σ = 10 × √[ 142/100 − (−30/100)² ] = 10 × √[ 1.42 − 0.09 ] = 10 × √1.33 = 10 × 1.153
σ ≈ 11.53

7. Key Properties of Standard Deviation

•  It is always non-negative (σ ≥ 0). SD = 0 means all values are identical.

•  It is expressed in the SAME UNITS as the original data.

•  Adding/subtracting a constant to all values does NOT change σ.

•  Multiplying all values by a constant k multiplies σ by |k|.

•  Among all measures of dispersion, SD is least affected by sampling fluctuations.

•  SD is used in computing CV, Pearson’s Coefficient, and Normal Distribution.

7.1 Empirical Rule (Normal Distribution)

Range% of data coveredRule
X̄ ± 1σ68.27%~68% Rule
X̄ ± 2σ95.45%~95% Rule
X̄ ± 3σ99.73%~99.7% Rule

8. Comparison — All Dispersion Measures

FeatureRangeMean Dev.SDVariance
Uses all values?NoYesYesYes
Algebraic signs?N/AIgnoredSquaredSquared
Same unit as data?YesYesYesNo
Best for inference?NoNoYesNo

9. Formula Quick Reference

Individual (Direct): 

 σ = √[Σ(X−X̄)² / N]

Individual (Shortcut): 

 σ = √[Σd²/N − (Σd/N)²]

Discrete (Shortcut): 

  σ = √[Σfd²/N − (Σfd/N)²]

Step Deviation:

 σ = i×√[Σfd′²/N − (Σfd′/N)²]

Coefficient of Variation:  CV = (σ/X̄) × 100

 CV = (σ/X̄) × 100

Combined SD: 

  σ₁₂ = √[(n₁(σ₁²+d₁²)+n₂(σ₂²+d₂²))/(n₁+n₂)]

10. Exam Strategy & Common Mistakes

Common MistakeCorrect Approach
Using mid-values wrong in CIAlways compute m = (Lower + Upper) / 2
Forgetting to square d in Σd²Double check: fd² column vs fd column
Wrong N (using n of X not Σf)N = Σf for grouped data always
Not multiplying by i at endStep deviation always needs × i final step

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top