Quartile

Definitionnoun

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.

In Spanish
cuartil
Also called
Q1, Q2, Q3, lower quartile, upper quartile, first quartile, third quartile
Grade level
6-8
Grade 6Grade 7StatisticsCCSS 6.SP.B.4CCSS 6.SP.B.5.cSATACTGEDTEASAP

Quartile in a picture

Quartiles of a data set and its box plotEleven ordered values 2, 4, 5, 7, 8, 10, 12, 13, 15, 18, 21. The median Q2 = 10 splits them into halves; Q1 = 5 is the median of the lower half and Q3 = 15 of the upper half. A box plot below runs from Q1 to Q3 with a line at Q2, and each of the four parts holds about 25% of the data. IQR = 10.11 values in order24578101213151821lower halfupper halfQ1 = 5Q2 = 10Q3 = 15Q2 is the median; Q1 and Q3 are the medians of the halvesQ1Q2Q3minmax024681012141618202225%25%25%25%IQR = Q3 − Q1 = 15 − 5 = 10
The median splits the data in half; the quartiles split each half again. The box of a box plot runs from Q1 to Q3 and holds the middle 50% of the data.

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

Using quartiles: IQR and outlier fences
IQR = Q3 − Q1; outliers are below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR
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

Interactive

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.

This interactive needs JavaScript. The worked examples below show the same ideas step by step.

Quartile examples, step by step

Example 1: An odd number of values

Warm-up

Find the quartiles of 3, 7, 8, 5, 12, 14, 21.

  1. Order: 3, 5, 7, 8, 12, 14, 21. There are 7 values.
  2. The median is the 4th value: Q2 = 8.
  3. Lower half (without the median): 3, 5, 7, so Q1 = 5.
  4. Upper half: 12, 14, 21, so Q3 = 14.

Answer: Q1 = 5, Q2 = 8 and Q3 = 14.

Example 2: An even number of values

Core

Ten players scored 12, 15, 18, 20, 22, 25, 27, 30, 34 and 40 points. Find the quartiles and the interquartile range.

  1. The data are in order, and n = 10. The median is the average of the 5th and 6th values: Q2 = 22 + 252 = 23.5.
  2. Lower half: 12, 15, 18, 20, 22, so Q1 = 18.
  3. Upper half: 25, 27, 30, 34, 40, so Q3 = 30.
  4. IQR = 30 − 18 = 12.

Answer: Q1 = 18, Q2 = 23.5, Q3 = 30, and the IQR is 12.

Example 3: Is it an outlier?

Test-style

A data set has Q1 = 42 and Q3 = 58. Is the value 85 an outlier by the 1.5 × IQR rule?

  1. IQR = 58 − 42 = 16.
  2. 1.5 × 16 = 24.
  3. Upper fence: 58 + 24 = 82.
  4. 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

✗ MistakeFinding quartiles from the data as listed: for 9, 2, 7, 4, 5, taking 2 as Q1.
✓ InsteadOrder first: 2, 4, 5, 7, 9. Then Q1 = 3 (the median of 2 and 4).

Quartiles describe positions in the ordered data, so the original order means nothing.

✗ MistakeThinking Q1 is one quarter of the largest value: for a maximum of 40, Q1 = 10.
✓ InsteadQ1 is the middle of the lower half of the ordered data, such as 18 for the scores 12 to 40.

Quartiles split the count of values into four parts. They are not fractions of the biggest number.

✗ MistakeComputing the IQR as Q3 + Q1, or as maximum minus minimum.
✓ InsteadIQR = Q3 − Q1. For Q1 = 18 and Q3 = 30, it is 12.

The IQR measures the spread of the middle half only. Maximum minus minimum is the range.

Not to be confused with

Quartilevs.Quarter

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.

Quartilevs.Interquartile range

The interquartile range is one number made from two quartiles: Q3 − Q1. It measures spread, while each quartile marks a position.

Quartilevs.Median

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

Question 1 of 3

What is Q1 for 4, 6, 9, 11, 15, 18, 20, 25?

Show answer and explanation

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.

Question 2 of 3

What percent of a data set lies between the first and third quartiles?

Show answer and explanation

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.

Question 3 of 3

A box plot shows minimum 10, Q1 = 22, median 30, Q3 = 41 and maximum 60. What is the interquartile range?

Show answer and explanation

Answer: C. IQR = Q3 − Q1 = 41 − 22 = 19. 50 is the range, 11 is 41 − 30, and 30 is the median.

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

  1. Common Core State Standards, Grade 6 Statistics and Probability (6.SP.B.4, 6.SP.B.5.c)
  2. OpenStax, Introductory Statistics 2e, 2.3 Measures of the Location of the Data
  3. 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

TermQuartileQ1, Q2, Q3
DefinitionThree values that cut ordered data into four parts. For 2, 4, 5, 7, 8, 10, 12, 13, 15, 18, 21: Q1 = 5, Q2 = 10, Q3 = 15.
Study the full deck

Browse all terms in the Math Dictionary · More statistics terms · Random term