Stem and Leaf Plot Calculator

Turn a list of whole numbers into an ordered stem-and-leaf plot while preserving every original data value.

Create a stem-and-leaf plot
Enter non-negative whole numbers separated by commas, spaces, or semicolons.

About stem-and-leaf plots

A stem-and-leaf plot is a compact way to display the shape of a numerical data set without losing the individual observations. Each value is split into a stem and a leaf. For ordinary whole-number data, the stem contains every digit except the final one, while the leaf is the final digit. The number 47 therefore appears as stem 4 and leaf 7. Values that share a stem sit on the same row, so clusters, gaps, and the overall spread become easy to see. This calculator accepts non-negative whole numbers and sorts them before constructing the display. Sorting is important because leaves must run from smallest to largest on each row. Repeated values remain repeated leaves; they are not removed. For the data 12, 14, 14, and 17, the row is written 1 | 2 4 4 7. That preserves both the values and their frequencies, which distinguishes a stem-and-leaf display from a simple list of unique observations. The plot is especially useful for small and medium data sets. It gives much of the visual information of a histogram while allowing a reader to reconstruct every input. A concentration of leaves on neighboring stems suggests a cluster, empty stems reveal gaps, and isolated leaves may indicate possible outliers. The first and last plotted values also reveal the minimum, maximum, and range immediately. Because the data stay visible, medians and modes can often be identified directly. Interpretation depends on the key. In this calculator, the final digit is always the leaf, so 1 | 2 means 12 and 10 | 5 means 105. Decimal measurements would require a different place-value convention and are therefore not accepted. If your observations contain decimals, multiply every value by the same power of ten before entering them, then explain that scale when presenting the plot. For example, temperatures recorded to one decimal place can be multiplied by ten. Stem-and-leaf plots work best when the data occupy a manageable range. A list that stretches from single digits to millions may create stems that are too sparse to be informative. In that situation, grouped frequency tables, dot plots, or histograms are usually clearer. For classroom exercises, quality-control readings, test scores, and other compact whole-number samples, this calculator provides an immediate, auditable display that can be copied into notes or checked against a hand-built plot.

Stem-and-leaf plot examples

DataPlot excerptInterpretation
12, 14, 17, 21, 23, 351 | 2 4 7; 2 | 1 3; 3 | 5The data form three stems, and each leaf retains the ones digit.
8, 5, 8, 2, 11, 100 | 2 5 8 8; 1 | 0 1Repeated eights remain visible as two leaves on stem zero.
40, 42, 45, 494 | 0 2 5 9All observations share a stem and the leaves are sorted.

How to make a stem-and-leaf plot

  1. Enter non-negative whole-number observations separated by commas, spaces, or semicolons.
  2. Click Create stem-and-leaf plot to sort the values and group them by tens.
  3. Read each row by combining its stem with each leaf in order.
  4. Use the key to confirm place value before interpreting clusters, gaps, or outliers.

Stem-and-leaf plot FAQ

What does the stem represent?

The stem contains all digits before the final digit for each whole number. A stem of 4 paired with a leaf of 7 represents 47.

Why are the leaves sorted?

Ordered leaves make the distribution and median easier to inspect. Sorting also ensures the original values can be reconstructed in ascending order.

Do repeated numbers appear more than once?

Yes, every observation contributes one leaf. Duplicate leaves show the frequency of a repeated value rather than being discarded.

Can I enter decimal values?

This calculator uses the ones digit as the leaf and accepts whole numbers. Scale all decimals consistently first, then state the adjusted key with your plot.

When should I use a histogram instead?

A histogram is usually clearer for very large data sets or values spanning a huge range. A stem-and-leaf plot is best when retaining exact observations is useful.