Blog
Mean, Median and Mode: Which Average Fits the Data?
Mean, median and mode all summarize a dataset, but they answer slightly different questions. Choosing the right one can prevent a misleading description of typical values.
Three ways to describe a typical value
The mean is the arithmetic average: add all values and divide by the number of observations. The median is the middle value after sorting the data. The mode is the value or category that occurs most often. Each is valid, but each describes a different aspect of the dataset.
Suppose five delivery times are 20, 22, 23, 24 and 31 minutes. The mean is 24 minutes, while the median is 23. There is no repeated value, so there is no single mode. Neither mean nor median is automatically the 'correct' answer; the useful choice depends on what you want to summarize.
How to calculate the mean
For values 8, 10, 12 and 14, the sum is 44 and there are four values, so the mean is 11. The mean uses every observation, which makes it useful when the data is reasonably balanced and when every value should influence the summary.
The mean can be affected strongly by extreme values. If the dataset becomes 8, 10, 12 and 50, the mean is 20. The single 50 pulls the average upward even though three of the four observations are between 8 and 12.
Mean = Sum of Values ÷ Number of Values
How to calculate the median
Sort the values first. With an odd number of observations, the median is the middle value. For 4, 7, 9, 12 and 20, the median is 9. With an even number, take the average of the two middle values. For 4, 7, 9 and 12, the median is (7+9) ÷ 2 = 8.
The median is often useful when a dataset is skewed or contains outliers because it depends on the order of the values rather than the size of every extreme observation. Household prices and waiting times are examples where a few unusually large values can distort the mean.
How to calculate the mode
The mode is the most frequently occurring value. In 2, 3, 3, 4, 5, the mode is 3 because it appears twice. A dataset can have more than one mode, or no repeated value at all.
Mode is particularly useful for categorical data where an arithmetic mean may not make sense. If a survey asks for the most common preferred payment method, the mode identifies the most frequent category. There is no meaningful 'average payment method.'
Outliers can change the story
The second row demonstrates the effect of one large outlier. The median and mode stay at 3, while the mean rises sharply. This does not mean the mean is wrong; it means the mean is answering a question that gives the extreme value full weight.
When reporting data, it can be useful to show both mean and median when the distribution is skewed. That gives the reader more information than selecting one number without context.
| Dataset | Mean | Median | Mode |
|---|---|---|---|
| 2,3,3,4,5 | 3.4 | 3 | 3 |
| 2,3,3,4,50 | 12.4 | 3 | 3 |
| 10,20,30,40 | 25 | 25 | None |
Averages can hide spread
Even a correct average does not describe how widely values vary. Two groups can have the same mean but very different distributions. One group might cluster tightly around the mean, while another contains both very small and very large observations.
If variability matters, use additional measures such as range or standard deviation. The choice depends on the purpose of the analysis. A mean alone should not be treated as a complete description of a dataset.
Choosing the wrong average
Common errors include calculating the median before sorting, assuming every dataset has a mode, and using the mean for categories that have no numerical meaning. Another mistake is reporting an average without saying how many observations produced it.
Also watch for weighted data. If one observation represents many people or transactions, a simple mean may not be appropriate. A weighted average may be needed, which is a different calculation from the ordinary mean.
How to check your result
For a mean, multiply the result by the number of observations and compare with the original sum. For a median, check the sorted list and identify the middle position. For a mode, count the frequencies and confirm which value or category occurs most often.
Use more than one summary when the dataset is skewed. If the mean and median differ greatly, investigate the distribution rather than assuming one number is an error. The difference itself can be informative.
Choose the summary that matches the question
If you want to describe the arithmetic center of balanced numerical data, the mean may be useful. If you want the middle observation and the data contains extreme values, the median may communicate a more representative typical case. If you want the most frequent category or value, the mode answers that question directly.
Before reporting any average, inspect the data itself. A single summary can hide important structure such as clusters, gaps or outliers. When the audience needs to make a decision, showing the distribution or at least a second summary measure can make the result easier to interpret.
A small dataset comparison
Consider 5, 5, 6, 7, 20. The mean is 8.6, the median is 6 and the mode is 5. All three calculations are correct, but they tell different stories. The mean reflects the unusually high value of 20; the median identifies the middle observation; the mode identifies the most repeated value.
That example is why the word 'average' should be clarified when reporting data. Saying 'the average was 6' could mean the median in one report and the arithmetic mean in another.
Do not confuse average with typical
A dataset can have a mathematically correct mean that does not resemble most individual observations. If the purpose is to describe a typical transaction, salary, wait time or price, inspect the distribution before selecting the summary. In skewed data, reporting mean and median together can make the shape of the data easier to understand without claiming that either number is universally superior.
Frequently asked questions
Can a dataset have two modes?
Yes. If two values share the highest frequency, the dataset can be described as bimodal.
Which is better, mean or median?
Neither is universally better. The mean uses every value, while the median is less affected by extreme values. Choose based on the data and the question.
Can the mode be a category?
Yes. Mode can identify the most frequent category, such as the most common payment method or product size.
Conclusion
Mean, median and mode are different summaries, not competing answers to one universal question. Calculate them correctly, inspect the distribution, and choose the measure that matches the kind of data and decision you are trying to describe.
Figures in this article are illustrative. Results depend on your own rates, fees, taxes and circumstances, and are for educational and planning purposes rather than financial advice.