๐งฎ Mean, Median, Mode Calculator (with Range, Sum, and Steps)
By ToolNimba Editorial Team ยท Updated 2026-06-25
-
This mean, median, mode calculator turns any list of numbers into the core statistics you need in one click: count, sum, mean, median, mode, range, minimum, and maximum. Just type or paste your values separated by commas, spaces, or new lines and the results update instantly, along with the full sorted list so you can check your data at a glance. It is perfect for homework, quick data checks, surveys, grades, and anywhere you need the three main measures of central tendency side by side.
What is the Mean, Median, Mode Calculator?
The mean, median, and mode are the three classic measures of central tendency, which are different ways of describing the typical or central value in a set of numbers. Each one answers the question "what is a representative value here?" in its own way, and they often disagree, which is exactly why looking at all three together tells you more than any single one alone. This calculator computes them in the same pass so you can compare them and pick the most honest summary for your data.
The mean is the ordinary average: add up every value and divide by how many values there are. It uses all of the data, which makes it powerful, but it is also sensitive to extreme values. A single very large or very small number (an outlier) can pull the mean far away from where most of the data actually sits. Incomes, house prices, and response times are classic cases where the mean can be misleading because a few big values drag it upward.
The median is the middle value once the numbers are sorted from smallest to largest. If there is an odd count, it is simply the middle number; if there is an even count, it is the average of the two middle numbers. Because the median only cares about position and not magnitude, it is resistant to outliers and is usually the fairer summary for skewed data such as salaries or property values. When the mean and median are far apart, that gap is itself a useful signal that your data is skewed.
The mode is the value (or values) that appears most often. Unlike the mean and median, it works for any kind of category, not just numbers, and it is the only one of the three that can have more than one answer. A dataset can be unimodal (one mode), bimodal (two), multimodal (several), or have no mode at all when every value appears exactly once. The mode is most useful for spotting the most common item, such as the most frequent shoe size, rating, or survey response. This tool also reports the range (maximum minus minimum) so you get a quick sense of how spread out the values are alongside their center.
When to use it
- Solving statistics and math homework that asks for mean, median, and mode together.
- Summarizing test scores, grades, or quiz results for a class or study group.
- Finding the typical value in survey responses, ratings, or feedback scores.
- Checking salary or price data, where the median is fairer than the mean for skewed numbers.
- Quickly getting the sum, count, minimum, maximum, and range of any list of numbers.
- Spotting the most common value (the mode) in inventory, sizes, or repeated measurements.
How to use the Mean, Median, Mode Calculator
- Type or paste your numbers into the box, separated by commas, spaces, or new lines.
- Press Calculate (or just edit the box) to see the mean, median, mode, and range update instantly.
- Check the count to confirm every value was picked up, and review the sorted list below it.
- Use Copy results to grab a clean text summary for your homework, report, or spreadsheet.
Formula & method
Worked examples
Find the mean, median, and mode of 4, 8, 15, 16, 23, 42, 8 (an odd count of 7 numbers).
- Sum = 4 + 8 + 15 + 16 + 23 + 42 + 8 = 116, and the count is 7
- Mean = 116 / 7 = 16.5714 (about 16.57)
- Sort ascending: 4, 8, 8, 15, 16, 23, 42. The middle (4th) value is 15, so the median is 15
- The value 8 appears twice and every other value once, so the mode is 8
- Range = 42 - 4 = 38
Result: Mean = 16.57, median = 15, mode = 8, range = 38
Find the mean, median, and mode of 3, 7, 7, 9, 12, 12 (an even count of 6 numbers).
- Sum = 3 + 7 + 7 + 9 + 12 + 12 = 50, and the count is 6
- Mean = 50 / 6 = 8.3333 (about 8.33)
- Already sorted, the two middle (3rd and 4th) values are 7 and 9, so the median = (7 + 9) / 2 = 8
- Both 7 and 12 appear twice (the highest frequency), so this set is bimodal with modes 7 and 12
- Range = 12 - 3 = 9
Result: Mean = 8.33, median = 8, mode = 7 and 12, range = 9
The three measures of central tendency compared
| Measure | How it is found | Best used when |
|---|---|---|
| Mean | Add all values, divide by the count | Data is fairly symmetric with no big outliers |
| Median | The middle value of the sorted list | Data is skewed or has outliers (e.g. incomes) |
| Mode | The most frequently occurring value | You need the most common item or category |
How many modes a dataset can have
| Term | Meaning |
|---|---|
| No mode | Every value appears exactly once |
| Unimodal | Exactly one value occurs most often |
| Bimodal | Two values tie for the highest frequency |
| Multimodal | Three or more values tie for the highest frequency |
Common mistakes to avoid
- Forgetting to sort before finding the median. The median is the middle of the values in order, not the middle of the list as typed. Always sort from smallest to largest first, then locate the middle position.
- Mishandling an even count for the median. With an even number of values there is no single middle number. Take the two middle values and average them, rather than picking just one of them.
- Assuming there is always exactly one mode. A dataset can have no mode, one mode, or several. If two or more values tie for the highest frequency, every one of them is a mode and should be reported.
- Letting an outlier distort the mean. A single very large or very small value can pull the mean far from most of the data. When the mean and median differ a lot, the median is usually the more representative summary.
Glossary
- Mean
- The arithmetic average: the sum of all values divided by how many values there are.
- Median
- The middle value of the data when sorted in order, or the average of the two middle values for an even count.
- Mode
- The value or values that occur most frequently in the dataset.
- Range
- The difference between the largest and smallest values, a simple measure of spread.
- Central tendency
- A summary of the typical or central value of a dataset, described by the mean, median, and mode.
- Outlier
- A value that is much larger or smaller than the rest of the data and can distort the mean.
Frequently asked questions
What is the difference between mean, median, and mode?
The mean is the average (sum divided by count), the median is the middle value of the sorted data, and the mode is the value that appears most often. They are three different ways to describe the center of a dataset, and they can give different answers, especially when the data is skewed.
How do I find the median of an even set of numbers?
Sort the numbers from smallest to largest, find the two values in the middle, and average them. For example, in 3, 7, 9, 12 the two middle values are 7 and 9, so the median is (7 + 9) / 2 = 8. This calculator handles odd and even counts automatically.
Can a data set have more than one mode?
Yes. If two values tie for the highest frequency the set is bimodal, and with three or more ties it is multimodal. This calculator lists every value that shares the top frequency, separated by commas.
What happens if every number appears only once?
Then there is no mode, because no value occurs more often than the others. In that case the calculator simply shows "No mode" rather than picking an arbitrary value.
When should I use the median instead of the mean?
Use the median when your data is skewed or contains outliers, such as incomes, house prices, or response times. Because the median ignores how extreme the values are and only uses their position, it gives a fairer picture of the typical value than the mean in those cases.
How do I enter my numbers into this calculator?
Type or paste them into the box separated by commas, spaces, or new lines. Blank lines and any non-numeric text are ignored, and the count tells you how many valid numbers were found so you can confirm nothing was dropped.