Skip to main content
Mathematics LibreTexts

Section 6.3: Stem-and-Leaf Plots

  • Page ID
    216503
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Learning Objectives
    • Draw a stem and leaf plot for a data set

     


    Another type of graphical display is a stem-and-leaf plot. Stem-and-leaf plots offer several unique advantages that make them valuable tools for data analysis. Unlike other graphical displays such as histograms or bar charts that summarize data into bars or categories, a stem-and-leaf plot maintains all the original data points. This dual nature being both a graph and a data list makes it particularly useful for exploratory data analysis.

    Definition: Stem-and-Leaf Plot

    A stem-and-leaf plot (also called a stem-and-leaf diagram, stem-and-leaf graph, and/or stemplot) is a data display method that organizes numerical data while preserving the actual data values. It provides a quick visual representation of the distribution's shape while allowing you to see every individual data point.

    Each data value is split into two parts:

    • Stem: The leading digit(s)
    • Leaf: The trailing digit (usually the last digit)

    The stems are listed vertically, and the leaves are listed horizontally next to their corresponding stem.Edit section

    Making a Stem-and-Leaf Plot
    • Step 1 — Organize your data: Arrange your data values in order from smallest to largest. This isn't strictly necessary, but it makes the process easier and ensures your final plot is organized.
    • Step 2 — Decide on stems and leaves: Determine how to split each number:
      • Stem: Usually the leading digit(s) — the tens place for two-digit numbers
      • Leaf: Usually the last digit — the ones place for two-digit numbers
    • Step 3 — List all possible stems vertically: Write the stems in a column from smallest to largest, even if some stems won't have any leaves. This shows where gaps exist in the data
    • Step 4 — Add the leaves: Go through your sorted data and place each leaf next to its corresponding stem. Write leaves in order from smallest to largest. (If any leaf or leaves are too long to your disliking, you have the option to use to lines per stem, if necessary).
    • Step 5 — Add a key: Always include a key that explains how to read the plot. This is essential for interpretation.
    ✅ A Stem-and-Leaf Plot is BEST used for:

    ✓ Small to moderate data sets (roughly 15-100 values)
    ✓ Initial exploratory data analysis
    ✓ When you need to preserve exact data values
    ✓ Quick manual analysis without technology
    ✓ Comparing two small groups
    ✓ Teaching introductory statistics concepts

    ❌ A Stem-and-Leaf Plot is NOT IDEAL for:

    ✗ Very large data sets (becomes cluttered and hard to read)
    ✗ Data with many decimal places (too complex)
    ✗ Formal presentations (histograms look more professional)
    ✗ When only the distribution shape matters (histogram is cleaner)
    ✗ Comparing more than two groups

    The stem-and-leaf plot is a "best of both worlds" tool: it gives you the visual insight of a graph while maintaining the precision of a data list. It's particularly valuable in the early stages of data analysis when you want to understand your data quickly without losing any information. While modern technology has made more sophisticated graphs easier to create, the stem-and-leaf plot remains a practical, efficient, and instructive tool for understanding distributions.

    Example #6.3.1 ðŸ¤”

    In the NFL, the 2013 Denver Broncos set the record for both the most points scored in a season and most passing yards in a season, at 606 and 5,572, respectively, both the all-time NFL records. In that year, the following points scored per game is the following:

    49, 41, 37, 52, 51, 35, 33, 45, 28, 27, 31, 35, 51, 20, 37, 34

    Draw a stem-and-leaf plot for the data.


    ✅ Solution:
    • Step 1 — Organize your data: 20, 27, 28, 31, 33, 34, 35, 35, 37, 37, 41, 45, 49, 51, 51, 52
    • Step 2 — Decide on stems and leaves: Stems are the tens place and the leaves are the ones place (last digit) of any two-digit number in the data set.
    • Step 3 — List all possible stems vertically: Write the stems in a column from smallest to largest, even if some stems won't have any leaves. This shows where gaps exist in the data.
    • Step 4 — Add the leaves: Go through your sorted data and place each leaf next to its corresponding stem. Write leaves in order from smallest to largest.

    \(\begin{array}{c|lc}2&078\\3&1345577\\4&159\\5&112\\\end{array}\)

    • Step 5 — Add a key: Key: 2|0 = 20
    Example #6.3.2 ðŸ¤”

    A meteorologist recorded the high temperatures (in °F) for 20 days:

    68, 72, 75, 71, 69, 74, 78, 82, 79, 76, 73, 75, 77, 80, 81, 74, 76, 78, 79, 83

    Draw a stem-and-leaf plot for the data.


    ✅ Solution:
    • Step 1 — Organize your data: 68, 69, 71, 72, 73, 74, 74, 75, 75, 76, 76, 77, 78, 78, 79, 79, 80, 81, 82, 83
    • Step 2 — Decide on stems and leaves: Stems are the tens place and the leaves are the ones place (last digit) of any two-digit number in the data set.
    • Step 3 — List all possible stems v
    • ertically: Write the stems in a column from smallest to largest, even if some stems won't have any leaves. This shows where gaps exist in the data.
    • Step 4 — Add the leaves: Go through your sorted data and place each leaf next to its corresponding stem. Write leaves in order from smallest to largest.

    \(\begin{array}{c|lc}6&89\\7&12344556678899\\8&0123\\\end{array}\)

    • Step 5 — Add a key: Key: 6|8 = 68
    Example #6.3.3 ðŸ¤”

    The ages of 20 customers at a local movie theater was recorded. The data set is as follows:

    62, 55, 19, 15, 43, 28, 27, 16, 41, 57, 21, 21, 25, 46, 48, 19, 29, 23, 40, 20

    Draw a stem-and-leaf plot for the data.


    ✅ Solution:
    • Step 1 — Organize your data: 15, 16, 19, 19, 20, 21, 21, 23, 25, 26, 27, 28, 29, 40, 41, 43, 46, 48, 55, 57
    • Step 2 — Decide on stems and leaves: Stems are the tens place and the leaves are the ones place (last digit) of any two-digit number in the data set.
    • Step 3 — List all possible stems vertically: Write the stems in a column from smallest to largest, even if some stems won't have any leaves. This shows where gaps exist in the data.
    • Step 4 — Add the leaves: Go through your sorted data and place each leaf next to its corresponding stem. Write leaves in order from smallest to largest.

    \(\begin{array}{c|lc}1&5699\\2&01135789\\4&01368\\5&57\\6&2\\\end{array}\)

    • Step 5 — Add a key: Key: 1|5 = 15.
    Example #6.3.4 ðŸ¤”

    In the 2025-2026 National Hockey League (NHL) season, the overall standings in points for all 32 teams is displayed below:

    2025-2026 NHL point standings by division
    Pacific Division Pts Central Division Pts Metropolitan Division Pts Atlantic Division Pts
    Vegas Golden Knights 95 Colorado Avalanche 121 Carolina Hurricanes 113 Buffalo Sabres 109
    Edmonton Oilers 93 Dallas Stars 112 Pittsburgh Penguins 98 Tampa Bay Lightning 106
    Anaheim Ducks 92 Minnesota Wild 104 Philadelphia Flyers 98 Montréal Canadiens 106
    Los Angeles Kings 90 Utah Mammoth 92 Washington Capitals 95 Boston Bruins 100
    San Jose Sharks 86 St. Louis Blues 86 Columbus Blue Jackets 92 Ottawa Senators 99
    Seattle Kraken 79 Nashville Predators 86 New York Islanders 91 Detroit Red Wings 92
    Calgary Flames 77 Winnipeg Jets 82 New Jersey Devils 87 Florida Panthers 84
    Vancouver Canucks 58 Chicago Blackhawks 72 New York Rangers 77 Toronto Maple Leafs 78

    Draw a stem-and-leaf plot for the data. 


    ✅ Solution:
    • Step 1 — Organize your data: 58, 72, 77, 77, 78, 79, 82, 84, 86, 86, 86, 87, 90, 91, 92, 92, 92, 92, 93, 95, 95, 98, 98, 99, 100, 104, 106, 106, 109, 112, 113, 121
    • Step 2 — Decide on stems and leaves: Stems are the tens place and the leaves are the ones place (last digit) of any two or three-digit number in the data set.
    • Step 3 — List all possible stems vertically: Write the stems in a column from smallest to largest, even if some stems won't have any leaves. This shows where gaps exist in the data.
    • Step 4 — Add the leaves: Go through your sorted data and place each leaf next to its corresponding stem. Write leaves in order from smallest to largest.

    \(\begin{array}{c|lc}5&8\\7&27789\\8&246667\\9&012222355889\\10&04669\\11&23\\12&1\\\end{array}\)

    • Step 5 — Add a key: Key: 5|8 = 58 or 12|1 = 121.
    Example #6.3.5 ðŸ¤”

    The GPA’s (rounded to the nearest tenth) of a fundamental high school were noted:

    2.8, 2.9, 2.0, 2.4, 3.4, 4.0, 3.8, 3.6, 3.8, 2.9, 2.0, 2.8, 2.7, 0.9, 4.0, 3.5, 3.5, 2.8, 2.4, 2.3, 3.5, 2.8, 2.9, 3.2, 3.5, 3.7, 4.0, 2.2

    Draw a stem-and-leaf plot for the data.


    ✅ Solution:
    • Step 1 — Organize your data: 0.9, 2.0, 2.0, 2.2, 2.3, 2.4, 2.4, 2.7, 2.8, 2.8, 2.8, 2.8, 2.9, 2.9, 2.9, 3.2, 3.4, 3.5, 3.5, 3.5, 3.5, 3.6, 3.7, 3.8, 3.8, 4.0, 4.0, 4.0
    • Step 2 — Decide on stems and leaves: So, for the first time we have decimals. As long as the data doesn't have a long range of values, we can still construct a stem-and-leaf plot here. Stems, now, are the ones place and the leaves are the tenths place (last digit) of any number in the data set.
    • Step 3 — List all possible stems vertically: Write the stems in a column from smallest to largest, even if some stems won't have any leaves. This shows where gaps exist in the data.
    • Step 4 — Add the leaves: Go through your sorted data and place each leaf next to its corresponding stem. Write leaves in order from smallest to largest.

    \(\begin{array}{c|lc}0&9\\2&00234478888999\\3&2455556788\\4&000\\\end{array}\)

    • Step 5 — Add a key: Key: 0|9 = 0.9. (This is why it is inportant to have the key here, because there are no decimal points in the stem-and-leaf plot.
    Section 6.3: Stem-and-Leaf Plots [In-Class Exercises]

    For Exercises 1 through 3, draw a stem-and-leaf plot for each data set given.

    1. The following data represent the number of minutes 15 students spent studying for an exam:

    45, 62, 58, 71, 67, 74, 53, 60, 68, 72, 59, 65, 55, 70, 64

    1. The following data show the number of pages read by students last week:

    102, 87, 95, 110, 124, 98, 105, 116, 89, 92, 101, 108, 117, 90, 96, 112, 99, 120

    1. The following data represent sales (in dollars) at a café during their slowest hour:X

    145, 152, 138, 160, 149, 176, 155, 142, 158, 151, 147, 181, 132, 154, 152, 168, 118, 175

    1. According to the California Department of Conservation, the table below shows the California's largest ever recorded earthquakes since 1800, ranked by date. 

    California's largest ever recorded earthquakes since 1800
    Magnitude​ Date Location Damage
    7.9 Jan. 9, 1857 Fort Tejon Two killed; 220-mile surface scar
    7.4 Mar. 26, 1872 Owens Valley 27 kille​d; three aftershocks of magnitude >6
    7.8 April 18, 1906 San Francisco Possibly 3,000 killed; 225,000 displaced
    7.2 Jan. 22, 1923 Mendocino* Damaged homes in several towns
    7.1 Nov. 4, 1927 SW of Lompoc* No major injuries; slight damage in 2 counties
    6.4 March 10, 1933 SE of Long Beach 115 killed; led to new building codes for schools
    7.0 May 18, 1940 El Centro 9 killed; $6 million in damage
    7.3 July 21, 1952 Kern County 12 killed; 3 magnitude >6 aftershocks in 5 days
    6.6 Feb. 9, 1971 San Fernando 65 killed; 2,000 injured; $505 million in damage​
    7.4 Nov. 8, 1980 W. of Eureka* Injured 6; $2 million in damage
    6.9 Oct. 17, 1989 Bay Area 63 killed; 3,753 hurt; up to $10 billion in damage
    7.2 April 25, 1992 Cape Mendocino 356 injuries; $48.3 million in damage
    7.3 June 28, 1992 Landers One killed; 400 injured; $9.1 million in damage
    6.7 Jan. 17, 1994 Northridge 57 killed; 9,000 hurt, up to $40 billion in damage
    7.1 Oct. 16, 1999 Ludlow Minimal damage due to remote location
    7.1 July 5, 2019 Ridgecrest/Trona Preceded by M6.4 quake; no fatalities

    Draw a stem-and-leaf plot for the magnitude ratings.

    Answers
    1. \(\begin{array}{c|lc}4&5\\5&3589\\6&024578\\7&0124\\\end{array}\)
    2. \(\begin{array}{c|lc}8&79\\9&025689\\10&1258\\11&0267\\12&04\\\end{array}\)
    3. \(\begin{array}{c|lc}11&8\\13&28\\14&2579\\15&122458\\16&08\\17&56\\18&1\\\end{array}\)
    4. \(\begin{array}{c|lc}6&4679\\7&11122334489\\\end{array}\)


    This page titled Section 6.3: Stem-and-Leaf Plots is shared under a not declared license and was authored, remixed, and/or curated by Timothy Cooley.

    • Was this article helpful?