"Average" is often used loosely to mean one specific calculation (the mean), but there are actually three distinct measures of "the typical value" in a data set — mean, median, and mode — and they can give meaningfully different answers from the exact same data. This calculator computes all three.
The mean is the sum of all values divided by how many values there are. For the data set 4, 8, 6, 5, 3: sum = 26, count = 5, mean = 26 ÷ 5 = 5.2. The median is the middle value when the data is sorted in order — for an odd number of values, it's the single middle one; for an even number, it's the average of the two middle values. Sorting the same set (3, 4, 5, 6, 8), the middle value is 5, so the median is 5. The mode is the value that appears most often — a data set can have one mode, more than one (if two or more values tie for most frequent), or no mode at all (if every value appears exactly once, as in this example).
Worked example: the data set 2, 2, 3, 9, 9, 9, 15. Mean = (2+2+3+9+9+9+15) ÷ 7 = 49 ÷ 7 = 7. Median = the middle (4th) value when sorted = 9. Mode = 9, since it appears three times, more than any other value. Notice how far apart mean (7) and median (9) land here — that gap is exactly why choosing the right measure matters.
Why All Three Exist: Response to Outliers
The reason all three exist rather than just one is that they respond differently to outliers — unusually large or small values far from the rest of the data. The mean is pulled hard by outliers, since every value factors into the sum; the median mostly ignores them, since it only cares about position in sorted order, not magnitude. This is why household income is typically reported as a median rather than a mean: a small number of extremely high incomes would drag the mean upward, making it look like a "typical" household earns more than it actually does, whereas the median stays representative of where most people actually sit.
Common Mistakes With Averages
A common mistake is reporting the mean when the median would be more representative (or vice versa) without checking whether outliers are present — for symmetric, evenly spread data without extreme values, mean and median land close together and either works fine; for skewed data with outliers, they diverge, and the choice actually matters. Another common mistake with the median specifically is forgetting to sort the data first — the median is a position-based measure, and applying the "middle value" rule to unsorted data gives a meaningless answer.
Range: a Related, Simpler Statistic
Range is a related, simpler statistic worth knowing alongside the three central-tendency measures: it's just the highest value minus the lowest (for the 2, 2, 3, 9, 9, 9, 15 example above, the range is 15 − 2 = 13), and it gives a quick sense of how spread out a data set is without needing the full standard-deviation calculation. A small range alongside a mean and median that sit close together generally signals fairly uniform data; a large range, especially paired with a mean and median that diverge, is a signal to check for outliers before trusting either "average" as representative.
A second worked example that shows mode's limits: the data set 1, 2, 3, 4, 5 has no repeated value at all, so it has no mode — a perfectly valid, common outcome, not an error. Contrast that with 3, 3, 3, 7, 7, 7, 12, which is bimodal (two modes, 3 and 7, tied at three occurrences each). Mode is the only one of the three measures that works meaningfully on non-numeric, categorical data too — you can find the "mode" of a list of favorite colors (the most common answer), but mean and median require values that can be meaningfully ordered and averaged, which categories generally can't be.
For the full method with more worked examples across data sets with and without outliers, see Mean, Median, and Mode Explained.