Not sure which lesson to do first? Find your level and get a plan →

Statistics · Grade 6-8

Quartiles

Quartiles are values that divide ordered data into four equal parts: Q1 (25th percentile) marks the boundary below which 25% of data falls, Q2 (the median, 50th percentile) splits the data in half, and Q3 (75th percentile) marks the boundary below which 75% falls.


Quick Answer

Quartiles are values that divide ordered data into four equal parts: Q1 (25th percentile) marks the boundary below which 25% of data falls, Q2 (the median, 50th percentile) splits the data in half, and Q3 (75th percentile) marks the boundary below which 75% falls. To find them, sort the data, find the median, then find the median of the lower half (Q1) and of the upper half (Q3). Use quartiles to say where a value stands, such as a score in the top quarter of a class, and to draw a box plot.

Why This Matters

Quartiles let you say where a value sits in a group, not just whether it is above average. A child whose height is above Q3 is taller than about three quarters of children that age, and a delivery time above Q3 is in the slowest quarter. Quartiles are also the building blocks of the IQR and the box plot, the usual way to compare spreads when data have outliers.

Intuitive Explanation

Take 11 students' quiz scores, sorted: 3, 5, 6, 6, 7, 8, 8, 9, 9, 10, 10. The median is the 6th value, 8, which splits the class in two. Now split each half again. The lower half is 3, 5, 6, 6, 7, and its middle value is 6: that is Q1. The upper half is 8, 9, 9, 10, 10, and its middle value is 9: that is Q3. The three cuts, 6, 8 and 9, divide the students into four groups of about the same size.

Quartiles split the count of values evenly, not the number line. Here the bottom quarter stretches from 3 to 6, a gap of 3 points, while the quarter from the median to Q3 covers only 8 to 9, a gap of 1 point. A short quarter means values are crowded there; a long quarter means they are spread out. A box plot shows exactly this at a glance.

A quartile is a cut point, not a group and not a count. Q1=6 does not mean the first student, or that 6 students did badly; it is the score with about a quarter of the class below it. Quartiles are also not the same as cutting the range into four equal lengths. The scores run from 3 to 10, and four equal lengths would put the cuts at 4.75, 6.5 and 8.25, which do not split the students into equal groups at all.

Think of it like this. Quartiles are like dividing a sorted queue of people into four equal teams using three ropes. The middle rope is the median, and the other two ropes go halfway along each half. Each team has the same number of people, but the teams can cover very different stretches of height.

Core idea. Three cut points, Q1, the median and Q3, split sorted data into four groups with equal counts, so the distances between the cuts show where values crowd together and where they spread out.


When to Use

Use quartiles when a question asks about the lower quarter or upper quarter, the 25th or 75th percentile, or where one value ranks within a group. They are also the first step for a box plot or the IQR. Sort the data, find the median, then find the median of each half. If the question only wants one typical value, the median or mean is enough; if it wants the spread of the middle half, go on to the IQR.

Tip. Ask: Do you need the three cut points that split sorted data into four groups with equal numbers of values?

How to Recognize It

Before splitting the data, check whether the question wants cut points that mark quarters, one middle value, or the distance between two cut points.

  1. Does the question ask for a boundary such as the edge of the bottom quarter or the top quarter of a group?

    Yes is a quartile: Q1 marks the bottom quarter and Q3 the top quarter. If it asks only for the middle, that is the Median.

  2. Is the answer a position on the scale, such as a score of 72.5, rather than a distance?

    Yes is a quartile. Subtracting Q1 from Q3 to get a width gives the Interquartile Range (IQR) instead.

  3. Is the cut at a quarter, a half or three quarters of the way, not some other share like 90%?

    Yes keeps you with quartiles. A cut at any other share, such as the 90th or the 10th, is one of the Percentiles.

  4. Do you need five numbers, including the minimum and maximum, to draw a picture of the data?

    If yes, the quartiles are three of those five numbers, and the picture is a Box Plot.

Quartiles vs Median vs Percentiles vs Interquartile Range (IQR)

Quartiles, the median and percentiles are all cut points in sorted data, and the IQR is built from two of them. Ask whether you need one cut, three cuts, a cut at any share, or a distance.

Quartiles

Meaning
Quartiles are the three values Q1, Q2 and Q3 that cut sorted data into four groups of equal size.
Key test
Three cut points, at a quarter, a half and three quarters of the way.
Example
For 1, 3, 4, 6, 7, 9, 10, 12: Q1=3.5, Q2=6.5 and Q3=9.5.

