STATISTICSStatisticsMathematics Calculator
๐Ÿ“Š

Stem-and-Leaf Plot

Stem-and-leaf plots show distribution while preserving raw data. Stem = leading digits, leaf = trailing digit. E.g., 23 โ†’ stem 2, leaf 3. John Tukey popularized them in 1977.

Concept Fundamentals
Leading digits
Stem
Trailing digit(s)
Leaf
Tens grouping
Unit 1
Compare 2 sets
Back-to-back

Did our AI summary help? Let us know.

John Tukey popularized stem-and-leaf in Exploratory Data Analysis (1977). Stem unit 1: each stem = tens. Unit 10: hundreds. Back-to-back plots compare two groups at a glance.

Key quantities
Leading digits
Stem
Key relation
Trailing digit(s)
Leaf
Key relation
Tens grouping
Unit 1
Key relation
Compare 2 sets
Back-to-back
Key relation

Ready to run the numbers?

Why: Stem-and-leaf combines histogram benefits with raw data preservationโ€”great for small datasets.

How: Enter values; choose stem unit (1 for tens, 10 for hundreds). Back-to-back mode compares two datasets.

John Tukey popularized stem-and-leaf in Exploratory Data Analysis (1977).Stem unit 1: each stem = tens. Unit 10: hundreds.

Run the calculator when you are ready.

Data VisualizationPreserve raw data, show distribution
๐Ÿ“Š
STATISTICSData Visualization

Stem and Leaf Plot Generator

Create stem-and-leaf plots from your data. Min, max, mean, median, mode, range, frequency distribution. Back-to-back mode for comparing two datasets.

๐Ÿ“Š Quick Examples โ€” Click to Load

Inputs

Enter numbers separated by commas, spaces, tabs, or newlines. For decimals like 10.2, 10.5, multiply by 10 (102, 105) and use stem unit 1.

stem_leaf.sh
GENERATED
Stem | Leaf
6|7
7|2 5 8
8|1 2 5 8
9|0 2 5
Data Count
11
Min
67
Max
95
Mean
82.27
Median
82.00
Share:

Frequency Distribution

๐Ÿ“ Calculation Breakdown

DATA
Data count
11 values
Min
67
ext{Smallest} ext{value}
Max
95
ext{Largest} ext{value}
STATISTICS
Range
28
ext{Max} - ext{Min}
Mean
82.27
ext{Sum} div ext{Count}
Median
82.00
ext{Middle} ext{value} ( ext{sorted})
Mode
67, 72, 75, 78, 81, 82, 85, 88, 90, 92, 95
ext{Most} ext{frequent}

For educational and informational purposes only. Verify with a qualified professional.

๐Ÿงฎ Fascinating Math Facts

๐Ÿ“Š

Tukey combined histogram benefits with raw data preservation in stem-and-leaf.

๐Ÿ”ข

Stem 2 with leaves 3 5 7 8 means values 23, 25, 27, 28.

๐Ÿ“‹ Key Takeaways

  • โ€ข Stem-and-leaf plots show distribution while preserving raw data
  • โ€ข Stem = leading digits, Leaf = trailing digit(s). E.g., 23 โ†’ stem 2, leaf 3
  • โ€ข Stem unit 1: each stem = tens. Unit 10: each stem = hundreds. Unit 100: thousands
  • โ€ข Back-to-back mode compares two datasets side by side

๐Ÿ’ก Did You Know?

๐Ÿ“ŠJohn Tukey popularized stem-and-leaf plots in his 1977 book Exploratory Data Analysis. They combine the benefits of histograms and raw data.Source: EDA History
๐Ÿ”ขStem unit determines grouping. For test scores (0-100), unit 1 groups by tens. For heights 150-190 cm, unit 1 works well.Source: Statistics
๐Ÿ“ˆBack-to-back plots let you compare two groups (e.g., male vs female heights, before vs after treatment) at a glance.Source: Comparison
๐Ÿ“Leaves are typically sorted. So stem 2 with leaves 3 5 7 8 means values 23, 25, 27, 28.Source: Convention
๐ŸŽฏStem-and-leaf plots preserve every data point. Histograms lose individual values when binning.Source: Data Preservation
๐Ÿ“šCommon in middle school and high school math. Great for small to medium datasets (roughly 5-100 values).Source: Education

๐Ÿ“– How Stem-and-Leaf Plots Work

Each number is split into a stem (leading part) and a leaf (trailing digit). With stem unit 1, 67 โ†’ stem 6, leaf 7. 72 โ†’ stem 7, leaf 2. Values with the same stem share a row.

Example: 67, 72, 75, 78

Stem 6 | 7. Stem 7 | 2 5 8. So we have 67, 72, 75, 78. The plot reads left to right: stem then leaves.

Stem Unit

Unit 1: 234 โ†’ stem 23, leaf 4 (for numbers 0-999). Unit 10: 234 โ†’ stem 23, leaf 4 (grouping by 10s). Unit 100: 2340 โ†’ stem 23, leaf 4. Choose based on your data range.

For test scores 0-100: unit 1. Stems 5, 6, 7, 8, 9. For heights 150-190 cm: unit 1. Stems 15, 16, 17, 18. For sales in thousands: unit 1 or 10 depending on range.

Back-to-Back Example

Dataset 1: 62, 65, 70, 72. Dataset 2: 68, 71, 75, 78. Back-to-back: stems 6, 7. Left leaves (Dataset 1): 2 5 | 0 2. Right leaves (Dataset 2): 8 | 1 5 8. Compare distributions at a glance.

๐ŸŽฏ Expert Tips

๐Ÿ’ก Choosing Stem Unit

For 2-digit numbers (e.g., 10-99), use unit 1. For 3-digit (100-999), use 1 or 10. For decimals, multiply by 10 or 100 first.

๐Ÿ’ก Back-to-Back

Enter first dataset in Data 1, second in Data 2. Enable back-to-back. Stems in center, leaves on both sides for comparison.

๐Ÿ’ก Data Format

Comma, space, tab, or newline separated. 67 72 75 or 67,72,75 both work. Non-numeric values are ignored.

๐Ÿ’ก Decimals

For 10.2, 10.5, 10.8: multiply by 10 โ†’ 102, 105, 108. Use unit 1. Then interpret stems as 10.x.

โ“ Frequently Asked Questions

What is a stem-and-leaf plot?

A display that organizes data by splitting each value into a stem (leading digits) and leaf (trailing digit). It shows distribution while keeping raw data visible.

When to use stem unit 1 vs 10?

Unit 1: for numbers like 23, 45, 67 (each stem = tens). Unit 10: for 230, 450 (each stem = hundreds). Match unit to your data scale.

Can I use decimals?

Yes. Enter 10.2, 10.5. Or multiply by 10 (102, 105) and use unit 1, then interpret. The calculator accepts decimals.

What is back-to-back mode?

Puts two datasets side by side with shared stems. Useful for comparing groups (e.g., boys vs girls heights).

How do I read the plot?

Each row: stem | leaf leaf leaf. Combine stem with each leaf for the actual value. E.g., 7 | 2 5 8 means 72, 75, 78.

What if I have no mode?

If all values appear once, there is no mode. The calculator shows "None" or lists all values if tied.

Can I use this for grouped data?

Stem-and-leaf is for raw, ungrouped data. For grouped data (e.g., 0-10, 10-20), use a histogram instead.

How do I compare two groups?

Enable back-to-back mode. Enter dataset 1 in the first box, dataset 2 in the second. The plot shows both with shared stems.

What about outliers?

Outliers appear as isolated stems or leaves. E.g., values 12, 15, 18, 95 โ€” the 95 stands out. The statistics (min, max) will reflect them.

๐ŸŽฌ Common Scenarios

Test Scores

Enter scores 0-100. Unit 1. See distribution, median, and who scored in each range.

Heights/Weights

Heights in cm (150-190): unit 1. Weights in kg: unit 1 or 10. Compare male vs female with back-to-back.

Temperatures

