Analyst Dojo
Lesson 2 of 7 11–14% of the exam

Quartiles, percentiles and box plots

Quantiles cut sorted data into equal parts: quartiles four, quintiles five, deciles ten, percentiles 100. The interquartile range (IQR), the third quartile minus the first, holds the middle 50% and is the box of a box and whisker plot. Points beyond 1.5 × IQR are flagged as outliers.

6 min cram, 24 min full read. Based on the 2027 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 5. Sitting in November 2026? The 2026 version of this lesson is still available.

Tailor this to you: take the self-assessment

Watch the lesson 17 min

The video follows this page: the same examples, then the checkpoint questions.

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

On the exam

  • Calculate, interpret, and evaluate various measures of (1) central tendency and location and (2) dispersion

Calculate, interpret and evaluate quantiles. Expect to find a quartile, quintile, decile or percentile from sorted data or a cumulative frequency table, compute the interquartile range and an outlier fence, and read a box and whisker plot.

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 is a quantile?

A quantile is the value at or below which a stated fraction of the data lies. The 30th percentile is the value with 30% of the observations at or below it.

Quantiles are measures of location : they say where a value sits in the sorted data, not where the data are centered. Quartiles make four groups, quintiles five, deciles ten and percentiles one hundred. The second quartile, the 50th percentile and the median are the same value.

Quantiles: cutting sorted data into equal parts
Quantilea measure of location; a cut point in sorted data
  • Median Memorize 2 equal parts, 1 cut point (the 50th percentile)
  • Quartiles Memorize 4 parts, 3 cut points: Q1, Q2 (median), Q3
    • Interquartile range Q3 − Q1, the spread of the middle half
  • Quintiles Use it 5 parts, 4 cut points (20th, 40th, 60th, 80th percentiles)
  • Deciles Use it 10 parts, 9 cut points
  • Percentiles Memorize 100 parts, 99 cut points
  • Labels by field Know the idea fund rankings: first quartile = best; size deciles: first = smallest

How do you read quantiles from a frequency table?

Use it

Find the first bin whose cumulative percentage reaches the percentile you want. That bin holds it.

A cumulative frequency table lists each bin with a running total of the share of observations at or below its upper edge.

How do you place a percentile by hand?

Software does this for you, and the reading itself uses spreadsheet functions. By hand, one common method sorts the data, finds a position and interpolates. It is a convention, not the only one, so a question that needs a position will tell you which method to use.

The position of the y-th percentile in a list of n sorted values, by the (n + 1) method, is:

Percentile position, (n + 1) method Use it
Ly=(n+1) y100L_y = (n + 1)\,\frac{y}{100}

L rarely lands on a whole number. When it falls between two positions, interpolate:

Interpolated percentile Use it
Xy=Xlower+(L−lower) (Xupper−Xlower)X_y = X_{\text{lower}} + (L - \text{lower})\,(X_{\text{upper}} - X_{\text{lower}})

The (n + 1) method from every side:

Rearrange itPercentile position, (n + 1) method: solve for the position, the percentile or the sample size
The question asks for
A sorted list holds 12 returns. Using L = (n + 1) × y ÷ 100, the position of the 25th percentile is closest to:

(12 + 1) × 0.25 = 3.25

Position, L3.25

On your calculator
  1. 12+1=×0.25=the position, counted from the smallest value
  1. 12ENTER1+0.25×the position, counted from the smallest value

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

InteractiveFind the position, then interpolate

Try this 0 of 3

  • Find a percentile where the two methods differ by more than 1 percentage point
  • Put the median in the frequency table
  • Drag the largest return past the upper fence so it becomes an outlier

Twelve monthly returns, sorted (%), with their positions

  1. pos 1−6.2
  2. pos 2−3.1
  3. pos 3−1.8
  4. pos 4−0.4
  5. pos 50.7
  6. pos 61.5
  7. pos 72.2
  8. pos 82.9
  9. pos 93.6
  10. pos 104.8
  11. pos 116.0
  12. pos 129.5

