01 / 21

Percentiles &
Quartiles

Master the tools that describe position within a data set: learn to compute, interpret, and apply percentiles and quartiles in real-world statistics.

College Statistics

What Is a Percentile?

A percentile is a value below which a given percentage of observations in a data set falls. If your score is at the \(k\)-th percentile, then \(k\%\) of the data values are less than your score.

What Are Quartiles?

Quartiles divide an ordered data set into four equal parts. They are special percentiles:

\(Q_1\)
25th percentile: lower quartile. 25% of data falls below.
\(Q_2\)
50th percentile: the median. Splits data in half.
\(Q_3\)
75th percentile: upper quartile. 75% of data falls below.

Visualising Quartiles on a Number Line

Min
\(Q_1\)
\(Q_2\)
\(Q_3\)
Max 25% 25% 25% 25%
IQR = \(Q_3 - Q_1\)

Computing the Percentile Rank

To find the percentile rank of a value \(x\) in a data set of \(n\) observations:

Some textbooks use "below or equal to" in the numerator. Always check which convention your course follows. This lesson uses "below" for consistency.

Finding \(P_k\): The Locator Method

To find the value at the \(k\)-th percentile, use the locator (or index):

1
Sort the data in ascending order.
2
Compute \( L = \frac{k}{100} \cdot n \).
3
If \(L\) is not a whole number: round up to the next integer. \(P_k\) is the value at that position.
4
If \(L\) is a whole number: \(P_k\) is the average of the values at positions \(L\) and \(L+1\).

Percentile Rank vs Percentile Value

Percentile Rank Percentile Value
Question What % is below this value? What value sits at the \(k\)-th %?
Input A data value \(x\) A percentage \(k\)
Output A percentage (0 to 100) A data value
Formula \(\frac{\text{values below } x}{n} \times 100\) Use locator \( L = \frac{k}{100} \cdot n \)

Finding Quartiles with the Locator Method

To find the quartiles, simply use the same locator method for specific percentiles. This ensures a consistent approach for all calculations.

Find \(Q_1\)
Set \(k=25\) and compute the locator \(L = \frac{25}{100} \cdot n\).
Find \(Q_2\)
Set \(k=50\) and compute the locator \(L = \frac{50}{100} \cdot n\).
Find \(Q_3\)
Set \(k=75\) and compute the locator \(L = \frac{75}{100} \cdot n\).

Example 1: Quartiles using the Locator Method

Data set (\(n = 9\)): 3, 7, 8, 12, 14, 18, 21, 27, 35

3 7 8 12 14 18 21 27 35
\(Q_1 = 8\)
\(Q_2 = 14\)
\(Q_3 = 21\)
IQR = 21 - 8 = 13

Example 2: Quartiles for Even \(n\)

Data set (\(n = 8\)): 5, 11, 15, 19, 22, 28, 33, 40

5 11 15 19 22 28 33 40
\(Q_1\)
\(Q_2\)
\(Q_3\)
\(\frac{11+15}{2} = 13\)
\(\frac{19+22}{2} = 20.5\)
\(\frac{28+33}{2} = 30.5\)
IQR = 30.5 − 13 = 17.5

Example 3: Finding \(P_{30}\) with the Locator

Data (\(n = 12\), sorted): 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35

1
Compute the locator: \( L = \frac{30}{100} \times 12 = 3.6 \)
2
\(L = 3.6\) is not a whole number, so round up: position = 4.
3
The 4th value is 11. Therefore \( P_{30} = 11 \).

Example 4: When \(L\) Is a Whole Number

Same data (\(n = 12\)): 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35. Find \(P_{25}\).

1
Compute: \( L = \frac{25}{100} \times 12 = 3 \). This is a whole number.
2
Average positions 3 and 4: values are 8 and 11.
3
\( P_{25} = \frac{8 + 11}{2} = \) 9.5

Example 5: Percentile Rank of a Value

Data (\(n = 10\)): 4, 9, 13, 17, 21, 25, 30, 34, 38, 42. What is the percentile rank of 25?

1
Count values below 25: 4, 9, 13, 17, 21 → 5 values.
2
Apply formula: \( \frac{5}{10} \times 100 = \) 50
3
Conclusion: 25 is at the 50th percentile (the median).

Quartiles and the Box Plot

Min
\(Q_1\)
\(Q_2\)
\(Q_3\)
Max 25% 25% 25% 25% Five-Number Summary

Common Mistakes to Avoid

✕ Forgetting to Sort
Percentiles and quartiles require data in ascending order. Unsorted data gives wrong positions.
✕ Wrong Rounding Rule
When \(L\) is not whole, round up (ceiling), do not round to nearest. \(3.1\) becomes position 4, not 3.
✕ Confusing Rank and Value
"At the 80th percentile" is a value. "The percentile rank of 42" is a percentage. Do not swap them.

Quick-Reference Summary

Measure Percentile Equivalent Role
\(Q_1\) \(P_{25}\) Lower quartile
\(Q_2\) (Median) \(P_{50}\) Centre of data
\(Q_3\) \(P_{75}\) Upper quartile
IQR \(Q_3 - Q_1\) Spread of middle 50%
Percentile Rank \(\frac{\text{values below } x}{n} \times 100\) Position of a value
Locator \(L\) \(\frac{k}{100} \cdot n\) Find value at \(P_k\)

Question 1 of 5

For the sorted data set 2, 5, 8, 11, 14, 17, 20 (\(n = 7\)), what is \(Q_2\) (the median)?

Question 2 of 5

A data set has \(n = 20\) observations. Using the locator method, find the position for \(P_{40}\). What is \(L\)?

Question 3 of 5

If \(Q_1 = 12\) and \(Q_3 = 28\), what is the IQR?

Question 4 of 5

In a data set of \(n = 15\) values, 9 values are less than 72. What is the percentile rank of 72?

Question 5 of 5

Which of the following is always true about quartiles?