Stem and Leaf Plot Calculator

Stem and Leaf Plot

Visualize the distribution of data with a classic stem-and-leaf display for hands-on exploratory analysis.

Last updated: March 2026

Calculator

Enter numerical values to visualize

Stem and Leaf Plot
Stem
Leaves
1
2 5
2
1 3 6
3
1 3 4
4
5
5
2 8
6
1 8
7
2 9
Key: stem | leaves → e.g. 1 | 2 5 = 12, 15
Data points15
Minimum value12
Maximum value79
Range67

What is a Stem and Leaf Plot?

A stem-and-leaf plot is a simple graphical method for displaying the distribution of data. It splits each data value into two parts: the "stem" (leftmost digit(s)) and the "leaf" (rightmost digit). For example, the value 23 has stem 2 and leaf 3. This method preserves the original data values while showing the shape of the distribution.

Stem-and-leaf plots are particularly useful for small to medium datasets ({< 100 values) because they allow you to see both the overall pattern and individual data points simultaneously. They reveal clustering, gaps, outliers, and skewness quickly. Unlike histograms, stem-and-leaf plots don't lose information—you can reconstruct the exact dataset from the plot.

Common applications include quality control, exam score analysis, and any exploratory data analysis where preserving raw values matters.

How to Create a Stem and Leaf Plot

Step-by-Step Process

Step 1: Sort your data in ascending order
Step 2: Choose the stem unit (usually tens digit, but can be hundreds for larger values)
Step 3: For each value, identify the stem and leaf
Step 4: List all stems vertically, then place leaves to the right of each stem, sorted left to right
Step 5: Include a key showing what the plot represents

Example Construction

Raw data: 12, 15, 23, 26, 31, 33, 34, 45
Already sorted: 12, 15, 23, 26, 31, 33, 34, 45
Plot:
1 | 2 5
2 | 3 6
3 | 1 3 4
4 | 5

Real-World Example

Quiz Scores: Classroom Analysis

Scenario:
A teacher gives a 100-point quiz to 20 students and gets these scores: 67, 72, 73, 75, 76, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 95, 98.
Stem and Leaf:
6 | 7
7 | 2 3 5 6 8 9
8 | 1 2 3 4 5 6 7 8 9
9 | 0 2 5 8
Key: 7 | 2 = 72
The plot shows most students scored in the 80s (strong performance), with few low scores and a few high achievers. The distribution is slightly left-skewed.

Frequently Asked Questions

What if my data has three-digit numbers?

For 3-digit numbers like 145, you can use the first two digits (14) as the stem and the last digit (5) as the leaf. Just specify this in your key. The key is critical for avoiding confusion about the stem unit.

Can stem-and-leaf plots handle decimals?

Yes. For example, 2.3 and 2.7 can have stem 2 and leaves 3, 7 (treating decimals as 0.3 and 0.7). Alternatively, multiply all values by 10 to convert to integers, then divide when interpreting.

What's the difference between a stem-and-leaf plot and a histogram?

A histogram shows frequency in bars (loses individual values), while stem-and-leaf shows actual values. Stem-and-leaf is better for small datasets where you want to see raw data; histograms are better for large datasets where trends matter more than specifics.

What if I have very skewed data with big gaps?

Include empty stems in the plot to show gaps. For example, if you have data in the 10s and 40s but nothing in the 20s or 30s, display stems 1, 2, 3, 4 with the middle ones having no leaves. This reveals clustering and outliers.

How many data points should I have for a stem-and-leaf plot?

Ideally 10–100 data points. Fewer than 10 and the plot is too sparse; more than 100 and it becomes cluttered. For large datasets, use a histogram or grouped stem-and-leaf (e.g., splits like 1L for 10–14, 1H for 15–19) instead.

Can I use back-to-back stem-and-leaf plots?

Yes! To compare two datasets, use the same stem for both but leaves go left (for group A) and right (for group B). This makes side-by-side distribution comparison easy and is popular in textbooks.

Related Tools