Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Home Page > Math > Statistics And Data Analysis

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.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Stem and Leaf Plot MakerTry it now — free ▼
12 15 21 23 23 27 31 34 35 38 42 44 47 52 1 2 5 2 1 3 3 7 3 1 4 5 8 4 2 4 7 5 2 3 | 4 = 34
Paste numbers, get the plot with its key

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.

Quick examples — click to fill the form, then press the button:
Separate values with commas, spaces, or new lines. Decimals and negatives are fine.
Add a second list to build a back-to-back comparison plot.

Embed Stem and Leaf Plot Maker Widget

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.

Stem and Leaf Plot Maker: features at a glance
FeatureWhat you getGood for
Any list of numbersPaste values separated by spaces, commas or new lines; decimals and negative numbers work.Homework and class data
Key and leaf unitChoose the leaf unit (0.1, 1, 10 …) and the key is written for you, such as 3 | 4 = 34.Reading the plot correctly
Split stemsOne, two or five rows per stem to spread out crowded data.Data bunched into a few stems
Back-to-back plotCompare two groups on one shared stem, with their own statistics.Comparing two classes or tests
Median, quartiles, outliersMarked on the plot itself, with mean, range, IQR and mode in a table.Answering the questions under the plot
What the plot tells youShape, clusters, gaps and outliers explained in plain words, plus the steps used to build it.Writing the interpretation
Copy and PDF reportCopy 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

  1. 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.
  2. 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.
  3. Add a second dataset (optional): Paste a second list to get a back-to-back comparison plot and a two-group summary.
  4. Click Make Stem and Leaf Plot: The plot builds instantly, with frequency bars behind the leaves and markers on the median, quartiles, and outliers.
  5. 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:

Stem | Leaves -----+--------- 1 | 2 5 7 2 | 1 3 8 3 | 1 4 6 4 | 2 -----+--------- Key: 1 | 2 = 12 (leaf unit = 1)

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

  1. Sort the data from smallest to largest. Everything downstream depends on this.
  2. 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.
  3. Split each value into a stem and a leaf. With a leaf unit of 1, the value 47 becomes stem 4, leaf 7.
  4. 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.
  5. Write the leaves next to each stem in ascending order, one digit each.
  6. 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 unit4 | 7 meansGood for
0.010.47Precise measurements, lab data
0.14.7Data with one decimal place
147Test scores, ages, counts
10470Wide ranges in the hundreds
1004700Salaries, 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 5 means −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.

Mean
$$\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i$$
Sample Standard Deviation
$$s = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}\left(x_i - \bar{x}\right)^2}$$
Outlier Fences (1.5 × IQR Rule)
$$\text{Lower} = Q_1 - 1.5 \times \text{IQR}$$ $$\text{Upper} = Q_3 + 1.5 \times \text{IQR}$$

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:

Pearson's Second Skewness Coefficient
$$Sk_2 = \frac{3\left(\bar{x} - \text{median}\right)}{s}$$
ShapeWhat the plot looks likeTypical cause
Roughly symmetricRows longest in the middle, tapering evenly both waysNatural measurements: heights, errors
Right-skewedLong tail of short rows at the bottom (high values)Incomes, wait times, house prices
Left-skewedLong tail of short rows at the top (low values)Easy test scores, age at death
BimodalTwo separate clusters of long rowsTwo 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:

FeatureStem and Leaf PlotHistogram
Keeps original valuesYes — every digit is thereNo — values are lost in bins
Median by countingYesNo
Best dataset sizeAbout 15–150 valuesAny size, especially large
Bin width controlLeaf unit and stem splitAny bin width
Spot exact outliersYesOnly 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

🎓 Statistics homework

Stemplots are a staple of GCSE, AP Statistics, and intro college courses — and they are graded on the key line and the empty stems.

📝 Test scores

See the class distribution and every individual score at once, then compare two sections back-to-back.

🔬 Lab measurements

Small samples with decimals, where you need to spot a bad reading without losing the actual figures.

🏭 Quality control

A quick sideways histogram of a small batch that still shows exactly which units were out of tolerance.

🔍 Exploratory analysis

Tukey's original use: the first look at a new dataset, before deciding what to test.

🚩 Finding outliers

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 = 47 and 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:

Top & Updated:

📈 Line Graph Maker📊 Bar Graph Maker🥧 Pie Chart MakerView all →
Home Page > Math > Statistics And Data Analysis > Stem and Leaf Plot Maker