Median

Meaning
The median is the single cut point that splits sorted data in half, which is also Q2.
Key test
One cut point only, at the halfway position.
Formula
median position=n+12
Example
For 1, 3, 4, 6, 7, 9, 10, 12 the median is 6.5, the middle quartile.

Percentiles

Meaning
A percentile is a cut point with a chosen percent of the data below it, anywhere from the 1st to the 99th.
Key test
Any share can be named; quartiles are just the 25th, 50th and 75th.
Example
A height at the 90th percentile is taller than about 90% of children of the same age.

Interquartile Range (IQR)

Meaning
The interquartile range is the distance from Q1 to Q3, the width of the middle half.
Key test
A width found by subtracting, not a position on the scale.
Formula
IQR=Q3−Q1
Example
With Q1=3.5 and Q3=9.5, the IQR is 6.

Formula & Notation

How to read it: Q1 is the first quartile (25th percentile), Q2 is the second quartile (median), and Q3 is the third quartile (75th percentile). The IQR =Q3−Q1.

Worked Examples

Example 1 — Quartiles of an even-sized list

Easy

Eight students spent these numbers of minutes on homework: 20, 35, 15, 40, 30, 25, 50, 45. Find Q1, the median and Q3.
Show the steps and the answer
  1. Sort: 15, 20, 25, 30, 35, 40, 45, 50.

    Quartiles are positions in the ordered list, so sorting comes first.

  2. Median: halfway between the 4th and 5th values, (30+35)÷2=32.5.

    With 8 values, the median splits them into two halves of 4.

  3. Q1: the lower half is 15, 20, 25, 30, so Q1=(20+25)÷2=22.5.

    Q1 is the median of the lower half.

  4. Q3: the upper half is 35, 40, 45, 50, so Q3=(40+45)÷2=42.5.

    Q3 is found the same way, from the upper half.

Answer: Q1=22.5 min, median =32.5 min, Q3=42.5 min.

Takeaway: Find the median, split the sorted data into halves, then take the median of each half.

Example 2 — Equal counts, not equal lengths

Standard

Twelve students counted the books they read this term: 0, 0, 1, 1, 1, 2, 2, 3, 4, 6, 9, 15. Find the quartiles. Then cut the range 0 to 15 into four equal lengths instead, and count how many students fall in the first length.
Show the steps and the answer
  1. Median: halfway between the 6th and 7th values, (2+2)÷2=2.

    The list is already sorted, and 12 values split into two halves of 6.

  2. Q1: lower half 0, 0, 1, 1, 1, 2 gives (1+1)÷2=1. Q3: upper half 2, 3, 4, 6, 9, 15 gives (4+6)÷2=5.

    Each quartile is the middle of its own half.

  3. Equal lengths: 15÷4=3.75, so the cuts would be at 3.75, 7.5 and 11.25.

    This divides the number line evenly, which is not what quartiles do.

  4. Count the values below 3.75: 0, 0, 1, 1, 1, 2, 2, 3, which is 8 of the 12 students.

    Two thirds of the class land in the first equal length, so those cuts do not make quarters of the students.

Answer: Q1=1, median =2, Q3=5. Cutting the range into equal lengths would put 8 of the 12 students in the first piece.

Takeaway: Quartiles give each part the same number of values; when the data are bunched, the parts have very different widths.

Example 3 — Find the mistake: the median in both halves

Application

Find the quartiles of 4, 6, 7, 9, 10, 12, 15. Jamal includes the median in both halves: "Lower half 4, 6, 7, 9, so Q1=6.5; upper half 9, 10, 12, 15, so Q3=11." Find the mistake and correct it, using the method in this lesson.
Show the steps and the answer
  1. Find the median: with 7 values it is the 4th, 9.

    With an odd count, the median is one of the data values.

  2. Leave the median out of both halves: lower half 4, 6, 7 and upper half 10, 12, 15.

    In this method the median is the dividing line, so it belongs to neither half.

  3. Take each half's middle value: Q1=6 and Q3=12.

    Each half now has 3 values, and the middle of each is its 2nd value.

  4. Compare with Jamal: his Q1 and Q3 came out 0.5 and 1 away from these.

    Some calculators use other rules and get values like Jamal's; always state which method you use.

Answer: Q1=6, median =9, Q3=12.

