Online Calculators

# Stem and Leaf Plot Generator

Stem and Leaf Plot
Leaves are Digits

Stem and Leaf Plot

Stem
Leaf
2
2 5 6
3
3 5 6 8
4
2 5 5 6 7 7 7 8 8 9
5
2 4 6 8 8
6
5 8 9
7
4 5
8
7
9
9
Calculated Statistics:

Minimum:
22
Maximum:
99
Range:
77
Count:
29
Sum:
1494
Mean:
51.52
Median:
48
Mode:
47
Standard Deviation:
17.93
Variance:
321.5

For more detailed statistics use the
Descriptive Statistics Calculator

## Calculator Use

Generate an online stem and leaf plot, or stemplot, and calculate basic descriptive statistics for a sample data set with 4 or more values and up to 2500 values, positive and negative. Enter values separated by commas such as 31, 26, 20, 28, 13, 10, 18, 13.

You can also copy and paste lines of data points from documents such as Excel spreadsheets or text documents with or without commas in the formats shown in the table below.

### Notes:

• Does not handle decimals. If you need to work with decimals you can multiply all of your values by a factor of 10 and calculate based on those.  You will just need to interpret the results appropriately.

For additional descriptive statistical values see Descriptive Statistics Calculator.

Below is a sample stem and leaf plot and calculated statistical values.

## Sample Stem and Leaf Plot with Split Stems

### Data Set:

42, 14, 22, 16, 2, 15, 8, 27, 6, 15, 19, 48, 4, 31, 26, 20, 28, 13, 10, 18, 13, 15, 48, 16, 15, 5, 18, 16, 28, 11, 0, 27, 28, 5, 40, 21, 18, 7, 12, 6, 40, 12, 2, 20, 35, 3, 16, 13, 8, 15, 7, 65, 65, 25, 15, 21, 12, 12, 35, 30, 14, 35, 20, 35, 7, 35

### Stem and Leaf Plot:

Stem
Leaf
0
0 2 2 3 4
0
5 5 6 6 7 7 7 8 8
1
0 1 2 2 2 2 3 3 3 4 4
1
5 5 5 5 5 5 6 6 6 6 8 8 8 9
2
0 0 0 1 1 2
2
5 6 7 7 8 8 8
3
0 1
3
5 5 5 5 5
4
0 0 2
4
8 8
5
5
6
6
5 5

## Basic Statistics Formulas and Calculations used in this Calculator

### Minimum

Ordering a data set {x1 ≤ x2 ≤ x3 ≤ ... ≤ xn} from lowest to highest value, the minimum is the smallest value x1.

$\text{Min} = x_1 = \text{min}(x_i)_{i=1}^{n}$

### Maximum

Ordering a data set {x1 ≤ x2 ≤ x3 ≤ ... ≤ xn} from lowest to highest value, the maximum is the largest value xn.

$\text{Max} = x_n = \text{max}(x_i)_{i=1}^{n}$

### Sum

The sum is the total of all data values. {x1 + x2 + x3 + ... + xn}

$\text{Sum} = \sum_{i=1}^{n}x_i$

### Size

The total number of data values in a data set.

$\text{Size} = n = \text{count}(x_i)_{i=1}^{n}$

### Mean

The sum of all of the data divided by the size. The mean is also known as the average.

$\overline{x} = \dfrac{\sum_{i=1}^{n}x_i}{n}$

### Median

Ordering a data set {x1 ≤ x2 ≤ x3 ≤ ... ≤ xn} from lowest to highest value, the median is the numeric value separating the upper half of the ordered sample data from the lower half. If n is odd the median is the center value. If n is even the median is the average of the 2 center values.

If n is odd the median is the value at position p where

$p = \dfrac{n + 1}{2}$ $\widetilde{x} = x_p$

If n is even the median is the average of the values at positions p and p + 1 where

$p = \dfrac{n}{2}$ $\widetilde{x} = \dfrac{x_{p} + x_{p+1}}{2}$

### Mode

The value or values that occur most frequently in the data set.

### Standard Deviation

$s = \sqrt{\dfrac{\sum_{i=1}^{n}(x_i - \overline{x})^{2}}{n - 1}}$

### Variance

$s^{2} = \dfrac{\sum_{i=1}^{n}(x_i - \overline{x})^{2}}{n - 1}$

Acceptable Delimited
Data Formats
Type
Unit
Options
Actual Input Processed
Column (New Lines)
42
54
65
47
59
40
53
42, 54, 65, 47, 59, 40, 53
Comma Separated (CSV)
42,
54,
65,
47,
59,
40,
53,

or

42, 54, 65, 47, 59, 40, 53
42, 54, 65, 47, 59, 40, 53
Spaces
42 54
65 47
59 40
53

or

42 54 65 47 59 40 53
42, 54, 65, 47, 59, 40, 53
Mixed Delimiters
42
54   65,,, 47,,59,
40 53
42, 54, 65, 47, 59, 40, 53

Cite this content, page or calculator as:

Furey, Edward "Stem and Leaf Plot Generator" at https://www.calculatorsoup.com/calculators/statistics/stemleaf.php from CalculatorSoup, https://www.calculatorsoup.com - Online Calculators

Last updated: September 19, 2023