# Stem and Leaf Plot Generator

## 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 5000 values, all non-negative. Enter values separated by commas such as 1, 2, 4, 7, 7, 10, 2, 4, 5.

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

Unit

Options

54

65

47

59

40

53

54,

65,

47,

59,

40,

53,

or

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

65 47

59 40

53

or

42 54 65 47 59 40 53

54 65,,, 47,,59,

40 53

**Notes**:

- Does not currently handle values less than 0.
- Does not handle decimals and they will be truncated. 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.
- If you really need to work with negative values please send me a calculation request.

For additional descriptive statistical values see Descriptive Statistics Calculator.

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

## 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:

## Basic Statistics Formulas and Calculations

- Minimum
- The smallest value in a sample data set.
- Maximum
- The largest value in a sample data set.
- Sum
- The total of all data values.

(x1 + x2 + x3 + ... + xn) - Count (n)
- The total number of data values in a data set.
- Mean
- The sum of all of the data divided by the count;

*mean = sum / n*. - Median
- The numeric value separating the higher half of the sample data from the lower half.
- Mode
- The value or values that occur most frequently in the data set.
- Standard Deviation (s)
- The square root of the variance;

^{2}√variance or variance = s^{2} - Variance
- The sum of the squared differences between data values and the mean, divided by the count - 1;

[ (x1 - mean)^{2}+ (x2 - mean)^{2}+ (x3 - mean)^{2}+ ... + (xn - mean)^{2}] / [n - 1]

**Cite this content, page or calculator as:**

Furey, Edward "Stem and Leaf Plot Generator"; from *http://www.calculatorsoup.com* - Online Calculator Resource.