Stem and Leaf Plot Generator

Generate a stem-and-leaf plot from your dataset.
Paste numbers and get an organized plot with median, quartiles, and summary statistics instantly.

Stem-and-Leaf Plot

Stem-and-Leaf Plot

A stem-and-leaf plot (stemplot) organizes numeric data to show its distribution while preserving every individual value. It is a quick exploratory tool that reveals shape, center, and spread without losing raw data.

How It Works

Each number is split into two parts:

  • Stem: The leading digit(s) — typically the tens place (or hundreds for large data)
  • Leaf: The trailing digit — typically the units place

For example, the number 47 has stem 4 and leaf 7.

Reading a Stem-and-Leaf Plot

Each row shows all values sharing the same stem. Leaves are sorted in ascending order within each row. Rotating the plot 90° reveals a histogram shape.

Example — Dataset: 23, 25, 31, 34, 34, 38, 42, 45

2 | 3 5
3 | 1 4 4 8
4 | 2 5

Key | Notation

Plots include a key such as “3 | 4 means 34” to clarify the scale.

Summary Statistics

This calculator also computes:

  • Minimum, maximum, range
  • Median (middle value)
  • Q1 (25th percentile) and Q3 (75th percentile)
  • Interquartile range (IQR = Q3 − Q1)
  • Mean

Best Used When

  • Dataset has 5–50 values
  • Data fits in two digit stems (10s and units)
  • You want to see shape and individual values simultaneously

Limitations

Large datasets become unwieldy. Decimal data may need rounding first. This calculator rounds all values to the nearest integer.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.