L = 3.25: between positions 3 and 4 (outlined)

−1.45%pos 3: −1.8pos 4: −0.425% of the way

Box and whisker plot ((n + 1) method quartiles, fences at 1.5 × IQR)

−10%0%10%20%lower fence −10.375upper fence 13.425IQR 5.959.5

Drag the orange dot (the largest return), or focus it and use the arrow keys. A hollow dot is an outlier.

Method

Position L (n + 1)3.25
Q1, (n + 1) method−1.45%
Q1, .INC−0.75%
Q1 · median · Q3−1.45 · 1.85 · 4.50
IQR = Q3 − Q15.95
Upper fence13.425%

L = 3.25 sits 25% of the way from position 3 to position 4. The other method gives −0.75%, 0.70 points higher.

Show working

(n + 1) method (= .EXC): L = (n + 1) × y ÷ 100 = 13 × 25 ÷ 100 = 3.25.

Value = X3 + (L − 3) × (X4 − X3) = −1.8 + 0.25 × (−0.4 − (−1.8)) = −1.45%.

Box: Q1 (L = 3.25) = −1.45%, median (L = 6.5) = 1.85%, Q3 (L = 9.75) = 4.50%. Interquartile range (IQR) = 4.50 − (−1.45) = 5.95.

Fences: −1.45 − 1.5 × 5.95 = −10.375%; 4.50 + 1.5 × 5.95 = 13.425%. Every return lies inside, so there are no outliers by this rule.

The (n + 1) method matches a spreadsheet's PERCENTILE.EXC and QUARTILE.EXC; PERCENTILE.INC and QUARTILE.INC (and Google Sheets' PERCENTILE and QUARTILE) place the y-th percentile at 1 + (n − 1) × y ÷ 100. A question that needs a position states its method.

Percentile on your calculator, (n + 1) method
  1. 13×25÷100=L = 3.25
  2. 0.4+|-+1.8=gap 1.40
  3. ×0.25=0.35
  4. −1.8=−1.45%

+|- change sign

  1. 13ENTER25×100÷L = 3.25
  2. 0.4CHSENTER1.8CHS−gap 1.40
  3. 0.25×0.35
  4. 1.8CHS+−1.45%

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

Quantiles come from position in sorted data or from a cumulative table; the IQR is the middle half.

Move the Percentile y slider and watch the position move. Position first, then interpolate.

Exam tip Check the position before you interpolate. If L comes out as exactly 16.0, the answer is the 16th value and there is nothing to interpolate.

In a spreadsheet

Know the idea

Use QUARTILE.INC(range, 1) and QUARTILE.INC(range, 3) for Q1 and Q3. PERCENTILE.INC(range, K) takes K as a fraction: 0.2 for the first quintile cut, 0.4 for the second, 0.3 for the 30th percentile. The .INC functions include the smallest and largest values as the 0th and 100th percentiles; .EXC excludes them. Google Sheets’ QUARTILE and PERCENTILE work like .INC.

What are the interquartile range and a box plot?

The interquartile range (IQR) is the distance from the first to the third quartile. It covers the middle half of the data, so extreme values cannot move it.

Interquartile range Memorize
IQR=Q3−Q1IQR = Q_3 - Q_1

A box and whisker plot draws that information. The box runs from Q1 to Q3 with a line at the median, and the whiskers reach out toward the extremes.

Parts of a box and whisker plot
Box and whisker plota picture of the quartiles
  • Box Memorize from Q1 to Q3; its height is the IQR
  • Line inside the box the median (Q2)
  • Whiskers to the furthest points inside the fences (or to the min and max)
  • Fences Use it Q1 − 1.5 IQR and Q3 + 1.5 IQR: a convention
    • Points beyond a fence flagged as outliers and drawn as dots

