Stem-and-leaf plots from a data set
The Stem-and-Leaf Plot Generator draws a stem-and-leaf plot from numbers you type or paste. Each value is split into a stem, written down the left, and a leaf, its last digit, written across its stem’s row, with every stem from the lowest to the highest shown and a key under the plot. Leaves line up in even columns, so the rows compare like bars.
Put two data sets back to back to compare them, with one set’s leaves running left from the stems and the other’s running right. Leave the data empty for a plot students fill in: type the first and last stems for empty rows, or put the leaves in boxes for empty boxes. Under the data you can read each set’s n, minimum, maximum, range, median, mode and quartiles.
What you can set
- One data set, or two back to back with a name for each
- The leaf unit: the last digit typed, or 0.01, 0.1, 1, 10 or 100, with digits past it cut off, not rounded
- Each stem on one row, split into two (leaves 0–4 and 5–9) or into five
- The first and last stems, to start or end the plot past the data, or to draw empty rows with no data
- Leaves in order or as typed, and negative values on negative stems, with −0 apart from 0
- Headings, and leaves in boxes with empty boxes up to a count in each row
- A key written with = or “means” and a unit, its example value, a blank line for students, or no key
- A chart title, as text or a blank line for students
Copying, printing and sharing
Copy the figure straight into a test, worksheet or slide, or download it as a PNG or SVG. Printing the page prints
just the figure. Share link copies the page’s address with your settings in it, so anyone who opens it sees this
exact figure, and presets save settings you use often in your browser. It’s free, with no sign-up.
Frequently asked questions
How do I make a stem-and-leaf plot?
Type or paste the data, separated by commas or spaces. Each value’s last digit becomes its leaf and the digits before it its stem, so 34 is written 3 | 4. The leaves are put in order and the key is written for you.
How do I make a back-to-back stem-and-leaf plot?
Choose Back-to-back at the top of the Data card, then type the two data sets and name them, like Class A and Class B. The first set’s leaves run left from the stems and the second’s run right, and the key names both.
What happens to decimals?
The leaf is the last digit typed, so 2.3 is written 2 | 3 and 1.25 is written 1.2 | 5. Pick a leaf unit to change it. Digits past the leaf unit are cut off, not rounded, as textbooks do, and the values that were cut are listed under the data.
What are split stems?
When many values share a stem, each stem can take two rows, one for leaves 0 to 4 and one for 5 to 9, or five rows, one for each pair of digits. Choose Twice or 5 times under Rows for each stem.
How do I make a blank stem-and-leaf plot for students?
Leave the data empty and type the first and last stems, for stems with empty rows. Turn on Leaves in boxes and type how many boxes go in each row for empty boxes. With nothing typed at all, the stems are left blank too. Set the key to a blank line for students to write it.
← All math figures