Statistics

Percentiles and Quartiles

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
💊
Nursing

Medication dosages, IV drip rates, vital monitoring

The mean and median tell you about the center of a dataset, but they don’t tell you where a specific value stands relative to all the others. Percentiles and quartiles answer a different question: What percentage of values fall below this point?

What Is a Percentile?

A percentile indicates the percentage of values in a dataset that fall at or below a given value.

  • If you score in the 90th percentile on a test, 90% of test-takers scored at or below your score.
  • The 50th percentile is the median — half the values are below it, half above.
  • A higher percentile means a higher relative position in the dataset.

Formula to find the percentile rank of a value:

Percentile Rank=Number of values below xTotal number of values×100\text{Percentile Rank} = \frac{\text{Number of values below } x}{\text{Total number of values}} \times 100

Example 1: Test Score Percentile

25 students took a test. Their scores, sorted in order:

52,58,61,63,65,67,68,70,71,72,74,75,76,78,79,80,82,84,85,87,89,91,93,95,9852, 58, 61, 63, 65, 67, 68, 70, 71, 72, 74, 75, 76, 78, 79, 80, 82, 84, 85, 87, 89, 91, 93, 95, 98

A student scored 84. What percentile is that?

Step 1: Count how many values are below 84.

Looking at the sorted list, the values below 84 are: 52, 58, 61, 63, 65, 67, 68, 70, 71, 72, 74, 75, 76, 78, 79, 80, 82. That’s 17 values.

Step 2: Apply the formula.

Percentile Rank=1725×100=68th percentile\text{Percentile Rank} = \frac{17}{25} \times 100 = 68\text{th percentile}

Answer: A score of 84 is at the 68th percentile — this student scored higher than 68% of the class.

Quartiles

Quartiles divide a sorted dataset into four equal parts. They are special percentiles:

QuartilePercentileMeaning
Q1Q_1 (First Quartile)25th25% of data falls below this value
Q2Q_2 (Second Quartile)50thThe median — 50% below
Q3Q_3 (Third Quartile)75th75% of data falls below this value

How to Find Quartiles

Step 1: Sort the data from smallest to largest.

Step 2: Find the median (Q2Q_2) — this splits the data into a lower half and an upper half.

Step 3: Find Q1Q_1 — the median of the lower half (values below Q2Q_2).

Step 4: Find Q3Q_3 — the median of the upper half (values above Q2Q_2).

Example 2: Finding Quartiles

Dataset (already sorted): 12,15,18,22,25,28,30,35,40,42,4812, 15, 18, 22, 25, 28, 30, 35, 40, 42, 48

There are 11 values.

Q2Q_2 (Median): The middle value is the 6th value.

Q2=28Q_2 = 28

Lower half (values below 28): 12,15,18,22,2512, 15, 18, 22, 25 (5 values)

Q1Q_1: The median of the lower half is the 3rd value.

Q1=18Q_1 = 18

Upper half (values above 28): 30,35,40,42,4830, 35, 40, 42, 48 (5 values)

Q3Q_3: The median of the upper half is the 3rd value.

Q3=40Q_3 = 40

The Five-Number Summary

The five-number summary provides a complete picture of how data is distributed:

StatisticValue from Example 2
Minimum12
Q1Q_118
Median (Q2Q_2)28
Q3Q_340
Maximum48

These five numbers are the foundation of a box plot (also called a box-and-whisker plot). The box spans from Q1Q_1 to Q3Q_3, a line inside the box marks the median, and whiskers extend to the minimum and maximum (or to the fences, if there are outliers).

Box Plot of the Five-Number Summary

10152025303540455012Min18Q128Median40Q348MaxIQR = 22

Interquartile Range (IQR)

The interquartile range measures the spread of the middle 50% of the data:

IQR=Q3Q1\text{IQR} = Q_3 - Q_1

From Example 2:

IQR=4018=22\text{IQR} = 40 - 18 = 22

The IQR is more resistant to outliers than the range (max minus min) because it ignores the extreme values at both ends.

Identifying Outliers with the IQR

A common rule for identifying outliers uses the IQR:

Lower fence=Q11.5×IQR\text{Lower fence} = Q_1 - 1.5 \times \text{IQR}

Upper fence=Q3+1.5×IQR\text{Upper fence} = Q_3 + 1.5 \times \text{IQR}

Any value below the lower fence or above the upper fence is considered an outlier.

Example 3: Detecting Outliers

Dataset (sorted): 3,15,18,22,25,28,30,35,40,42,853, 15, 18, 22, 25, 28, 30, 35, 40, 42, 85

Step 1: Find the quartiles. There are 11 values.

Q2=28(6th value)Q_2 = 28 \quad \text{(6th value)}

Lower half: 3,15,18,22,253, 15, 18, 22, 25 \Rightarrow Q1=18Q_1 = 18

Upper half: 30,35,40,42,8530, 35, 40, 42, 85 \Rightarrow Q3=40Q_3 = 40

Step 2: Calculate the IQR.

IQR=4018=22\text{IQR} = 40 - 18 = 22

Step 3: Calculate the fences.

Lower fence=181.5×22=1833=15\text{Lower fence} = 18 - 1.5 \times 22 = 18 - 33 = -15

Upper fence=40+1.5×22=40+33=73\text{Upper fence} = 40 + 1.5 \times 22 = 40 + 33 = 73

Step 4: Check for values outside the fences.

  • 33 is above 15-15not an outlier.
  • 8585 is above 7373outlier.

Answer: The value 85 is an outlier. The value 3, while the lowest, is within the fences and is not an outlier by this rule.

