Mean, Median & Mode
Enter a data set and see the mean, median, mode, and range — with the work shown.
Sorted data
4, 8, 8, 15, 16, 23, 42
Mean = sum ÷ count
116 ÷ 7 = 16.571
Median = middle of the sorted list
middle value = 15
Mode = most frequent value
8 (appears 2×)
About the Mean, Median & Mode
Mean, median, and mode are simple to define and surprisingly easy to mix up under test conditions, especially when a data set has a repeated value or an even number of entries. Type or paste a list of numbers — separated by commas, spaces, or both — and this tool sorts them, then computes all four common summary statistics with the actual arithmetic shown, not just the final values.
It handles the cases that trip students up by name: an even-sized list averaging its two middle values for the median, a data set with more than one mode, and a data set with no repeated values at all.
How to use it in your classroom
- Type or paste a list of numbers into the box, separated by commas, spaces, or line breaks.
- Read the four summary panels: mean, median, mode, and range.
- Check the sorted data list to see the exact order used to find the median.
- Review the formula breakdowns below, which show the actual sum-divided-by-count for the mean and the middle-value logic used for the median.
Tips from the classroom
- Use a data set with an odd number of values first so the median is a single middle number, then add one more value and ask students to predict what changes.
- Include a repeated value in your first example so the mode panel has something to report, since an all-different data set will correctly show no mode.
- Have students compute the mean by hand using the same sum-and-divide breakdown shown in the formula panel, so the tool checks their arithmetic rather than replacing it.
- Swap in a data set with an obvious outlier and compare how much it shifts the mean versus the median — that contrast is the real reason both statistics exist.
Frequently asked questions
What happens if a data set has more than one mode?
All values tied for the highest frequency are listed together in the mode panel, separated by commas, rather than picking just one.
What does the tool show if no number repeats?
The mode panel reports that there's no mode, since mode only applies when at least one value occurs more than once.
How is the median calculated when there's an even number of values?
It averages the two middle values from the sorted list, which is the standard rule for an even-sized data set, and the formula panel spells out which calculation it used.
