What is a quartile in math?
A quartile is one of three values that split an ordered data set into four parts with about the same number of values. The first quartile, Q1, is the median of the lower half; Q2 is the median of all the data; Q3 is the median of the upper half. The interquartile range is Q3 − Q1.
Quartile in a picture
Formal definition and notation
To find the quartiles, order the data and find the median, Q2. Split the data into a lower half and an upper half; when the number of values is odd, leave the median out of both halves. Q1 is the median of the lower half and Q3 is the median of the upper half. About 25% of the data lie below Q1, 50% below Q2 and 75% below Q3, so Q1 and Q3 are the 25th and 75th percentiles. Some calculators and spreadsheets use slightly different rules, so their quartiles can differ a little for small data sets.
| Symbol | Read it as | Meaning |
|---|---|---|
| Q1 | Q one, the first or lower quartile | the middle of the lower half; about a quarter of the data are below it |
| Q2 | Q two | the median |
| Q3 | Q three, the third or upper quartile | the middle of the upper half; about three quarters of the data are below it |
| IQR = Q3 − Q1 | interquartile range | the spread of the middle 50% of the data |
Key facts
- Always put the data in order first, from least to greatest.
- Q2 is the median, so the quartiles extend the idea of the median to the halves of the data.
- The five-number summary is minimum, Q1, median, Q3, maximum; a box plot draws it, with the box from Q1 to Q3.
- A quartile does not have to be a data value: for 4, 6, 9, 11, Q1 = 6 + 92 = 7.5.
- Quartiles and the IQR resist outliers: changing the maximum from 21 to 210 leaves Q1, Q2 and Q3 the same.
- Each of the four parts holds about 25% of the values, but the parts can have very different widths. A wide part means the data there are spread out.
Using quartiles: IQR and outlier fences
- Q1, Q3
- the first and third quartiles
- 1.5 × IQR
- how far beyond the box a value must be to count as an outlier
For the diagram’s data, IQR = 15 − 5 = 10, so the fences are 5 − 15 = −10 and 15 + 15 = 30. No value is outside them, so there are no outliers.
Try it: move the quartiles
This box plot shows quiz scores. Drag or edit values and watch Q1, the median and Q3 move. Then press Add an outlier: the quartiles and IQR barely change.
Quartile examples, step by step
Example 1: An odd number of values
Find the quartiles of 3, 7, 8, 5, 12, 14, 21.
- Order: 3, 5, 7, 8, 12, 14, 21. There are 7 values.
- The median is the 4th value: Q2 = 8.
- Lower half (without the median): 3, 5, 7, so Q1 = 5.
- Upper half: 12, 14, 21, so Q3 = 14.
Answer: Q1 = 5, Q2 = 8 and Q3 = 14.
Example 2: An even number of values
Ten players scored 12, 15, 18, 20, 22, 25, 27, 30, 34 and 40 points. Find the quartiles and the interquartile range.
- The data are in order, and n = 10. The median is the average of the 5th and 6th values: Q2 = 22 + 252 = 23.5.
- Lower half: 12, 15, 18, 20, 22, so Q1 = 18.
- Upper half: 25, 27, 30, 34, 40, so Q3 = 30.
- IQR = 30 − 18 = 12.
Answer: Q1 = 18, Q2 = 23.5, Q3 = 30, and the IQR is 12.
Example 3: Is it an outlier?
A data set has Q1 = 42 and Q3 = 58. Is the value 85 an outlier by the 1.5 × IQR rule?
- IQR = 58 − 42 = 16.
- 1.5 × 16 = 24.
- Upper fence: 58 + 24 = 82.
- 85 is greater than 82, so it lies beyond the fence.
Answer: Yes. 85 is above the upper fence of 82, so it is an outlier.
Common mistakes
Quartiles describe positions in the ordered data, so the original order means nothing.
Quartiles split the count of values into four parts. They are not fractions of the biggest number.
The IQR measures the spread of the middle half only. Maximum minus minimum is the range.
Not to be confused with
A quarter is the fraction 14 of something. A quartile is a cut point in ordered data. The quartiles cut the data into four quarters, but each quartile is a single value, such as Q1 = 18.
The interquartile range is one number made from two quartiles: Q3 − Q1. It measures spread, while each quartile marks a position.
The median is the middle of all the data and is the same as Q2. Q1 and Q3 are the middles of the lower and upper halves.
Quick check: 3 questions
What is Q1 for 4, 6, 9, 11, 15, 18, 20, 25?
Answer: A. The lower half is 4, 6, 9, 11, and its median is 6 + 92 = 7.5. 6 and 9 are only one of the two middle values, and 13 is the median of the whole set.Show answer and explanation
What percent of a data set lies between the first and third quartiles?
Answer: B. About 25% of the data lie below Q1 and 75% lie below Q3, so about 75% − 25% = 50% lie between them. 25% is one section, 75% is everything below Q3, and 100% is the whole data set.Show answer and explanation
A box plot shows minimum 10, Q1 = 22, median 30, Q3 = 41 and maximum 60. What is the interquartile range?
Answer: C. IQR = Q3 − Q1 = 41 − 22 = 19. 50 is the range, 11 is 41 − 30, and 30 is the median.Show answer and explanation
Quartile: frequently asked questions
How do you find the quartiles of a data set?
Put the data in order and find the median; that is Q2. Split the list into a lower half and an upper half, leaving the median out if the count is odd. The median of the lower half is Q1, and the median of the upper half is Q3. For 1, 3, 4, 6, 8, 9, 12: Q1 = 3, Q2 = 6, Q3 = 9.
Is the second quartile the same as the median?
Yes. Q2 is the median: half the data lie at or below it and half at or above it. The name fits the pattern of the other two quartiles, which split each half again. So the three quartiles together cut the data into four parts, with the median in the middle.
Why does my calculator give a different quartile?
There is more than one accepted rule for quartiles. The rule taught in most US classes leaves the median out of both halves, while some calculators, spreadsheets and statistics programs include it or interpolate between values. For large data sets the answers are almost the same; for small ones they can differ, so follow the rule your class or test uses.
Practice and tools
Sources
- Common Core State Standards, Grade 6 Statistics and Probability (6.SP.B.4, 6.SP.B.5.c)
- OpenStax, Introductory Statistics 2e, 2.3 Measures of the Location of the Data
- OpenStax, Introductory Statistics 2e, 2.4 Box Plots
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS 6.SP.B.4, CCSS 6.SP.B.5.c
Cite this entry
Effortless Math Team. “Quartile.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/quartile/
Flashcard
Browse all terms in the Math Dictionary · More statistics terms · Random term