Learning to Create Stem and Leaf Plots with Decimal Data


A Stem and Leaf Plot is an exceptionally powerful and visually intuitive graphical technique employed in statistics for the efficient display of quantitative datasets. Unlike traditional frequency distributions or histograms, this method cleverly preserves the integrity of individual data points while simultaneously providing a rapid summary of the data’s overall shape and spread. The core mechanism involves meticulously separating each numerical value within the data into two distinct components: the “stem,” which typically represents the leading or major value digits, and the “leaf,” which comprises the trailing or minor digits.

This unique dual function—preserving raw data while illustrating distribution—makes the stem and leaf plot invaluable in exploratory data analysis. While a histogram groups values into predefined bins, potentially obscuring detail, the stem and leaf plot provides an immediate, ordered list of all observations. Consequently, statisticians and analysts rely on this plot for a quick, unfiltered look at the characteristics of a distribution, including its symmetry, skewness, and the presence of potential outliers.

Understanding the Foundation of the Stem and Leaf Plot Structure

To fully appreciate the versatility of the stem and leaf plot when handling complex data, it is essential to first solidify the understanding of its construction using simple integer values. The fundamental procedure requires establishing a clear, consistent, and logical rule for partitioning every observation into its stem and leaf components. This definition is the cornerstone of the plot’s accuracy and readability.

Consider a straightforward example involving a dataset consisting solely of integers. Suppose we are analyzing the scores from a short quiz, presented below:

Dataset: 12, 14, 18, 22, 22, 23, 25, 25, 28, 45, 47, 48

If we define the tens digit of each score as the “stem” and the units digit as the “leaf,” we can systematically organize this information. The stems are aligned vertically in ascending order down the left side, separated by a vertical line from the leaves, which are listed horizontally in ascending order corresponding to their respective stems. This organizational structure immediately reveals the data density within different ranges.

The resulting plot clearly organizes the data, grouping values that share the same major component (the stem). This visualization effectively summarizes where most of the scores fall, as illustrated by the graphical representation:

While this method is inherently simple and highly effective for integers, modern real-world data often involves measurements requiring higher levels of precision, inevitably leading to the use of decimals. Adapting the plot for non-integer values is crucial for maintaining its utility across diverse analytical contexts.

Adapting Stem and Leaf Plots for Decimal Values

Although the initial examples of stem and leaf plots often focus on whole numbers, the technique seamlessly extends its utility to data containing decimals. The primary conceptual hurdle when migrating to non-integers is establishing a consistent and unambiguous boundary between the stem and the leaf. This boundary definition is not arbitrary; rather, it must be carefully chosen based on the distribution of the data and the specific level of precision the analyst wishes to highlight in the graphical display.

The inherent flexibility of the Stem and Leaf Plot permits defining the stem using various combinations of leading digits. This might include the entire integer part of the number, or perhaps the integer part combined with the first one or two decimal places. The leaf component, conversely, is always restricted to the remaining trailing digits, ideally consisting of a single digit to maintain visual clarity and ease of reading the plot.

Choosing the correct partitioning rule is vital for effective visualization. If the stem is too narrow (e.g., just the integer part for highly precise data), the leaves may become excessively long, cluttering the plot. Conversely, if the stem is too wide, the plot might lose its ability to show fine distribution details, similar to using overly large bins in a histogram. The following practical examples demonstrate how to successfully manage and display data containing decimals, ensuring that the final plot is both accurate and insightful.

Example 1: Constructing a Plot with One Decimal Place

When analyzing data measured accurately to a single decimal place, the standard convention dictates a simple and intuitive partitioning rule: the integer portion of the number constitutes the stem, and the digit immediately following the decimal point serves as the leaf. This approach works efficiently because it results in single-digit leaves, which is ideal for this type of graphical representation.

Let us examine a dataset representing measured lengths (in centimeters), where precision extends to the tenths place:

Dataset: 11.6, 12.2, 12.5, 12.6, 13.7, 13.8, 14.1, 15.2

