Skip to content
GK LibraryA home for curious minds
English

Quartiles, What Splitting Data into Four Reveals

If you timed the wait at nine cafés and the average came out above 11 minutes, should you expect to wait about 10 minutes anywhere? Look at each one, though, and five of them take less than 10 minutes; a single weekend hotspot at 40 minutes may simply be pulling the average up.

This is where quartiles (Quartile) come in. They are three cut points that split data, lined up from smallest to largest, into four parts, showing both where the middle lies and how spread out the values are, something a single average cannot reveal.

Quartiles are used together with a handful of related terms. Starting from the median and ending with box plots and outliers, here are five terms in order.

Twenty red apples on a wooden market table, lined up from smallest to largest and split into four groups of five

Key Terms for Understanding Quartiles

Median

Line up the nine waiting times from shortest to longest and you get 2, 4, 5, 7, 8, 10, 12, 15 and 40 minutes. The value in the very middle, the fifth one, is 8 minutes: the median, also called the middle value. When there is an even number of values, you take the average of the two middle ones.

The mean, found by adding all nine values and dividing, is about 11.4 minutes and is dragged up sharply by the single 40. The median looks only at order, so it would stay at 8 minutes even if the last value became 400. Quartiles start from this median by splitting the data in half again.


First and Third Quartiles (Q1, Q3)

Leave out the median of 8 minutes and take the middle of the lower half, 2, 4, 5 and 7: that gives 4.5 minutes. The middle of the upper half, 10, 12, 15 and 40, is 13.5 minutes.

The first value is the first quartile (Q1) and the second is the third quartile (Q3); the median is also the second quartile (Q2). Together these three boundaries cut the data into roughly four quarters, matching the 25th, 50th and 75th percentiles.

There is more than one way to calculate them, however. In a 1996 paper, statisticians Rob Hyndman and Yanan Fan catalogued nine definitions of sample quantiles used by statistical software.

Feed the same values into Excel's QUARTILE.INC function and you get Q1 = 5 and Q3 = 12, while QUARTILE.EXC returns 4.5 and 13.5. If a textbook and a calculator give slightly different answers, neither is wrong; they are simply using different methods.


Interquartile Range

Subtracting Q1 from Q3 gives the interquartile range, or IQR. In the example it is 13.5 − 4.5 = 9 minutes, meaning the middle half of the cafés fall within a 9-minute band. Two classes can share the same average score, yet a class with an IQR of 5 points and one with an IQR of 20 points have very differently spread results.

The range, maximum minus minimum, is 38 minutes, but it is that large only because of the single 40. Because the IQR cuts off the top and bottom 25%, extreme values barely move it. That is why it is often used alongside the standard deviation to describe the spread of skewed data such as income or house prices.


Box Plot

The five values, minimum, Q1, median, Q3 and maximum, are called the five-number summary (Five-Number Summary). A box plot turns them into a single picture; American statistician John Tukey popularized it in his 1977 book Exploratory Data Analysis.

You draw a box from Q1 to Q3 and a line inside it at the median. The lines extending from either side of the box are called whiskers, and they usually reach the smallest and largest values that are not outliers. For the example data, the box runs from 4.5 to 13.5 minutes, the median line sits at 8 and the whiskers stretch to 2 and 15 minutes.

A shorter box means the middle half is tightly packed, and a median line pushed toward one side signals that the data are skewed. Box plots are especially useful for comparing groups side by side, such as test scores from several classes.

Quartiles box plot infographic: Minimum, First Quartile Q1, Median Q2, Third Quartile Q3, Maximum (25% each), Interquartile Range IQR = Q3 − Q1, Whisker, Outlier
A single box plot summarizing the five-number summary and the interquartile range.

Outlier

Tukey suggested treating values below Q1 minus 1.5 times the IQR, or above Q3 plus 1.5 times the IQR, as possible outliers.

In the example, the upper fence is 13.5 + 1.5 × 9 = 27 minutes, so 40 is flagged as an outlier, while nothing falls below the lower fence of 4.5 − 13.5 = −9 minutes. In a box plot, such values are marked as separate dots beyond the whiskers.

An outlier is not necessarily a wrong value. It could be a typing error, but it could just as well be a genuine special case, like a popular café with a long line.

The 1.5× rule is simply a convention for picking out values worth a second look, so before deleting one, check why it appeared. Researchers sometimes report results both with and without outliers.


Quartiles, Revisited Through the Terms

City view at dusk with apartment complexes of similar height and a single skyscraper rising far above them

Quartiles come from a simple idea: line the data up and cut it into four pieces. The median shows the center, Q1 and Q3 fence in the middle half, the IQR gives its width, and the box plot shows all of this at a glance while pointing out outliers.

If the mean shrinks data to a single point, quartiles unfold it into a four-section map. It is the same reason house-price statistics often report the median price alongside the average. The next time you see a figure with only an average, ask where the middle half of the values actually sits.


Recommended reading

Keep this article as a PDF

Buy the selected-language edition of the article you are reading.

US$1.00
Selected language: English

US$1.00 · one article · one language

Choose how to buy

Buy as a member
  • Log in on any device to download again
  • Kept in your purchase history
Buy without an account
  • Pay right away with no sign-up
  • Download again in this browser
  • On other devices, use the personal link shown after purchase
  • If you later log in as a member in this browser, your purchases move to your account
  • If you lose the link and clear this browser’s cookies, downloading again may not be possible

Checking your purchases…

Seller information

Business name
아카이지
Representative
안호원
Business registration No.
530-02-04118
Mail-order sales report No.
2026-경기군포-0626
Reporting authority
경기도 군포시
Business address
경기도 군포시 산본천로 119-9, 1109동 405호 (산본동, 주공아파트)
Hosting provider
카페24(주)
Contact email
sgjjojo@gmail.com
Contact number
010-4194-0821

Verify seller information (Korea FTC)