Daily temps in ยฐF (60-95): unit 1. Stems 6, 7, 8, 9. Track weekly or monthly patterns.

Sales/Revenue

Sales in hundreds or thousands. Adjust unit to get 5-15 stems. Too many stems = use larger unit.

๐Ÿ“Š Data by the Numbers

5-100
Ideal data count
1, 10, 100
Stem unit options
1977
Tukey EDA published
2
Back-to-back datasets

๐Ÿ“– Glossary

Stem
The leading digits of each value. With unit 1, stem 7 represents the 70s (70-79).
Leaf
The trailing digit(s). Stem 7 with leaves 2 5 8 means 72, 75, 78.
Stem Unit
Determines how values are split. Unit 1: stem=tens, leaf=ones. Unit 10: stem=hundreds, leaf=tens.
Back-to-Back
Two plots side by side with shared stems for comparing two groups.

๐Ÿ“ Understanding Your Results

Stem | Leaf โ€” Each row shows one stem. Combine stem with each leaf digit to get the original values. E.g., 7 | 2 5 8 = 72, 75, 78.

Min, Max, Range โ€” Descriptive statistics. Range = Max - Min.

Mean โ€” Average. Median โ€” Middle value when sorted. Mode โ€” Most frequent value(s).

Frequency Distribution โ€” How often each value appears. The chart shows this visually.

๐Ÿ• When to Use Stem-and-Leaf Plots

  • โ€ข Small to medium datasets: 5-100 values. Too many values make the plot cluttered.
  • โ€ข Quick distribution view: See shape (symmetric, skewed) while keeping raw data.
  • โ€ข Comparing two groups: Back-to-back plots (e.g., male vs female, before vs after).
  • โ€ข Teaching statistics: Common in K-12 and intro stats courses.
  • โ€ข No software: Can be drawn by hand. This calculator automates it.
  • โ€ข Homework and reports: Teachers often require stem-and-leaf plots. This tool generates them quickly.
  • โ€ข Quality control: Compare before/after measurements with back-to-back plots.

๐Ÿ“‹ Full Worked Example

Data: 67, 72, 75, 78, 81, 82, 85, 88, 90, 92, 95. Unit 1.

Stem 6: 67 โ†’ leaf 7. Stem 7: 72, 75, 78 โ†’ leaves 2, 5, 8. Stem 8: 81, 82, 85 โ†’ leaves 1, 2, 5. Stem 9: 90, 92, 95 โ†’ leaves 0, 2, 5.

Plot: 6|7, 7|258, 8|125, 9|025. Min=67, Max=95, Mean=82.5, Median=82, Range=28.

Heights Example (cm)

Data: 152, 158, 165, 168, 172, 175, 178, 182, 185. Unit 1. Stems 15, 16, 17, 18. Leaves: 2; 5 8; 2 5 8; 2 5. Plot shows clustering in 170s. Meanโ‰ˆ170.4, Median=172.

๐Ÿ“Š Sample Plot Format

Stem | Leaf
  6  | 7
  7  | 2 5 8
  8  | 1 2 5
  9  | 0 2 5

This represents: 67, 72, 75, 78, 81, 82, 85, 90, 92, 95

โœ… Tips for Accuracy

  • โ€ข Use stem unit 1 for 2-digit numbers (10-99). Unit 10 for 3-digit (100-999). Unit 100 for 4-digit.
  • โ€ข For decimals (e.g., 10.2, 10.5), multiply by 10 and enter 102, 105. Use unit 1. Interpret stems as 10.x.
  • โ€ข Remove duplicates only if intentional. The plot shows each occurrence; mode counts frequency.
  • โ€ข Back-to-back: ensure both datasets have similar ranges for meaningful comparison.

โš–๏ธ Stem-and-Leaf vs. Histogram

FeatureStem-and-LeafHistogram
Preserves raw dataโœ…โŒ
Shows distributionโœ…โœ…
Good for small dataโœ…โœ…
Good for large dataโš ๏ธ Clutteredโœ…
Easy to construct by handโœ…โš ๏ธ
Compare two groupsโœ… Back-to-backโš ๏ธ Side by side