In this specific scenario, the stems will be the integer components (11, 12, 13, 14, 15), and the leaves will be the tenths digits (6, 2, 5, 6, 7, 8, 1, 2). It is absolutely crucial that, before plotting, the data points are ordered and that all leaves corresponding to a particular stem are listed sequentially in ascending numerical order, ensuring the plot provides a true representation of the data distribution.

By defining the digits preceding the decimal as the stem and the digits following the decimal as the leaf, we achieve the following organized plot:

Stem and leaf plot with decimals

A non-negotiable requirement for presenting any stem and leaf plot, particularly one involving decimals, is the inclusion of a clear key or legend. The key must explicitly instruct the reader on how the stem and leaf combine to reconstruct the original data value, thus eliminating any potential ambiguity regarding the implied location and magnitude of the decimal point.

Example 2: Managing Data with Multiple Decimal Places

When working with highly precise data that contains two or more decimal places, the definition of the stem requires careful adjustment to maintain the plot’s readability and statistical effectiveness. If we were to use only the integer part as the stem, the resulting leaves would contain multiple digits (e.g., ’26’ for 3.26), which contradicts the convention of using single-digit leaves and defeats the purpose of providing a rapid, concise visual summary.

To overcome this challenge, for data with precision extending to the hundredths or thousandths place, the standard practice is to define the stem as a combination of the integer and the first decimal place. This strategy ensures that the leaf remains a single, manageable digit (typically the hundredths digit), allowing the plot to effectively group similar values without sacrificing precision.

Suppose we have the following precise measurement dataset:

Dataset: 3.26, 3.28, 3.34, 3.38, 3.41, 3.42, 3.44, 3.59, 3.63

By defining the stem as “3.2,” “3.3,” “3.4,” “3.5,” and “3.6,” we create meaningful visual groups. This choice ensures that the leaf—the hundredths digit—is a single number, thereby maintaining the integrity and clarity of the plot structure. This level of detail is necessary when subtle differences in measurement are statistically significant.

The resulting plot, where the stem includes the integer and the tenths place, and the leaf represents the hundredths place, is highly detailed and structurally sound:

Stem and leaf plot with two decimal places

This organized structure accurately reflects the underlying distribution and density of the original measurements. As always, the correct interpretation hinges entirely on strict adherence to the defined stem-leaf relationship, reinforcing the absolute necessity of a clear, accompanying key.

The Essential Role of the Key in Decimal Plots

In the field of statistical graphics, the presence of a clear legend or key is always critical, but its importance is dramatically amplified when dealing with stem and leaf plots that incorporate decimals. Since the vertical line separating the stem and the leaf does not graphically represent the decimal point itself, the key serves as the definitive textual instruction manual for the reader, ensuring accurate translation of the visualization back into numerical data.

The key must unequivocally demonstrate how the stem value, separated by the plot’s vertical line from the corresponding leaf value, maps directly back to the original numerical magnitude and correct decimal placement. This removes all potential ambiguity regarding the scale of the represented data points.

For instance, using the data from Example 2, the key should be stated as 3.2 | 6 = 3.26. This explicit definition immediately confirms that the stem encompasses the tenths place and the leaf represents the hundredths place. Without this vital clarification, a reader might incorrectly assume that 3 | 26 represents 32.6, or even 326, leading to gross misinterpretations of the entire dataset.

It is best practice to position the key prominently, typically at the base of the plot. This ensures that the reader is immediately aware of the unit of measurement and the specific decimal partitioning rule utilized throughout the data visualization, guaranteeing integrity in communication.

Example 3: Interpreting Descriptive Statistical Measures

One of the most significant practical advantages of the stem and leaf plot is its ability to facilitate the quick calculation of various descriptive statistics directly from the visual display, even when working with complex decimal values. By simply reading the plot structure, analysts can easily determine key measures of central tendency and spread without needing to revert to the original, unsorted list of numbers.

Let us analyze a complete stem and leaf plot provided below, which represents a continuous measurement dataset:

Stem and leaf plot with decimal example

The plot includes the key: 4 | 5 = 4.5. Using this definition, we can efficiently address several fundamental statistical inquiries.

Question 1: What is the maximum value in the dataset?

