How to Use This Stem and Leaf Plot Maker
Use this stem and leaf plot generator to turn raw measurements, exam scores, or spreadsheet columns into an ordered table with a dynamic place-value key and descriptive statistics in three quick steps:
- Paste or upload your numbers: Enter values separated by commas, spaces, tabs, or line breaks, or import a local CSV, TXT, or XLSX file. You can also use shorthand like
74:3 to enter repeated values quickly. New to stem plots? See how to read a stem and leaf plot. - Choose your leaf unit and stem splitting: Leave Leaf unit on Auto-detect so tenths, hundredths, or large hundreds scale automatically, or pick a fixed unit. If most leaves crowd into two or three rows, switch Split stems to 2-way or 5-way.
- Inspect the median leaf and export: Check the highlighted median digit, review the per-stem frequency and cumulative frequency columns on the right, and click Download PNG, CSV, or Copy as text for your worksheet or report.
Decimal Values, Split Stems, and Back-to-Back Plots in This Maker
Handling Decimals and Choosing the Leaf Unit
Many classroom generators reject decimal points or round them away silently. In this maker, Auto-detect inspects the decimal precision of your pasted numbers and sets the leaf unit to 0.1 for one-decimal measurements or 0.01 for two-decimal data. When you paste 12.3, 12.8, 13.1, row 12 displays leaves 3 and 8 while the header updates to Key: 12 | 3 = 12.3. If your dataset spans four-digit numbers such as monthly rent, set the leaf unit to 10 or 100 so the plot stays compact. For worked paper-and-pencil rules on place-value keys, visit our guide on how to read a stem and leaf plot.
Splitting Stems When One Row Gets Crowded
When twenty test scores all land in the 70s and 80s, a standard plot stacks ten or fifteen digits onto two lines and flattens the distribution shape. Selecting 2-way split (0–4 and 5–9) breaks every stem into a lower row for leaves 0 through 4 and an upper row for leaves 5 through 9, labeled right beside the stem number. For tightly clustered measurements, 5-way split separates leaves into two-digit bands (0–1, 2–3, 4–5, 6–7, 8–9) while keeping empty intermediate sub-rows visible when Show empty stems is checked.
Building a Back-to-Back Stem and Leaf Plot
Click Back-to-Back at the top of the control card to unlock two side-by-side input boxes with editable group titles. Both groups share the central stem column and use the exact same leaf unit so visual comparison is fair. In the output table, leaves for the right-hand group grow outward to the right in ascending order, while leaves for the left-hand group grow outward to the left from the center line — so 4 2 1 | 3 on the left side represents 31, 32, 34, with the smallest leaf sitting closest to the stem.
What the Statistics Panel Tells You
Directly beneath the generated plot, the tool computes twelve summary metrics from your exact unrounded inputs rather than truncated leaf approximations. Alongside sample size (n), minimum, maximum, range, mean, median, and sample standard deviation (s), the panel reports the first quartile (Q1), third quartile (Q3), and interquartile range (IQR = Q3 − Q1). Any observation below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is flagged as a Tukey outlier both in the summary card and with a red border inside the leaf row. If you need full step-by-step arithmetic formulas for your homework, open our mean, median, mode calculator.
Stem Plot or Histogram? Choosing the Right Tool
Because every leaf represents one data point, a stem plot works best on small to moderate sample sizes where preserving individual numbers matters. Use the table below to pick the clearest chart for your dataset:
| Dataset Scenario | Best Chart Tool | Why It Fits |
|---|
| Small sample (n < 50), exact values needed | Stem and Leaf Plot Maker (this page) | Shows distribution shape while keeping every exact digit readable. |
| Discrete counts or number-line classroom plots (n ≤ 150) | dot plot maker | Stacks one dot or X mark per observation above a number line. |
| Medium to large continuous data (n > 100) | histogram maker | Groups hundreds or thousands of values into clean custom-width bars. |
| Summarizing raw scores into class intervals & % | frequency distribution calculator | Builds class limits, relative percentages, and cumulative totals. |