Takeaway: With an odd number of values, find the median first and leave it out of both halves before finding Q1 and Q3.

Where You'll See It

  • Splitting the class into four reading groups

    Order students by reading level and cut at Q1, Q2, and Q3 to form four equal-sized groups; Q1 marks the bottom quarter's edge, Q3 marks where the top quarter begins.

  • Growth-chart quarters at the doctor

    A pediatrician uses quartiles of height to see if a kid is in the bottom 25% (below Q1), the middle, or the top 25% (above Q3) compared to peers.

  • Dividing race finish times into fourths

    Sorting runners by time and marking Q1, Q2 (median), and Q3 splits them into the fastest quarter, two middle quarters, and the slowest quarter.

Common Mistakes

  1. The slip: You can find Q1 and Q3 without sorting the data.

    Why it's tempting: Quartiles are 'positions', so students grab values by position in the raw list, but position only means something after ordering.

    Instead: Order the data smallest to largest before locating Q1, Q2, and Q3.

  2. The slip: Quartiles split the data into four parts that are each one-fourth of the value range.

    Why it's tempting: The word 'quarter' suggests equal-width chunks of the number line, but quartiles equalize the count of data points, not the size of the gaps.

    Instead: Quartiles divide the data so that roughly 25% of the data points fall in each part, regardless of value gaps.

  3. The slip: Q1 means the value is 1, or the first data point.

    Why it's tempting: The subscript looks like an index, so students read Q1 as 'item one', but it labels the first quartile boundary.

    Instead: Q1 is the 25th percentile - the value with about 25% of the ordered data below it.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find Q1, the median and Q3 for 2, 4, 5, 7, 8, 10, 12, 15.

    Hint: Split the 8 values into a lower four and an upper four.

  2. Find Q1 and Q3 for 3, 6, 7, 9, 11, 14, 18.

    Hint: With 7 values, set the median aside before splitting.

  3. Ten ordered test scores are 62, 70, 75, 78, 81, 85, 88, 90, 94, 97. Find Q1 and Q3. Is a score of 92 in the top quarter of the class?

    Hint: Split the scores into a lower five and an upper five.

  4. Nine students' heights are 150, 142, 160, 155, 148, 165, 158, 145 and 152 cm. Find Q1 and Q3.

    Hint: Order the heights first. The median is the 5th value.

  5. A teacher wants the score that separates the lowest quarter of the class from everyone else. Should she find the median or a quartile?

    Hint: The median splits data into halves.

  6. For 1, 3, 5, 7, 9, 11, 13, a student finds Q1 as the middle of 1, 3, 5, 7 and gets 4. Using the method that leaves the median out of each half, what is Q1?

    Hint: With 7 values, which value is the median, and does it belong to the lower half?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why does my calculator give a different Q1 from the method in class?

Because there is more than one accepted way to find quartiles. The method in this lesson leaves the median out of both halves, so for 1, 2, 3, 4, 5, 6, 7 the lower half is 1, 2, 3 and Q1=2Q_1 = 2. Another method keeps the median in each half, giving 1, 2, 3, 4 and Q1=2.5Q_1 = 2.5. Some spreadsheets use yet another rule. All are reasonable; state which one you used and stick to it.

Is being "in the top quartile" the same as being at Q3?

Not quite. A quartile, strictly, is a cut point: Q3Q_3 is the line itself. People also say "the top quartile" for the group of values above that line, the top quarter. A student in the top quartile scored above Q3Q_3; a student at Q3Q_3 sits right on the boundary, with about three quarters of the class at or below. When you write an answer, say which one you mean.

Can two quartiles be the same number?

Yes, when many values repeat. In 3, 5, 5, 5, 5, 5, 9 the median is 5, the lower half 3, 5, 5 gives Q1=5Q_1 = 5 and the upper half 5, 5, 9 gives Q3=5Q_3 = 5. All three quartiles are 5, and the IQR is 0. The four groups are no longer truly equal, because so many values sit exactly on the cut. Quartiles split the data as evenly as the repeated values allow.

Learning Path

← Before

Median
Quartiles

You are here

You need Median first, since quartiles are the medians of each half of the sorted data. Quartiles add two more cut points, Q1 and Q3, so you can say whether a value is in the bottom, middle or top quarter. Next, the Box Plot draws the five-number summary as a picture, and the Interquartile Range (IQR) uses Q3−Q1 to measure spread.

See Also