In the common version the outlier fences sit 1.5 IQR beyond the box. Any point past a fence is flagged as an outlier.

Outlier fences Memorize
FU=Q3+1.5 IQR,FL=Q1−1.5 IQRF_U = Q_3 + 1.5\,IQR, \qquad F_L = Q_1 - 1.5\,IQR
Rearrange itBox plot fences: solve for the IQR or either fence
The question asks for
A return series has Q1 = -0.90% and Q3 = 2.70%. The interquartile range, in percentage points, is closest to:

2.70% − (-0.90%) = 3.6 percentage points

Interquartile range3.60%

On your calculator
  1. 2.7−0.9+|-=

+|- change sign

  1. 2.7ENTER0.9CHS−

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

The box can mark the median or the mean. Whiskers end at the most extreme points still inside the fences; anything beyond is drawn as a dot. Some charts simply run the whiskers to the minimum and maximum. The 1.5 × IQR fence is a practical convention rather than a law, so treat flagged points as candidates to examine, not as errors.

Where are these used?

  • Fund rankings. Managers are ranked by quintile or decile of past return.
  • Factor investing. Stocks are sorted into decile buckets on a characteristic and the top and bottom buckets are compared.
  • Risk. The 5th percentile of a return distribution is a loss figure that a risk manager reads as a “bad day” threshold.

Which end is “first” depends on the field. In a spreadsheet the 0th percentile is the minimum and the 100th the maximum. In manager rankings the first quartile holds the best returns and the fourth the worst. In research on company size the first decile usually holds the smallest companies. Read the convention before you read the number.

Go deeper Why spreadsheets can disagree with the hand method

The (n + 1) method gives the same answers as Excel’s .EXC functions. The .INC functions place the y-th percentile at position 1 + (n − 1) × y ÷ 100 instead. For the 12 returns above, .INC gives Q1 = −0.75% and Q3 = 3.90% (IQR 4.65) against −1.45% and 4.50% (IQR 5.95) by the (n + 1) method; the median is 1.85% either way. On small samples the methods differ noticeably; on large ones they converge.

Go deeper Percentile ranks in manager selection

A fund’s “percentile rank” tells you the share of peers it beat. Being in the 80th percentile of its peer group over three years means it beat about 80% of them. Ranks are easy to compare across groups, but they hide how far apart the funds are: the gap between the 80th and 90th percentile can be tiny or huge depending on the group.

Memorize this

MemorizeQuantile names

NamePartsCut points
Median21
Quartile43
Quintile54
Decile109
Percentile10099

Memory hook Cut points are always one fewer than the parts: 4 parts, 3 cuts.

Know it cold Quantile = value at or below which that share of the data lies. IQR=Q3−Q1IQR = Q_3 - Q_1, the middle 50%. Fences: Q1−1.5 IQRQ_1 - 1.5\,IQR and Q3+1.5 IQRQ_3 + 1.5\,IQR. Fund rankings: first quartile = best.

Quantiles: cutting sorted data into equal parts
Quantilea measure of location; a cut point in sorted data
  • Median Memorize 2 equal parts, 1 cut point (the 50th percentile)
  • Quartiles Memorize 4 parts, 3 cut points: Q1, Q2 (median), Q3
    • Interquartile range Q3 − Q1, the spread of the middle half
  • Quintiles Use it 5 parts, 4 cut points (20th, 40th, 60th, 80th percentiles)
  • Deciles Use it 10 parts, 9 cut points
  • Percentiles Memorize 100 parts, 99 cut points
  • Labels by field Know the idea fund rankings: first quartile = best; size deciles: first = smallest
Parts of a box and whisker plot
Box and whisker plota picture of the quartiles
  • Box Memorize from Q1 to Q3; its height is the IQR
  • Line inside the box the median (Q2)
  • Whiskers to the furthest points inside the fences (or to the min and max)
  • Fences Use it Q1 − 1.5 IQR and Q3 + 1.5 IQR: a convention
    • Points beyond a fence flagged as outliers and drawn as dots
Percentile position, (n + 1) method Use it
Ly=(n+1) y100L_y = (n + 1)\,\frac{y}{100}
Quick example

19 sorted returns, 80th percentile, (n + 1) method. L = (19 + 1) × 0.80 = 16, so the 16th value exactly.

On your calculator
  1. 19+1=×0.8= 16
  1. 19ENTER1+0.8× 16

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

Interpolated percentile Use it
Xy=Xlower+(L−lower) (Xupper−Xlower)X_y = X_{\text{lower}} + (L - \text{lower})\,(X_{\text{upper}} - X_{\text{lower}})
Quick example

L = 12.6 sits between the 12th value, 3.1, and the 13th, 3.6. 3.1 + 0.6 × (3.6 − 3.1) = 3.40%.

On your calculator
  1. 3.6−3.1=×0.6+3.1= 3.4
  1. 3.6ENTER3.1−0.6×3.1+ 3.4

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

Interquartile range Memorize
IQR=Q3−Q1IQR = Q_3 - Q_1
Quick example

Q1 = −0.8% and Q3 = 2.2%. IQR = 2.2 − (−0.8) = 3.0 percentage points.

On your calculator
  1. 2.2−0.8+|-= 3

+|- change sign

  1. 2.2ENTER0.8CHS− 3

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

Outlier fences Memorize
FU=Q3+1.5 IQR,FL=Q1−1.5 IQRF_U = Q_3 + 1.5\,IQR, \qquad F_L = Q_1 - 1.5\,IQR
Quick example

Q1 = −0.6% and Q3 = 2.4%, so IQR = 3.0. Upper fence 2.4 + 1.5 × 3.0 = 6.90%; lower fence −0.6 − 4.5 = −5.10%.

On your calculator
  1. 2.4−0.6+|-=×1.5+2.4= 6.9

+|- change sign

  1. 2.4ENTER0.6CHS−1.5×2.4+ 6.9

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

How it is asked

  1. Which bin holds it

    Cumulative shares by bin: 61.5%, 79.0%, 84.5%, 92.0%. Which bin holds the 85th percentile?

    The first bin to reach 85%: the one ending at 92.0%. Trap: the 84.5% bin, which stops just short.

  2. Position with a stated method

    17 sorted returns, 12th 3.1%, 13th 3.6%, (n + 1) method, 70th percentile?

    L = 18 × 0.70 = 12.6 → 3.1 + 0.6 × 0.5 = 3.40%. Trap: 17 × 0.7.

  3. Upper fence

    Q1 = −0.9% and Q3 = 2.7%. Upper fence using 1.5 × IQR?

    IQR = 3.6, so 2.7 + 5.4 = 8.10%. Trap: adding one IQR (6.30%).

  4. What the box shows

    In a box and whisker plot, the height of the box represents…

    The interquartile range, not the range or the standard deviation.

Exam traps

  • Stopping one bin early in a cumulative table: the percentile sits in the first bin whose cumulative share reaches it.
  • Reading 'first quartile' in a fund ranking as the worst returns. In rankings, first means best.
  • Reading the whisker length as the interquartile range. The IQR is the box.
  • Forgetting to sort first, or counting positions from the largest value.

Checkpoint

5 exam-style questions. About 90 seconds each.

  1. 1A sorted list of 15 returns has 1.2% in the 6th position and 1.7% in the 7th. Using L = (n + 1) × y ÷ 100, the 40th percentile is closest to:

  2. 2In a box and whisker plot, the height of the box represents the:

  3. 3A data set has Q1 = −0.5% and Q3 = 3.5%. Using the 1.5 × IQR rule, the upper fence is closest to:

  4. 4A table groups the one-year returns of 400 funds into bins. The cumulative share of funds is 74.0% up to 10%, 89.5% up to 15%, 96.5% up to 20% and 100% above 20%. The 90th percentile of fund returns lies in the bin:

  5. 5A consultant reports that a manager's five-year return ranks in the first quartile of its peer group. The manager's return was most likely:

