Percentiles, Quartiles
& Boxplots
Master the tools that let you rank, summarize, and visualize any business dataset: from salary benchmarks to customer wait times.
What Is a Percentile?
A percentile tells you what percentage of values in a dataset fall at or below a given value. If your salary is at the 80th percentile, you earn as much as or more than 80% of the people in the sample.
Percentiles are used everywhere in business: employee performance rankings, customer satisfaction scores, and delivery time benchmarks.
Quartiles: The Big Three
Quartiles split a sorted dataset into four equal parts. They are special percentiles:
Visualizing the Quartile Split
Each section contains exactly one-quarter of the sorted observations. The IQR spans from \( Q_1 \) to \( Q_3 \), covering the central half of the data.
The Percentile Locator Formula
To find the \( k \)-th percentile of \( n \) sorted values, first compute the locator:
The Five-Number Summary
Every boxplot is built from exactly five statistics:
Percentile vs. Percentile Rank
| Percentile | Percentile Rank | |
|---|---|---|
| Input | A rank position \( k \) | A data value \( x \) |
| Output | A data value \( P_k \) | A percentage (0 to 100) |
| Question | "What value sits at the 90th percentile?" | "What percentile does $42k fall at?" |
| Formula | \( L = \frac{k}{100} \times n \) | \( \frac{\text{values} \leq x}{n} \times 100 \) |
Anatomy of a Boxplot
Detecting Outliers with Fences
A data point is an outlier if it falls outside the inner fences:
How to Build a Boxplot
Example 1: Monthly Sales
A small business tracks monthly revenue (in $1,000s) for 12 months:
Example 1: The Boxplot
Example 2: Customer Wait Times
A call center logs wait times (minutes) for 10 calls:
Example 2: Boxplot with Outlier
Reading Boxplots for Skewness
Common Mistakes to Avoid
Question 1 of 5
A dataset has \( Q_1 = 20 \), \( Q_3 = 50 \). What is the IQR?
Question 2 of 5
Using the locator formula with \( n = 20 \), what position gives the 25th percentile?
Question 3 of 5
If \( Q_1 = 10 \), \( Q_3 = 30 \), and IQR = 20, what is the upper fence for outlier detection?
Question 4 of 5
On a boxplot, the median line is much closer to \( Q_1 \) than to \( Q_3 \), and the right whisker is much longer than the left. This suggests the data is:
Question 5 of 5
In a boxplot, whiskers extend to: