How to Compute Percentiles from Stemplots- Step-by-Step
What Is a Stemplot and Why Use It for Percentiles?
A stemplot (or stem-and-leaf plot) is a simple way to display numerical data while keeping the actual values visible. The stem shows the leading digit(s), and the leaf shows the trailing digit.
Unlike histograms, stemplots let you work backward to exact values. That makes them useful for calculating percentiles without losing data fidelity.
The Percentile Formula You Need
Before touching a stemplot, know the formula:
Position = (P/100) × (n + 1)
Where:
- P = the percentile you want
- n = total number of data points
Most textbooks use this method. Some prefer (P/100) × n without the +1. The difference matters only for small datasets.
Step-by-Step: Computing Percentiles from a Stemplot
Step 1: Extract and Order the Data
Read the stemplot left to right. Write out every value in order from smallest to largest.
Example stemplot (stem = tens, leaf = ones):
2 | 3 5 8 3 | 1 2 4 4 7 9 4 | 0 2 5 8
Extracted data: 23, 25, 28, 31, 32, 34, 34, 37, 39, 40, 42, 45, 48
Step 2: Count Your Total
You have 13 data points. Note this number.
Step 3: Find the Position
Say you want the 40th percentile:
Position = (40/100) × (13 + 1) = 0.4 × 14 = 5.6
Since 5.6 isn't a whole number, you need to interpolate between the 5th and 6th values.
Step 4: Locate the Values
- 5th value (position 5): 34
- 6th value (position 6): 37
Step 5: Interpolate
Formula: Value = lower + (decimal × difference)
Value = 34 + (0.6 × (37 - 34)) = 34 + (0.6 × 3) = 34 + 1.8 = 35.8
The 40th percentile is approximately 35.8.
Quick Reference: Percentile Calculation Methods
| Method | Formula | Best For | Drawback |
|---|---|---|---|
| Linear Interpolation (n+1) | (P/100) × (n+1) | Textbook problems | Can exceed data range |
| Nearest Rank | Round up (P/100 × n) | Quick estimates | Less precise |
| Weighted Percentile | Complex interpolation | Large datasets | Requires software |
Common Mistakes to Avoid
- Forgetting to order data — stemplots are already sorted, but always verify
- Rounding too early — keep decimals through calculations, round only at the end
- Using wrong stem values — confirm the stem represents the correct place value
- Ignoring interpolation — if your position isn't whole, you must interpolate
Practical Example: Finding the 75th Percentile
Using the same dataset (n = 13):
Position = (75/100) × 14 = 10.5
Between 10th value (42) and 11th value (45):
Value = 42 + (0.5 × 3) = 43.5
The 75th percentile is 43.5.
When to Use Software Instead
Stemplots work fine for datasets under 50 points. Beyond that, use a calculator or spreadsheet. Excel's PERCENTILE.INC function handles this automatically.
Just remember: the stemplot method builds intuition. Software skips that step.