Analyst Dojo
Lesson 3 of 6 6–9% of the exam

You are reading the 2026 curriculum (exams up to November 2026). Sitting in February 2027 or later? Go to the 2027 Quantitative Methods guide.

Range, mean absolute deviation, variance and standard deviation

Range is the maximum minus the minimum. Mean absolute deviation is the average distance from the mean. Sample variance averages the squared deviations using n − 1, and the standard deviation is its square root, in the same units as the returns. Standard deviation is the exam's default measure of risk.

6 min cram, 24 min full read. Based on the 2026 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 3. This is the 2026 version of the lesson. Sitting in February 2027 or later? Read the updated 2027 version.

Tailor this to you: take the self-assessment

Before this: Mean, median, mode and what outliers do to them

On the exam

  • Calculate, interpret, and evaluate measures of dispersion to address an investment problem

Calculate, interpret and evaluate the range, mean absolute deviation, sample variance and sample standard deviation. Expect a short data set where dividing by n instead of n − 1 is an answer option.

How deeply to learn each part
Know the idea
Understand it in general. It frames other topics, but you will not calculate with it.
Use it
Understand it well enough to solve a question with it. Recognize when it applies.
Memorize
Learn it by heart. The exam will not give it to you.

You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.

You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.

Cram mode: the one-screen version of this lesson. Switch to Full for the explanations, worked examples and interactives.

What does dispersion measure?

The mean says where returns are centered. Dispersion says how far they stray from it, and for an investor that is the starting point for risk. The measures below are absolute dispersion : they are expressed in the units of the data, either percent or percent squared.

Measures of absolute dispersion
Dispersionhow far returns spread around the center
  • Range Use it max − min, units: %
    • Weakness uses only two values
  • Mean absolute deviation Use it average of |X − mean|, units: %
    • Weakness absolute values are awkward in later maths
  • Variance Memorize Σ(X − mean)² ÷ (n − 1), units: %²
    • Weakness squared units, hard to read
  • Standard deviation Memorize √variance, units: %
    • Weakness treats up and down moves alike

How do the range and the mean absolute deviation work?

The range is the largest value minus the smallest. It is quick, but it ignores every observation in between.

Range Use it
Range=Xmax⁡−Xmin⁡\text{Range} = X_{\max} - X_{\min}

The mean absolute deviation (MAD) is the average distance of the observations from the mean, ignoring direction.

Mean absolute deviation Use it
MAD=∑i=1n∣Xi−Xˉ∣nMAD = \frac{\sum_{i=1}^{n} |X_i - \bar{X}|}{n}

How do you calculate sample variance and standard deviation?

Square each deviation from the mean, add them up and divide by n − 1. That is the sample variance . Its square root is the sample standard deviation .

Sample variance Memorize
s2=∑i=1n(Xi−Xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (X_i - \bar{X})^2}{n - 1}
Sample standard deviation Memorize
s=s2s = \sqrt{s^2}

Why n − 1? The deviations are measured from a sample mean that was itself estimated from the same data. That uses up one of the degrees of freedom : once n − 1 deviations are known, the last is fixed. Dividing by n − 1 makes the sample variance an unbiased estimate of the population variance.

Rearrange itSample standard deviation: solve for s, the sum of squares or n
The question asks for
The squared deviations of 5 returns from their mean add up to 144 (in %²). The sample standard deviation is closest to:

√(144 ÷ 4) = √36 = 6.00%

Sample standard deviation, s6.00%

On your calculator
  1. 144÷(5−1)=the sample variance
  2. √xthe standard deviation

√x square root

  1. 144ENTER5ENTER1−÷the sample variance
  2. g√xthe standard deviation

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

InteractiveDeviations, squared: where variance comes from

Try this 0 of 3

  • Switch the divisor to n and compare the standard deviation
  • Keep the range at 16 but move the standard deviation 0.5 or more away from 6%
  • Push the standard deviation to 10% or more while the range stays 20 or less
−10%−5%0%5%10%15%20%Year 1+38Year 2−9−4Year 3+712Year 4−23Year 5+16