The maximum value is always located at the end of the plot, corresponding to the largest stem and the largest leaf associated with that stem. The largest stem is 8, and the largest leaf is 3.

Therefore, the maximum observed value in this distribution is 8.3.

Question 2: What is the range of the dataset?

The Range (R) is calculated as the difference between the maximum value and the minimum value, providing a simple measure of data spread. We already identified the maximum as 8.3. The minimum value is determined by locating the smallest stem (4) and its smallest leaf (5), yielding 4.5.

The range is calculated as: 8.3 (Maximum) – 4.5 (Minimum) = 3.8.

Question 3: What is the mode of the dataset?

The Mode is defined as the value that appears with the greatest frequency within the data. On a stem and leaf plot, the mode is easily identified by looking for the leaf value that is repeated the most times next to the same stem.

We can clearly observe that the leaf ‘2’ appears three consecutive times next to the stem ‘8’.

This repetition corresponds precisely to the data value 8.2, which is the mode of this dataset.

Question 4: What is the median of the dataset?

The Median is the central value that divides the ordered dataset exactly in half. To locate it, we first calculate the total count of data points (N) by summing all the leaves.

Counting the leaves (3 + 2 + 1 + 5) gives a total count of N = 11 data points. Since N is odd, the median will occupy the (N+1)/2 position, which is the (11+1)/2 = 6th value when counted from either end.

We must sequentially list the individual values represented by the plot to accurately locate the 6th position:

  1. 4.5
  2. 4.7
  3. 4.9
  4. 5.2
  5. 5.4
  6. 6.1 (6th value, the Median)
  7. 7.8
  8. 8.2
  9. 8.2
  10. 8.2
  11. 8.3

Based on this sequential ordering, the median value of the dataset is definitively 6.1.

Further Exploration and Advanced Concepts

To further enhance your mastery of statistical visualization and descriptive metrics, there are several related topics that build upon the foundation of the stem and leaf plot. Understanding these concepts will deepen your ability to analyze and interpret complex numerical data effectively.

When dealing with much larger datasets, standard stem and leaf plots can become unwieldy. In these situations, advanced techniques such as using split stems (where each stem value is listed twice, once for leaves 0-4 and once for leaves 5-9) can significantly improve the plot’s resolution and readability.

Additionally, comparing the stem and leaf plot’s output with other graphical methods provides a holistic view of the data:

  • Methods for computing measures of central tendency, such as the mean, and measures of variability, such as the standard deviation.
  • Techniques for creating alternative graphical summaries, including histograms and box plots, and understanding their unique advantages and disadvantages compared to the stem and leaf plot.
  • Strategies for handling data where the precision extends far beyond the tenths or hundredths place, requiring careful rounding or truncation before plotting.

Cite this article

Mohammed looti (2025). Learning to Create Stem and Leaf Plots with Decimal Data. PSYCHOLOGICAL STATISTICS. Retrieved from https://statistics.arabpsychology.com/make-a-stem-and-leaf-plot-with-decimals/

Mohammed looti. "Learning to Create Stem and Leaf Plots with Decimal Data." PSYCHOLOGICAL STATISTICS, 5 Nov. 2025, https://statistics.arabpsychology.com/make-a-stem-and-leaf-plot-with-decimals/.

Mohammed looti. "Learning to Create Stem and Leaf Plots with Decimal Data." PSYCHOLOGICAL STATISTICS, 2025. https://statistics.arabpsychology.com/make-a-stem-and-leaf-plot-with-decimals/.

Mohammed looti (2025) 'Learning to Create Stem and Leaf Plots with Decimal Data', PSYCHOLOGICAL STATISTICS. Available at: https://statistics.arabpsychology.com/make-a-stem-and-leaf-plot-with-decimals/.

[1] Mohammed looti, "Learning to Create Stem and Leaf Plots with Decimal Data," PSYCHOLOGICAL STATISTICS, vol. X, no. Y, ص Z-Z, November, 2025.

Mohammed looti. Learning to Create Stem and Leaf Plots with Decimal Data. PSYCHOLOGICAL STATISTICS. 2025;vol(issue):pages.

Download Post (.PDF)
Scroll to Top