Average Calculator
Mean, median, mode, and range from a list of numbers, updates as you type.
How to Use This Calculator
Paste or type a list of numbers into the text box, separated by commas, spaces, or line breaks, and every statistic updates instantly as you type. This works well for grade lists, sports statistics, survey responses, sales figures, or any other numeric data set where a quick statistical summary is useful. There's no limit on how many numbers can be entered, making it just as usable for a handful of test scores as for a longer list copied from a spreadsheet.
Mean vs Median vs Mode
- Mean is the sum of all numbers divided by how many there are, the "average" most people mean by default.
- Median is the middle value when numbers are sorted, for an even count, it's the average of the two middle values. It's less affected by extreme outliers than the mean.
- Mode is the number that appears most often. A data set can have no mode (all values unique), one mode, or multiple modes.
- Range is the difference between the highest and lowest values, showing how spread out the data is at its extremes.
Why Mean and Median Can Differ Significantly
A single very large or very small outlier can pull the mean noticeably away from where most of your data actually sits, while the median stays anchored to the middle regardless of how extreme the outliers are. This is why household income statistics, for example, are often reported as medians rather than means.
Worked Example
For the default data set, 85, 92, 78, 92, 88, 76, 95 (7 numbers), the sum is 606, giving a mean of 606 ÷ 7 ≈ 86.5714. Sorting the numbers gives 76, 78, 85, 88, 92, 92, 95, and since there are 7 values (an odd count), the median is the single middle value after sorting, the 4th number, which is 88. Checking frequencies, 92 appears twice while every other number appears once, making 92 the mode. The range is the highest value minus the lowest: 95 − 76 = 19. Notice the mean (86.57) sits below the median (88), pulled down slightly by the lower value of 76 relative to the rest of the cluster near 85-95.
Sum and Count as Supporting Figures
Alongside the four main statistics, the calculator also shows the total sum and the count of numbers entered, both of which are useful building blocks in their own right rather than just intermediate steps toward the mean. Sum is often what's actually needed for tasks like totaling expenses, combining scores across multiple rounds, or checking that a set of proportions adds up correctly. Count is useful for quickly confirming that the expected number of data points, students, transactions, survey responses, was actually entered, catching a missed or duplicated entry before it skews any of the other statistics.
Why Three Different "Averages" Exist
Mean, median, and mode each answer a subtly different question about a data set, which is why statisticians and analysts don't treat them as interchangeable, even though all three are colloquially called "the average." Mean answers "what's the balance point of all these values combined," treating every number's magnitude as equally informative regardless of how typical or extreme it is. Median answers "what's the middle-ranked value," which is more robust to a handful of extreme outliers since it only cares about position in a sorted order, not magnitude. Mode answers "what value shows up most often," which is the only one of the three that works meaningfully for non-numeric categorical data (like the most common shoe size sold, or the most frequent survey response) and is the only measure guaranteed to be an actual value that appeared in the data set, rather than a computed value that might not exist anywhere in the original list.
When to Use Each Measure
Mean is generally the right choice when a data set is reasonably symmetric without extreme outliers, and when every value's magnitude genuinely matters to the question being asked, calculating a class's average test score or a team's average sales figure, for instance. Median is the better choice when outliers are present or expected, home prices, income, and response times are classic examples where a handful of extreme values can distort the mean far from what a "typical" data point looks like. Mode is most useful for categorical or discrete data where identifying the most common category matters more than a computed numeric summary, like the most frequently ordered menu item or the most common survey rating. Range, while simple, is best treated as a quick first-glance spread check rather than a rigorous measure of variability, since it only looks at the two most extreme values and ignores everything else in between.
A Classic Example of Mean vs Median Divergence
Household income statistics are a widely cited real-world illustration of why mean and median can tell very different stories about the same data set. Because income distributions are typically skewed by a relatively small number of very high earners, the mean income in a population is usually noticeably higher than the median income, since those high earners pull the average upward without a corresponding number of extremely low earners pulling it back down by an equal amount. A country or city might report a mean household income that sounds comfortably high, while the median, the income of the household squarely in the middle of the distribution, paints a more modest, more representative picture of what a "typical" household actually earns. This same skewing effect shows up in other contexts too, home prices in a neighborhood with one enormous mansion, company salaries with a handful of highly paid executives, or response times with a few extremely slow outliers all tend to have means pulled well above their medians.
Common Mistakes When Interpreting These Statistics
A frequent mistake is assuming mean and median will always be close together, and being surprised or confused when they diverge significantly, rather than recognizing that divergence itself as a meaningful signal about skew or outliers in the data. Another common mistake is treating mode as interchangeable with mean or median for numeric data where every value is unique or nearly unique, in which case mode either doesn't exist or isn't a meaningful summary statistic at all, since it's really designed for data with natural repeated categories. A third mistake is quoting range as if it describes the typical spread of an entire data set, when in reality a data set can have a large range driven by just one or two extreme outliers while the bulk of the values cluster tightly together, a distinction that only shows up by looking at the fuller distribution rather than range alone.
Frequently Asked Questions
What if there's no repeated number?
If every number appears exactly once, there's no mode, this calculator will indicate "No mode" in that case.
Is this useful for grading or test scores?
Yes, entering a set of scores gives you a quick sense of the class average (mean), the typical middle performance (median), and the most common score (mode) all at once.
Why does the median calculation differ between odd and even counts of numbers?
For an odd count of numbers, sorting the list puts exactly one number in the true middle position, which becomes the median directly. For an even count, there are two numbers tied for the middle position, so the median is calculated as the average of those two middle values, since no single number sits exactly in the center.
Can a data set have more than one mode?
Yes. If two or more values are tied for the highest frequency of appearance, all of them are considered modes, a data set with two modes is called bimodal, and one with three or more is called multimodal. This calculator lists every tied value when more than one number shares the highest frequency.
How does this calculator handle numbers separated by commas versus spaces or line breaks?
The input field accepts numbers separated by commas, spaces, line breaks, or any mix of the three, since the parser splits on any run of comma or whitespace characters. This means you can paste in a column of numbers copied from a spreadsheet, a comma-separated list, or numbers typed with spaces between them, and all three formats parse identically.
Why does range only use two numbers when the rest of the data set is ignored?
Range is specifically designed as a quick, simple measure of the overall spread between the extremes of a data set, the highest value minus the lowest value, and by definition doesn't factor in how the values in between are distributed. It's a useful first check for spread, but for a more complete picture of how spread out the entire data set is, not just its extremes, standard deviation is a more informative measure.