Drag the top of a bar, or focus it and use the arrow keys. The dashed orange line is the mean (5.00%); purple brackets are the deviations from it.

A square on each deviation: its area is the squared deviation

9+381−949+74−21+1→s² 36.00side s 6.00

The dashed square has area Σ ÷ 4 = the variance, so its side is the standard deviation.

Divide the sum of squares by

Range16
Mean absolute deviation4.40%
Variance (÷ n − 1)36.00 (%²)
Standard deviation (÷ n − 1)6.00%

Mean 5.00%. Big misses count more: the largest deviation (−9) contributes 56% of the sum of squares.

Show working

Mean = (8 − 4 + 12 + 3 + 6) ÷ 5 = 5.00%.

Range = 12 − (−4) = 16 percentage points.

Deviations X − X̄: +3, −9, +7, −2, +1. MAD = (3 + 9 + 7 + 2 + 1) ÷ 5 = 4.40%.

Squared deviations: 9 + 81 + 49 + 4 + 1 = 144.

Variance = 144 ÷ (5 − 1) = 36.00 (%²). Standard deviation = √36.00 = 6.00%.

MAD (4.40) is never above s (6.00): squaring gives the large deviations more weight.

Standard deviation on your calculator
  1. 2NDDATA2NDCLR WORKclear old data
  2. 8ENTER↓↓X01
  3. 4+|-ENTER↓↓X02
  4. 12ENTER↓↓X03
  5. 3ENTER↓↓X04
  6. 6ENTER↓↓X05
  7. 2NDSTAT2NDSETrepeat [2ND] [SET] until 1-V shows
  8. ↓n = 5
  9. ↓X̄ = 5.00
  10. ↓Sx = 6.00, the sample standard deviation (n − 1)
  11. ↓σx = 5.37, divides by n
  12. ↑x²back to Sx and square it: 36.00, the sample variance
  13. 2NDQUIT

2ND second function (the shifted label above a key) · DATA data worksheet · CLR WORK clear the worksheet · ENTER enter (on the HP, puts the number on the stack) · +|- change sign · STAT statistics worksheet · SET change the setting · x² square · QUIT leave the worksheet

  1. fCLEAR Σ
  2. 8Σ+display 1
  3. 4CHSΣ+display 2
  4. 12Σ+display 3
  5. 3Σ+display 4
  6. 6Σ+display 5
  7. gx̄5.00, the mean
  8. gs6.00, the sample standard deviation (n − 1)
  9. ENTER×36.00, the sample variance

f gold shift key · CLEAR Σ clear the statistics registers · Σ+ add a data point · CHS change sign · g blue shift key · x̄ mean · s standard deviation · ENTER enter (on the HP, puts the number on the stack)

The HP 12C gives only the sample s. For the n version multiply by √((n − 1) ÷ n).

Variance squares the distances, so big misses count more.

Switch between n and n − 1 and watch the standard deviation change. The smaller the sample, the bigger the gap between them.

Exam tip On the BA II Plus, read Sx, not σx. On the HP 12C, [g] [s] is already the sample figure.

Which measure should you use?

MeasureUses all the dataUnitsWeakness
RangeNo (two values)%Driven by extremes
MADYes%Absolute values are awkward in later maths
VarianceYes%²Squared units, hard to read
Standard deviationYes%Treats up and down moves alike

Squaring gives large deviations more weight, which is why the standard deviation is never smaller than the MAD. The standard deviation is the exam’s default measure of risk, and it feeds portfolio variance and the Sharpe ratio later on.

Go deeper Population versus sample formulas

If you have every member of the group (a “population”), the mean is known rather than estimated and you divide by n. Returns over a few years are nearly always a sample of a longer process, so the exam uses n − 1 unless it says it is working with the whole population. As n grows the two answers converge: with 100 observations the difference is only about 0.5%.

Go deeper Chebyshev's inequality

