Learn & Understand

Quantiles and the Five-Number Summary: Describing Data by Its Landmarks

In a hurry? Skip straight to the numbers.

Open the Interquartile Range Calculator →

The companion calculator computes the interquartile range from the first and third quartiles, the values that mark the boundaries of the middle half of the data. Those quartiles are examples of quantiles, the landmark values that divide sorted data into portions, and they underlie a whole approach to describing distributions by their key positions rather than by formulas. Understanding what quantiles are, how the five-number summary and box plot describe a distribution by its landmarks, and the exploratory-data-analysis insight behind them turns an IQR calculation into an appreciation of a powerful, intuitive way of summarizing data.

What Quantiles Are

Quantiles are values that divide a sorted data set into portions with specified fractions of the data below them, providing landmarks along the distribution. The median is the most familiar quantile: it divides the data in half, with half below and half above. Quartiles divide the data into quarters: the first quartile has a quarter of the data below it, the third quartile has three-quarters below it, and the median is the second quartile. Percentiles divide the data into hundredths, so the value at a given percentile has that percentage of the data below it. All of these are quantiles, points that mark off specified fractions of the sorted data, describing where the data sits by position rather than by its exact values. Quantiles are inherently rank-based, they depend only on the order of the data, which makes them robust to outliers, since the magnitude of extreme values does not shift them. Understanding what quantiles are is the foundation for the interquartile range and much of exploratory data analysis: they are the landmarks, median, quartiles, percentiles, that locate portions of the data, and they let a distribution be described by these key positions. The IQR the calculator computes is simply the distance between two of these landmarks, the first and third quartiles, capturing the spread of the middle half.

The Five-Number Summary

Quantiles and extremes combine into a compact, powerful description of a distribution called the five-number summary.

The five-number summary
ValueWhat it marks
MinimumThe smallest value
First quartile (Q1)A quarter of the data below
MedianThe middle
Third quartile (Q3)Three-quarters below
MaximumThe largest value

The five-number summary, minimum, first quartile, median, third quartile, and maximum, describes a distribution by five landmark values, capturing its center (the median), its spread (the quartiles and the range), and its extremes, all through rank-based positions. This compact summary conveys a great deal about the shape of the data: where it centers, how spread out its middle half is (the interquartile range), and how far the extremes reach. Because it is built from quantiles and extremes, it is robust and requires no assumptions about the distribution's shape, making it a versatile description of any data. The interquartile range the calculator computes is the distance between the two quartiles in this summary, describing the spread of the central half, which is the most stable part of the distribution. Understanding the five-number summary reveals how quantiles come together to describe a distribution by its landmarks: five well-chosen positions capture the essential features, center, spread, and extremes, in a way that is intuitive and resistant to outliers. This summary is the basis for one of the most useful visualizations in statistics, the box plot, which draws the five-number summary graphically.

The Box Plot and Outlier Detection

The five-number summary is visualized in the box plot, which draws the distribution's landmarks and, using the interquartile range, systematically flags outliers. In a box plot, the box spans the interquartile range from the first to the third quartile, with the median marked inside, so the box shows where the middle half of the data lies, and its width is the IQR the calculator computes. The whiskers extend to show the range of the bulk of the data, and points beyond them are flagged as outliers using the interquartile range: the common convention marks any value more than one and a half times the IQR beyond the quartiles as an outlier worth investigating, exactly what the calculator's context describes. This makes the box plot both a compact picture of the distribution's landmarks and a systematic tool for identifying unusual values, with the IQR providing the scale for what counts as an outlier. The box plot's power is that it shows center, spread, skew, and outliers at a glance, all from the quantile-based five-number summary. Understanding the box plot and its IQR-based outlier rule reveals the practical payoff of quantiles: they enable a visualization that describes a distribution and flags outliers using robust, rank-based landmarks, without assuming any particular distribution shape. The interquartile range is central to this, defining both the box and the outlier thresholds, which is why the calculator's IQR is such a useful quantity.

Tukey and the Spirit of Exploration

The five-number summary and box plot are hallmarks of exploratory data analysis, an approach championed by the statistician John Tukey that emphasizes looking at data through robust, revealing summaries and visualizations before formal modeling. Tukey's insight was that much can be learned by examining data's key features, its center, spread, shape, and outliers, using simple, robust, quantile-based tools, letting the data reveal its structure rather than forcing it into assumptions. The box plot, built from the five-number summary, embodies this spirit: it uses robust quantiles to expose a distribution's essential features and anomalies quickly and honestly, making it ideal for the initial exploration of data. This approach values understanding the data's actual behavior, skew, outliers, spread, over prematurely applying formulas that may assume a shape the data does not have. The quantile-based tools are favored precisely because they are robust and reveal the data as it is. Understanding Tukey and the spirit of exploration situates the interquartile range and box plot in a broader philosophy: they are tools for genuinely looking at data, using robust landmarks to understand its structure before committing to models. The calculator computes the IQR, a key quantile-based measure; understanding quantiles, the five-number summary, and the exploratory spirit behind them is what reveals why describing data by its landmarks is such a powerful and honest way to understand it.

Understanding the Interquartile Range

Use the calculator to compute the interquartile range, and understand the quantiles behind it: quantiles are landmark values dividing sorted data into portions, the five-number summary describes a distribution by its minimum, quartiles, median, and maximum, and the box plot visualizes this while using the IQR to flag outliers, all in the robust, exploratory spirit of Tukey's data analysis. The calculation gives the spread of the middle half; understanding quantiles and the five-number summary is what reveals how describing data by its landmarks captures a distribution's essential features.

Ready to Put This Into Practice?

Now that you understand how it works, plug in your own numbers and get an instant, accurate result.

Use the Interquartile Range Calculator Now →