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.
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.
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.
Run the calculator when you are ready.
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.
Frequency Distribution
๐ Calculation Breakdown
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?
๐ 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
๐ 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
| Feature | Stem-and-Leaf | Histogram |
|---|---|---|
| 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.
๐ Official Sources
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.
Related Calculators
Descriptive Statistics Calculator
All-in-one statistics calculator. Compute count, min, max, range, sum, mean, median, mode, variance, standard deviation, coefficient of variation, quartiles...
MathematicsZ-Score Calculator
Calculate z-scores from a raw value (with mean and standard deviation) or from a dataset. Get percentile rank, probability (area under normal curve), and...
MathematicsPercentile Calculator
Calculate any percentile from a dataset. Supports linear interpolation and nearest rank methods. Get full percentile table (every 5th), rank position, and...
MathematicsGamma Function Calculator
Gamma Function Calculator - Calculate and learn about statistics concepts
MathematicsScatter Plot Calculator
Scatter Plot Calculator - Calculate and learn about statistics concepts
MathematicsLeast Squares Regression Calculator
Least Squares Regression Calculator - Calculate and learn about statistics concepts
Mathematics