For any distribution, at least 1−1/k21 - 1/k^2 of the observations lie within k standard deviations of the mean (for k above 1). With k = 2 that is at least 75%, and with k = 3 at least 89%. It is a distribution-free bound: it holds for skewed and fat-tailed data alike, but it is loose for bell-shaped data, where about 95% lie within two standard deviations.

Memorize this

MemorizeSample dispersion formulas

MeasureFormulaUnits
Rangemax − min%
MADΣ|X − X̄| ÷ n%
VarianceΣ(X − X̄)² ÷ (n − 1)%²
Std. deviation√variance%

Memory hook Only the variance and standard deviation divide by n − 1. MAD ≤ standard deviation always.

Know it cold Sample: divide by n − 1 (one degree of freedom is used up estimating the mean).

Measures of absolute dispersion
Dispersionhow far returns spread around the center
  • Range Use it max − min, units: %
    • Weakness uses only two values
  • Mean absolute deviation Use it average of |X − mean|, units: %
    • Weakness absolute values are awkward in later maths
  • Variance Memorize Σ(X − mean)² ÷ (n − 1), units: %²
    • Weakness squared units, hard to read
  • Standard deviation Memorize √variance, units: %
    • Weakness treats up and down moves alike
Range Use it
Range=Xmax⁡−Xmin⁡\text{Range} = X_{\max} - X_{\min}
Quick example

Returns of 4%, −2%, 9% and 1%. Range = 9 − (−2) = 11 percentage points.

On your calculator
  1. 9−2+|-= 11

+|- change sign

  1. 9ENTER2CHS− 11

ENTER enter (on the HP, puts the number on the stack) · CHS change sign

Mean absolute deviation Use it
MAD=∑i=1n∣Xi−Xˉ∣nMAD = \frac{\sum_{i=1}^{n} |X_i - \bar{X}|}{n}
Quick example

Returns of 5%, −3%, 9% and 1% have mean 3. Distances 2, 6, 6, 2 add to 16, and 16 ÷ 4 = 4.0%.

On your calculator
  1. 2+6+6+2=÷4= 4
  1. 2ENTER6+6+2+4÷ 4

ENTER enter (on the HP, puts the number on the stack)

Sample variance Memorize
s2=∑i=1n(Xi−Xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (X_i - \bar{X})^2}{n - 1}
Quick example

Squared deviations of 4 returns add to 80. 80 ÷ (4 − 1) = 26.67 (%²).

On your calculator
  1. 80÷(4−1)= 26.67
  1. 80ENTER4ENTER1−÷ 26.67

ENTER enter (on the HP, puts the number on the stack)

Sample standard deviation Memorize
s=s2s = \sqrt{s^2}
Quick example

Variance 26.67 (%²). √26.67 = 5.16%.

On your calculator
  1. 26.67√x 5.16

√x square root

  1. 26.67g√x 5.16

g blue shift key · √x square root

How it is asked

  1. Sample standard deviation of a few returns

    Returns 5%, −3%, 9%, 1%. Sample standard deviation?

    Mean 3, squares 4 + 36 + 36 + 4 = 80, 80 ÷ 3 = 26.67, √ = 5.16%. Traps: 4.47% (÷ n), 4.00% (MAD).

  2. Variance or standard deviation?

    The question asks for the standard deviation and an option shows the variance.

    Take the square root. Variance is in %², so a bare variance is the trap.

  3. Drawback of the range

    Main drawback of the range as a measure of dispersion?

    It uses only the two most extreme values.

Exam traps

  • Dividing by n for a sample. Use n − 1 for the sample variance and standard deviation.
  • Reporting the variance when the question asks for the standard deviation (the units are %²).
  • Dropping the absolute value signs in MAD, so that deviations cancel to zero.
  • Using the population formula (÷ n) because the calculator shows two standard deviations. Read Sx, not σx.

Checkpoint

4 exam-style questions. About 90 seconds each.

  1. 1Four monthly returns are 5%, −3%, 9% and 1%. The sample standard deviation is closest to:

  2. 2Compared with the standard deviation of the same data, the mean absolute deviation is most likely:

  3. 3The main drawback of the range as a measure of dispersion is that it:

  4. 4The squared deviations of seven monthly returns from their sample mean add up to 96 (%²). The sample standard deviation is closest to:

