Stem and Leaf Plot Maker
Make a stem-and-leaf plot with its key, median, quartiles and outliers marked, split the stems or compare two groups back to back, and download the report, with MiniWebtool’s Stem and Leaf Plot Maker.
For Gemini, paste the copied question into the chat. You can also copy it below.Need help using this tool? Ask AI
View the question
Paste your numbers. You get the stem-and-leaf plot with its key, the median and quartiles marked, the statistics and a plain-words reading of the shape.
About Stem and Leaf Plot Maker
The Stem and Leaf Plot Maker turns any list of numbers into a stem-and-leaf display — the classic statistics table that shows the shape of a distribution while keeping every single data value visible. Paste your data, and the tool picks a readable leaf unit, lists every stem (gaps included), sorts the leaves, marks the median, quartiles, and outliers directly on the plot, and gives you the full five-number summary. You can split the stems for extra detail, compare two groups with a back-to-back plot, and copy a plain-text version for your homework or report.
At a Glance
Stem and Leaf Plot Maker turns a list of numbers into a stem-and-leaf plot with its key, then marks the median, quartiles and outliers and explains the shape of the data.
| Feature | What you get | Good for |
|---|---|---|
| Any list of numbers | Paste values separated by spaces, commas or new lines; decimals and negative numbers work. | Homework and class data |
| Key and leaf unit | Choose the leaf unit (0.1, 1, 10 …) and the key is written for you, such as 3 | 4 = 34. | Reading the plot correctly |
| Split stems | One, two or five rows per stem to spread out crowded data. | Data bunched into a few stems |
| Back-to-back plot | Compare two groups on one shared stem, with their own statistics. | Comparing two classes or tests |
| Median, quartiles, outliers | Marked on the plot itself, with mean, range, IQR and mode in a table. | Answering the questions under the plot |
| What the plot tells you | Shape, clusters, gaps and outliers explained in plain words, plus the steps used to build it. | Writing the interpretation |
| Copy and PDF report | Copy the plot as text or download the plot, statistics and steps as a PDF; free with a light watermark. | Handing in or printing |
How to Use the Stem and Leaf Plot Maker
- Enter your data: Paste or type your numbers into the Dataset box — commas, spaces, tabs, and new lines all work as separators. Four values minimum.
- Choose the leaf unit and stem split: Leave Leaf Unit on Auto for a readable scale, or set it yourself. Use Stem Split to break each stem into 2 or 5 rows for more detail.
- Add a second dataset (optional): Paste a second list to get a back-to-back comparison plot and a two-group summary.
- Click Make Stem and Leaf Plot: The plot builds instantly, with frequency bars behind the leaves and markers on the median, quartiles, and outliers.
- Read and copy: Check the key line, review the five-number summary and the automatic shape reading, then use Copy plot text to paste a plain-text version anywhere, or Download report (PDF) to keep the plot, statistics and explanation in one file.
What Is a Stem and Leaf Plot?
A stem-and-leaf plot (also written stem-and-leaf display, or just stemplot) splits every number into two parts: the stem — the leading digits — and the leaf — the final digit. The stems run down a column in order, and each value's leaf is written beside its stem. The result looks like a histogram lying on its side, except that the bars are built from the real digits of your data.
That is the whole trick, and it is why the display has survived since John Tukey introduced it in Exploratory Data Analysis (1977): you get the shape of a histogram and you keep the raw numbers. A histogram tells you that six values landed between 40 and 49. A stem-and-leaf plot tells you they were 41, 43, 45, 45, 47, and 49.
Stem and Leaf Plot Example
Take the dataset 12, 15, 17, 21, 23, 28, 31, 34, 36, 42. With a leaf unit of 1, the tens digit becomes the stem and the ones digit becomes the leaf:
Read the first row as 12, 15, and 17. The key line is not decoration — without it, 1 | 2 could mean 12, 1.2, or 120. Every stem-and-leaf plot needs one.
How to Make a Stem and Leaf Plot
- Sort the data from smallest to largest. Everything downstream depends on this.
- Choose a leaf unit. Usually this is the place value of the last digit you want to keep — 1 for whole numbers, 0.1 for one decimal place.
- Split each value into a stem and a leaf. With a leaf unit of 1, the value 47 becomes stem 4, leaf 7.
- List every stem from the smallest to the largest — including stems with no leaves. Skipping empty stems is the single most common mistake, because it hides the gaps that give the plot its shape.
- Write the leaves next to each stem in ascending order, one digit each.
- Add a key, such as
4 | 7 = 47, plus the leaf unit.
Choosing the Leaf Unit
The leaf unit is the value a single leaf digit stands for. It controls how many rows your plot has, and therefore whether it is readable at all.
| Leaf unit | 4 | 7 means | Good for |
|---|---|---|
| 0.01 | 0.47 | Precise measurements, lab data |
| 0.1 | 4.7 | Data with one decimal place |
| 1 | 47 | Test scores, ages, counts |
| 10 | 470 | Wide ranges in the hundreds |
| 100 | 4700 | Salaries, populations, prices |
A stem-and-leaf plot works best with roughly 5 to 20 rows. Fewer and the rows get so long that the shape disappears; more and the plot spreads out into noise. Leave this tool's Leaf Unit setting on Auto and it starts at your data's own precision and steps the unit up by powers of ten until the plot fits in about twenty rows.
Splitting the Stems
Sometimes the right leaf unit still leaves your data piled onto three or four stems, each with a dozen leaves. Splitting the stems fixes this by giving each stem more than one row:
- Split into 2 — each stem gets two rows: leaves 0–4, then leaves 5–9. This is the most common split.
- Split into 5 — each stem gets five rows of two leaves each (0–1, 2–3, 4–5, 6–7, 8–9). Use it when the data is packed onto one or two stems.
Splitting is the standard remedy when your leaf unit choices are "too crowded" at one step and "too sparse" at the next. It effectively gives you scale options in between the powers of ten.
Back-to-Back Stem and Leaf Plots
A back-to-back stem-and-leaf plot compares two datasets against one shared column of stems. One group's leaves grow to the left, the other group's to the right, and because both are measured against the same stems, differences in centre, spread, and shape jump out immediately — no mental arithmetic required.
It is the fastest honest way to answer questions like "did the second class do better?" or "is the new process more consistent?" Enter a second dataset in the form above and this tool builds one for you, with a side-by-side summary of both groups.
Negative Numbers and Decimals
Negative values use a signed stem, and the leaf digit stays positive: −47 becomes stem −4, leaf 7. Two details follow from this and often trip people up:
- Within a negative stem, the leaves run from the largest digit to the smallest — so reading left to right still moves from the smallest value to the largest. The row
-1 | 9 8 5means −19, −18, −15. - A plot can hold both a −0 stem (for −9 to −1) and a 0 stem (for 0 to 9). They are genuinely different stems, and both belong there.
Decimals need no special treatment — just a smaller leaf unit. With a leaf unit of 0.1, the value 4.7 becomes stem 4, leaf 7.
Reading Statistics Off the Plot
Because the leaves come out sorted, a stem-and-leaf plot is a counting device. The median sits at position \( (n+1)/2 \), counted from the first leaf; if \( n \) is even, average the two middle leaves. The mode is the most repeated leaf. The range is the last value minus the first. The modal stem — the longest row — is where the data clusters.
This tool computes quartiles by linear interpolation — the same method as Excel's QUARTILE.INC and NumPy's default percentile — and flags any value outside the 1.5 × IQR fences as a possible outlier, ringing those leaves in red on the plot.
Reading the Shape
The outline of the leaves is the distribution's shape. This tool names it using Pearson's second skewness coefficient:
| Shape | What the plot looks like | Typical cause |
|---|---|---|
| Roughly symmetric | Rows longest in the middle, tapering evenly both ways | Natural measurements: heights, errors |
| Right-skewed | Long tail of short rows at the bottom (high values) | Incomes, wait times, house prices |
| Left-skewed | Long tail of short rows at the top (low values) | Easy test scores, age at death |
| Bimodal | Two separate clusters of long rows | Two mixed populations |
Stem and Leaf Plot vs Histogram
They show the same shape — a stem-and-leaf plot is essentially a histogram turned on its side with digits instead of bars. The difference is what survives:
| Feature | Stem and Leaf Plot | Histogram |
|---|---|---|
| Keeps original values | Yes — every digit is there | No — values are lost in bins |
| Median by counting | Yes | No |
| Best dataset size | About 15–150 values | Any size, especially large |
| Bin width control | Leaf unit and stem split | Any bin width |
| Spot exact outliers | Yes | Only the bin |
Rule of thumb: for a small or medium dataset where the actual numbers matter, use a stem-and-leaf plot. For hundreds or thousands of values, use a histogram.
When to Use a Stem and Leaf Plot
Stemplots are a staple of GCSE, AP Statistics, and intro college courses — and they are graded on the key line and the empty stems.
See the class distribution and every individual score at once, then compare two sections back-to-back.
Small samples with decimals, where you need to spot a bad reading without losing the actual figures.
A quick sideways histogram of a small batch that still shows exactly which units were out of tolerance.
Tukey's original use: the first look at a new dataset, before deciding what to test.
An isolated leaf after a run of empty stems is an outlier you can read by name, not just by bin.
Common Mistakes to Avoid
- Skipping empty stems. A stem with no leaves still gets a row. Leaving it out compresses the plot and hides gaps — the exact thing the display exists to reveal.
- Forgetting the key. Without
4 | 7 = 47and the leaf unit, the plot is unreadable. - Leaves out of order. Sort the data before you start; unsorted leaves make counting to the median impossible.
- Multi-digit leaves. Each leaf is exactly one digit. If you need more precision, change the leaf unit.
- Too many or too few rows. Aim for 5–20 rows. Adjust with the leaf unit first, then the stem split.
- Uneven leaf spacing. On paper, leaves must be evenly spaced, or the row lengths lie about the frequencies.
Frequently Asked Questions
What is a stem and leaf plot?
A stem-and-leaf plot is a table that splits every number into a stem (the leading digits) and a leaf (the final digit). The stems form a column and the leaves are listed beside their stem in order. It shows the shape of a distribution like a histogram does, but unlike a histogram it keeps every original data value, so you can still read the exact numbers, find the median by counting, and spot gaps and outliers.
How do you make a stem and leaf plot?
Sort the data from smallest to largest. Choose a leaf unit, usually the place value of the last digit. Split each value into a stem and a leaf: for 47 with a leaf unit of 1, the stem is 4 and the leaf is 7. List every stem from the smallest to the largest in a column, including stems with no data. Write each leaf next to its stem in ascending order. Finally add a key line such as 4 | 7 = 47 so readers know the scale.
What is the leaf unit in a stem and leaf plot?
The leaf unit is the place value that a single leaf digit represents. With a leaf unit of 1, the leaf is the ones digit and 4 | 7 means 47. With a leaf unit of 0.1, the leaf is the tenths digit and 4 | 7 means 4.7. With a leaf unit of 10, the leaf is the tens digit and 4 | 7 means 470. Choosing a larger leaf unit produces fewer rows, which is how you keep a wide dataset readable.
What does it mean to split the stems?
Splitting the stems gives each stem more than one row so the plot shows more detail. A split of 2 gives each stem two rows, one for leaves 0 to 4 and one for leaves 5 to 9. A split of 5 gives five rows of two leaves each. Splitting is useful when most of your data lands on only a few stems and the unsplit plot looks like a handful of very long rows.
What is a back-to-back stem and leaf plot?
A back-to-back stem-and-leaf plot compares two datasets on a single shared column of stems. One group's leaves extend to the left of the stems and the other group's leaves extend to the right, so the two distributions are mirrored against the same scale. It makes differences in centre, spread, and shape immediately visible. Enter a second dataset in this tool to build one automatically.
How do you handle negative numbers in a stem and leaf plot?
Negative values use a signed stem and the digit of the leaf stays positive, so −47 becomes stem −4 and leaf 7. Negative stems are listed above the positive ones, and within a negative stem the leaves run from the largest digit to the smallest so that reading left to right still moves from the smallest value to the largest. Because of this a plot can contain both a −0 stem for values from −9 to −1 and a 0 stem for values from 0 to 9.
How do you find the median from a stem and leaf plot?
Because the leaves are already sorted, you can count to the median position. For n values the median sits at position (n + 1) / 2 counting from the first leaf. If n is odd that lands on a single leaf. If n is even, average the two middle leaves. This tool marks the median leaves on the plot with an amber ring so you can see exactly where they fall.
What is the difference between a stem and leaf plot and a histogram?
They show the same information about shape. A stem-and-leaf plot is essentially a histogram lying on its side where each bar is made of the actual digits. The difference is that a histogram discards individual values once they are binned, while a stem-and-leaf plot keeps every value, so you can recover the raw data, the median, and the exact outliers. Histograms are better for large datasets; stem-and-leaf plots are better for small to medium datasets where the actual numbers matter.
Additional Resources
Reference this content, page, or tool as:
"Stem and Leaf Plot Maker" at https://MiniWebtool.com/stem-and-leaf-plot-maker/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: November 28, 2026
Chat with your favorite AI
For Gemini, paste the copied question into the chat. You can also copy it below.
View the question
Statistics And Data Analysis:
- A/B Test Sample Size Calculator New
- A/B Test Significance Calculator New
- ANOVA Calculator
- Arithmetic Mean Calculator
- Average Calculator
- Average Deviation Calculator
- 📊 Bar Graph Maker New
- Bayes' Theorem Calculator New
- Beta Distribution Calculator New
- Box and Whisker Plot Maker
- Chi-Square Test Calculator
- Coefficient of Variation Calculator
- Cohen's d Calculator
- Compound Growth Calculator Popular
- Confidence Interval Calculator
- Confidence Interval for Proportion Calculator
- Contingency Table Calculator New
- Conversion Rate Calculator New
- Correlation Coefficient Calculator
- Effect Size Calculator New
- Exponential Distribution Calculator New
- F-Test / F-Distribution Calculator New
- Fisher's Exact Test Calculator New
- Five Number Summary Calculator New
- Geometric Distribution Calculator New
- Geometric Mean Calculator
- Gini Coefficient Calculator
- Harmonic Mean Calculator
- Histogram Maker
- Hypergeometric Distribution Calculator New
- Interquartile Range Calculator
- Kruskal-Wallis Test Calculator
- 📈 Line Graph Maker New
- Linear Regression Calculator
- Logarithmic Growth Calculator
- Mann-Whitney U Test Calculator
- Mean Absolute Deviation (MAD) Calculator
- Mean Calculator
- Mean Median Mode Calculator
- Median Absolute Deviation Calculator
- Median Calculator Popular
- Midrange Calculator
- Mode Calculator
- Normal Distribution Calculator New
- Odds Ratio Calculator New
- Outlier Calculator Popular
- p-Value Calculator New
- Pareto Chart Generator New
- Percentile Calculator New
- 🥧 Pie Chart Maker New
- Population Standard Deviation Calculator
- Quartile Calculator
- Quartile Deviation Calculator
- Range Calculator
- RSD Calculator - Relative Standard Deviation Popular
- Root Mean Square Calculator
- Sample Mean Calculator
- Sample Size Calculator
- Sample Standard Deviation Calculator
- Scatter Plot Maker
- Six Sigma Process Capability Calculator New
- Spearman Rank Correlation Calculator New
- Standard Deviation Calculator
- Standard Error Calculator Popular
- Statistics Calculator
- t-Test Calculator
- Variance Calculator
- Weibull Distribution Calculator New
- Z-Score Calculator
- Cronbach's Alpha Calculator New
- Likert Scale Calculator New
- Wilcoxon Signed-Rank Test Calculator New
- Stem and Leaf Plot Maker New