โš ๏ธ Common Mistakes

  • โ€ข Wrong stem unit: For 67, 72, 75, use unit 1. Using unit 10 gives stem 6, 7 and loses information.
  • โ€ข Unsorted leaves: Leaves should be sorted. This calculator sorts them automatically.
  • โ€ข Too much data: 200+ values make the plot hard to read. Consider a histogram.
  • โ€ข Negative numbers: Stem-and-leaf works best for non-negative data. Negatives need special handling.
  • โ€ข Mixed units: Ensure all values use the same unit (e.g., all cm or all inches). Don't mix.

๐Ÿ”„ What-If Scenarios

What if my data has many repeated values? The plot still shows each occurrence. Mode will identify the most frequent. Frequency distribution will have high counts for those values.

What if I have 200 values? The plot gets long. Consider using a histogram instead, or use a larger stem unit to reduce the number of rows.

What if my data is bimodal? The stem-and-leaf plot will show two "peaks" โ€” clusters of leaves at different stems. The mode might show two values.

Need more statistics?

Try our Mean Median Mode Calculator for central tendency. Standard Deviation Calculator for spread.

Use "Analyze with AI" after generating your plot for distribution interpretation. The AI can identify skewness, outliers, and patterns.

For grade-related stats, try our GPA Calculator and Grade Calculator. For "what do I need on the final?" use the Final Exam Grade Calculator.

๐Ÿ“ Quick Formula Reference

Mean = ฮฃx รท n. Median = middle value (sorted). Mode = most frequent. Range = max - min. Frequency = count of each value.

Stem (unit 1) = floor(value/10). Leaf = value mod 10. For unit 10: stem = floor(value/100), leaf = floor(value/10) mod 10. For unit 100: stem = floor(value/1000), leaf = floor(value/100) mod 10.

To reconstruct a value: value = stem ร— (unit ร— 10) + leaf ร— unit. E.g., stem 7, leaf 5, unit 1: 7ร—10 + 5 = 75.

๐Ÿ“ฑ Mobile & Sharing

Use "Copy Results" to save your stem-and-leaf plot and statistics. Paste into a document or share with classmates. The calculator works on mobile โ€” enter data on the go.

Share on social media using the share buttons. The "Analyze with AI" button opens ChatGPT with your data and statistics for distribution interpretation and pattern detection.

โœ… Quick Checklist

  • โ–ก Enter data (comma or space separated)
  • โ–ก Choose stem unit (1 for 2-digit numbers, 10 for 3-digit, 100 for 4-digit)
  • โ–ก For decimals, multiply by 10 first (10.2 โ†’ 102)
  • โ–ก For back-to-back, enable and enter second dataset
  • โ–ก Copy results for your report or homework
  • โ–ก Use "Analyze with AI" for distribution interpretation

๐Ÿ’ก Remember

Choose stem unit based on your data range. Too many stems? Use a larger unit. Too few? Use a smaller unit. For decimals, multiply by 10 or 100 first. Back-to-back is powerful for comparing groups. Copy your results for reports or homework.

๐Ÿ“Œ Summary

Stem-and-leaf plots organize data by splitting each value into stem (leading digits) and leaf (trailing digit). They show distribution while preserving every data point. Enter your data (comma or space separated), choose stem unit, and optionally enable back-to-back for two datasets.

You get the plot, min, max, mean, median, mode, range, and frequency distribution. Use "Analyze with AI" for interpretation. Great for homework, teaching, and quick data exploration.

The frequency chart visualizes how often each value appears. Use "Copy Results" to save the plot and statistics for your records.

โš ๏ธ Disclaimer: Stem unit interpretation may vary. For very large or very small numbers, adjust accordingly. This calculator uses standard conventions. For decimals, consider multiplying by 10 or 100 first.

HI THERE
๐Ÿ‘‹Stem-and-leaf combines histogram benefits with raw data preservationโ€”great for small datasets.
AI
NumberVibe

Related Calculators