Key takeaways

  • s² = Σ(X − X̄)² ÷ (n − 1) and s = √s².
  • MAD averages absolute deviations and is never above s.
  • The standard deviation is in the same units as the returns, so it is the one to quote.
  • Range uses only two observations, so it says little about the rest.
Range Use it
Range=Xmax⁡−Xmin⁡\text{Range} = X_{\max} - X_{\min}
Quick example

Returns of 4%, −2%, 9% and 1%. Range = 9 − (−2) = 11 percentage points.

On your calculator
  1. 9−2+|-= 11

+|- change sign

  1. 9ENTER2CHS− 11

ENTER enter (on the HP, puts the number on the stack) · CHS change sign

Mean absolute deviation Use it
MAD=∑i=1n∣Xi−Xˉ∣nMAD = \frac{\sum_{i=1}^{n} |X_i - \bar{X}|}{n}
Quick example

Returns of 5%, −3%, 9% and 1% have mean 3. Distances 2, 6, 6, 2 add to 16, and 16 ÷ 4 = 4.0%.

On your calculator
  1. 2+6+6+2=÷4= 4
  1. 2ENTER6+6+2+4÷ 4

ENTER enter (on the HP, puts the number on the stack)

Sample variance Memorize
s2=∑i=1n(Xi−Xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (X_i - \bar{X})^2}{n - 1}
Quick example

Squared deviations of 4 returns add to 80. 80 ÷ (4 − 1) = 26.67 (%²).

On your calculator
  1. 80÷(4−1)= 26.67
  1. 80ENTER4ENTER1−÷ 26.67

ENTER enter (on the HP, puts the number on the stack)

Sample standard deviation Memorize
s=s2s = \sqrt{s^2}
Quick example

Variance 26.67 (%²). √26.67 = 5.16%.

On your calculator
  1. 26.67√x 5.16

√x square root

  1. 26.67g√x 5.16

g blue shift key · √x square root

Questions about this lesson?

Where this comes back

Questions candidates ask

Why do we divide by n − 1 for sample variance?

The deviations are measured from the sample mean, which was itself estimated from the same data. That uses up one degree of freedom, and the deviations from the sample mean come out slightly too small. Dividing by n − 1 corrects this, making the sample variance an unbiased estimate of the population variance.

What is the difference between variance and standard deviation?

The standard deviation is the square root of the variance. Variance is in squared units (%²), which are hard to interpret. The standard deviation is in the same units as the returns, so a 6% standard deviation reads directly as a typical distance from the mean.

What is mean absolute deviation?

The average of the distances between each observation and the mean, ignoring sign: Σ|X − X̄| ÷ n. It is easy to read, but absolute values are awkward in later formulas, so the standard deviation is used instead. The MAD is never larger than the standard deviation.

Spotted an error? Tell us and we will fix it.

  1. Mean, median, mode and what outliers do to them
  2. Quartiles, percentiles and box plots
  3. Range, mean absolute deviation, variance and standard deviation
  4. Downside deviation and coefficient of variation
  5. Skewness and kurtosis
  6. Covariance and correlation

Ask Sensei Listen instead

Questions on Range, mean absolute deviation, variance and standard deviation

Learn with Sensei, out loud The voice tutor, in early access

Sensei teaches the lesson aloud and stops when you interrupt: "wait, why is the geometric mean lower?" It answers with the lesson's own example, then quizzes you by voice. Every account can try Sensei on one module, with one voice question.

USD 149 a month founding price (regular USD 199), kept for as long as you stay subscribed. Everything in Plus included.

In active development and improving every day. Send feedback · Plans and pricing

Analyst Dojo Plus

Your free review list holds 10 items.

Plus keeps everything you save, for USD 19 a month. To make room on the free plan, remove something from your review list.

See Plus

Lessons, checkpoints and the lesson questions in practice stay free. Compare plans