Home · Statistics · Descriptive Statistics · Stem and Leaf Plot Calculator
Stem and Leaf Plot Calculator
A stem-and-leaf plot of two-digit data: each value splits into a stem (its tens digit) and a leaf (its units digit), keeping every original value visible in sorted order.
What this calculator does
A stem-and-leaf plot of two-digit data: each value splits into a stem (its tens digit) and a leaf (its units digit), keeping every original value visible in sorted order. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
The stem is the tens digit and the leaf is the units digit, so the default data are two-digit integers from 20 to 99; each row groups all values sharing one stem.
Leaves within a row are written in ascending order, separated by spaces, in the form "stem | leaf leaf …" — the first row of the default plot is "6 | 2 5".
Unlike a histogram, a stem-and-leaf plot preserves the original values: reading a stem digit followed by a leaf digit reconstructs each observation exactly.
Worked example
With the example inputs this page opens with, the result is 6 | 2 5 7 | 1 4 4 8 | 2 5 8 9 | 1 5. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 6 | 2 5 7 | 1 4 4 8 | 2 5 8 9 | 1 5 |
| Values plotted | 10 |
| Stems | 4 |
| Reading | Stem | leaves — each leaf is one observation |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How do I read a stem-and-leaf plot?
Combine the stem with each leaf: the row "7 | 1 4 4" holds the values 71, 74 and 74. Turned on its side, the plot also shows the shape of the distribution like a histogram.
What data does a stem-and-leaf plot suit?
Small to medium sets of numbers with a shared leading part — here two-digit integers, where the tens digit makes a natural stem. Very large sets or values with widely varying magnitudes are usually clearer as a histogram.
How does the Stem and Leaf Plot Calculator work?
A stem-and-leaf plot of two-digit data: each value splits into a stem (its tens digit) and a leaf (its units digit), keeping every original value visible in sorted order. Data (list) → Stem-and-leaf plot (first row as text). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Stem and Leaf Plot Calculator need?
Data (list) → Stem-and-leaf plot (first row as text). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.