Key takeaways

  • A quantile is the value at or below which a stated share of the data lies; quartiles 4 parts, quintiles 5, deciles 10, percentiles 100.
  • In a frequency table, the percentile sits in the first bin whose cumulative share reaches it.
  • IQR = Q3 − Q1 is the middle 50% and the height of the box.
  • Fences 1.5 × IQR beyond the box flag outliers; whiskers stop at the last point inside.
Percentile position, (n + 1) method Use it
Ly=(n+1) y100L_y = (n + 1)\,\frac{y}{100}
Quick example

19 sorted returns, 80th percentile, (n + 1) method. L = (19 + 1) × 0.80 = 16, so the 16th value exactly.

On your calculator
  1. 19+1=×0.8= 16
  1. 19ENTER1+0.8× 16

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

Interpolated percentile Use it
Xy=Xlower+(L−lower) (Xupper−Xlower)X_y = X_{\text{lower}} + (L - \text{lower})\,(X_{\text{upper}} - X_{\text{lower}})
Quick example

L = 12.6 sits between the 12th value, 3.1, and the 13th, 3.6. 3.1 + 0.6 × (3.6 − 3.1) = 3.40%.

On your calculator
  1. 3.6−3.1=×0.6+3.1= 3.4
  1. 3.6ENTER3.1−0.6×3.1+ 3.4

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

Interquartile range Memorize
IQR=Q3−Q1IQR = Q_3 - Q_1
Quick example

Q1 = −0.8% and Q3 = 2.2%. IQR = 2.2 − (−0.8) = 3.0 percentage points.

On your calculator
  1. 2.2−0.8+|-= 3

+|- change sign

  1. 2.2ENTER0.8CHS− 3

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

Outlier fences Memorize
FU=Q3+1.5 IQR,FL=Q1−1.5 IQRF_U = Q_3 + 1.5\,IQR, \qquad F_L = Q_1 - 1.5\,IQR
Quick example

Q1 = −0.6% and Q3 = 2.4%, so IQR = 3.0. Upper fence 2.4 + 1.5 × 3.0 = 6.90%; lower fence −0.6 − 4.5 = −5.10%.

On your calculator
  1. 2.4−0.6+|-=×1.5+2.4= 6.9

+|- change sign

  1. 2.4ENTER0.6CHS−1.5×2.4+ 6.9

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

All Quantitative Methods formulas, every lesson

Practice exam-style questions on Statistical Characteristics of Asset Returns

Questions about this lesson?

Where this comes back

Questions candidates ask

How do you find a percentile for CFA Level 1?

Sort the data. From a table, take the first bin whose cumulative share reaches the percentile. In a spreadsheet, use PERCENTILE.INC(range, y ÷ 100). By hand, one common method puts the y-th percentile at position (n + 1) × y ÷ 100 and interpolates. Methods differ slightly on small samples.

What is the interquartile range?

The distance between the third and first quartiles, Q3 − Q1. It measures the spread of the middle half of the data and ignores the extremes. It is the height of the box in a box and whisker plot, and the basis for the 1.5 × IQR outlier fences.

How do you read a box and whisker plot?

The box runs from Q1 to Q3 with a line at the median. The whiskers extend to the fences or to the extreme values. In the common version the fences sit 1.5 IQR beyond the box, the whiskers stop at the furthest points inside the fences, and points past the fences are drawn as dots and treated as outliers.

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. Semi-deviation, downside deviation and the coefficient of variation
  5. Skewness and kurtosis
  6. Covariance and correlation
  7. Scaling volatility over time: data frequency and the root-of-time law

Ask Sensei Listen instead

Questions on Quartiles, percentiles and box plots

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