Box Plot with Outlier Detection

0102030405060708090Upper fence(73)85Outlier3Min18Q128Median40Q342

Real-World Application: Nursing — Growth Chart Percentiles

Pediatric nurses use percentile charts to track children’s growth. When a parent hears “your baby is in the 75th percentile for weight,” here is what that means:

A 6-month-old boy weighs 18.5 lbs. The growth chart data for 6-month-old boys shows:

PercentileWeight (lbs)
5th14.1
25th (Q1Q_1)15.9
50th (Median)17.2
75th (Q3Q_3)18.8
95th20.5

Interpretation: At 18.5 lbs, this baby falls just below the 75th percentile — approximately 75% of 6-month-old boys weigh less. This is a healthy weight.

Why percentiles matter more than raw values:

  • A baby consistently at the 75th percentile across checkups is growing normally.
  • A baby who drops from the 75th percentile to the 25th percentile over several visits is a concern — not because the 25th percentile is “bad,” but because a large shift in percentile indicates a change in growth pattern.
  • Percentiles are always relative to the reference population. The 50th percentile is not the “target” — consistent tracking along any percentile line indicates healthy growth.

Calculating the IQR for this data:

IQR=Q3Q1=18.815.9=2.9 lbs\text{IQR} = Q_3 - Q_1 = 18.8 - 15.9 = 2.9 \text{ lbs}

This tells us the middle 50% of 6-month-old boys weigh within a 2.9 lb range. A weight outside Q11.5×2.9=11.55Q_1 - 1.5 \times 2.9 = 11.55 lbs or Q3+1.5×2.9=23.15Q_3 + 1.5 \times 2.9 = 23.15 lbs would be flagged for further evaluation.

Percentile and Quartile Reference

TermDefinition
PercentileThe percentage of values that fall at or below a given value
Q1Q_1 (25th percentile)The median of the lower half of the data
Q2Q_2 (50th percentile)The median of the entire dataset
Q3Q_3 (75th percentile)The median of the upper half of the data
IQRQ3Q1Q_3 - Q_1; the spread of the middle 50%
Lower fenceQ11.5×IQRQ_1 - 1.5 \times \text{IQR}
Upper fenceQ3+1.5×IQRQ_3 + 1.5 \times \text{IQR}
OutlierAny value below the lower fence or above the upper fence

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Find Q1Q_1, Q2Q_2, Q3Q_3, and the IQR for this dataset: 4, 7, 10, 12, 15, 18, 21, 24, 28.

There are 9 values.

Q2Q_2 (median) = 15 (the 5th value)

Lower half: 4, 7, 10, 12. Q1=7+102=8.5Q_1 = \frac{7 + 10}{2} = 8.5

Upper half: 18, 21, 24, 28. Q3=21+242=22.5Q_3 = \frac{21 + 24}{2} = 22.5

IQR=22.58.5=14\text{IQR} = 22.5 - 8.5 = 14

Answer: Q1=8.5Q_1 = 8.5, Q2=15Q_2 = 15, Q3=22.5Q_3 = 22.5, IQR = 14.

Problem 2: A student scored 78 on a test. Out of 50 students, 35 scored below 78. What percentile is the student in?

Percentile=3550×100=70th percentile\text{Percentile} = \frac{35}{50} \times 100 = 70\text{th percentile}

Answer: The student is in the 70th percentile.

Problem 3: A dataset has Q1=20Q_1 = 20 and Q3=44Q_3 = 44. Using the 1.5 ×\times IQR rule, what are the fences? Is a value of 85 an outlier?

IQR=4420=24\text{IQR} = 44 - 20 = 24

Lower fence=201.5×24=2036=16\text{Lower fence} = 20 - 1.5 \times 24 = 20 - 36 = -16

Upper fence=44+1.5×24=44+36=80\text{Upper fence} = 44 + 1.5 \times 24 = 44 + 36 = 80

Since 85>8085 > 80, yes, 85 is an outlier.

Problem 4: Give the five-number summary for: 2, 5, 8, 11, 14, 17, 20.

There are 7 values.

  • Minimum = 2
  • Q1Q_1 = median of 8 = 5
  • Q2Q_2 (median) = 11
  • Q3Q_3 = median of 20 = 17
  • Maximum = 20

Answer: Five-number summary: 2, 5, 11, 17, 20.

Problem 5: A child is in the 40th percentile for height. Does this mean they are unusually short?

No. The 40th percentile means 40% of children of the same age are shorter and 60% are taller. This is well within the normal range. Percentiles only become a concern when they are very extreme (below the 5th or above the 95th) or when there is a significant change in percentile over time.

Answer: No — the 40th percentile is a normal, healthy position. Percentiles are not grades.

Key Takeaways

  • Percentiles tell you what percentage of values fall below a given point — the 90th percentile means 90% scored lower
  • Quartiles divide data into four equal parts: Q1Q_1 (25th), Q2Q_2 (median, 50th), and Q3Q_3 (75th)
  • The five-number summary (min, Q1Q_1, median, Q3Q_3, max) gives a complete snapshot of a distribution
  • IQR (Q3Q1Q_3 - Q_1) measures the spread of the middle 50% and is resistant to outliers
  • Use the 1.5 ×\times IQR rule to identify outliers: values below Q11.5×IQRQ_1 - 1.5 \times \text{IQR} or above Q3+1.5×IQRQ_3 + 1.5 \times \text{IQR}
  • In real-world applications like growth charts, consistency of percentile matters more than the percentile number itself

Return to Statistics for more topics in this section.

Last updated: March 28, 2026