02Home & Garden · Updated
Mean and Median: Meaning, Differences, and How to Use Them
Short answer
Mean is the average; median is the middle value
The mean is found by adding values and dividing by how many there are. The median is the middle value after sorting them, or the average of the two middle values when there is an even count.
What “mean” and “median” mean
In mathematics and statistics, mean and median are standard technical terms for two different ways to describe the center of a set of numbers. They are not slang or nonstandard words in this use, though both also have everyday meanings. “Mean” can describe something unkind, while “median” can refer to the central strip of a road; context makes clear which sense is intended.
The arithmetic mean is the total of the values divided by their count. It is often called the average in everyday conversation. The median is the value at the center when the numbers are arranged in order. Both are measures of central tendency, but they summarize data differently.
The word mean in the mathematical sense comes through Old French and Latin roots associated with “middle” or “intermediate.” Median comes from Latin medianus, meaning “of the middle.” Their shared idea of a central position helps explain why the terms are taught together, but it does not make their calculations interchangeable.
How to calculate the mean
To calculate the arithmetic mean, add every value and divide the sum by the number of values. For example, for 4, 6, and 8, the sum is 18 and there are three values, so the mean is 18 ÷ 3 = 6.
For a larger set, it helps to write the calculation explicitly:
- Values: 2, 3, 3, 7, 10
- Sum: 2 + 3 + 3 + 7 + 10 = 25
- Count: 5 values
- Mean: 25 ÷ 5 = 5
The mean does not have to be one of the observed values. In this example, 5 is not in the data, but it is the arithmetic average. Each value contributes to the sum, so a particularly large or small value can pull the mean toward itself.
How to calculate the median
First sort the values from smallest to largest. With an odd number of values, select the one in the middle. With an even number, take the arithmetic mean of the two middle values. Do not average the entire set when finding a median.
- Odd count: For 2, 3, 3, 7, 10, the middle value is 3, so the median is 3.
- Even count: For 2, 3, 7, 10, the middle values are 3 and 7. Their mean is (3 + 7) ÷ 2 = 5, so the median is 5.
The two middle values can be different, and their average may not appear in the data. For example, the median of 1, 4, 6, and 9 is 5. A median therefore describes the center position, not necessarily a typical value that someone actually recorded.
When the mean or median is useful
Use the mean when the data are numerical and you want an average that incorporates every observation. It is useful for quantities such as distances, scores, or measurements when unusually high or low values are not distorting the picture too much. It also has an important property: the sum of the differences between each value and the mean is zero.
Use the median when the middle-ranked observation is more informative or the data include extreme values. For example, consider five monthly rents in a fictional dataset: $900, $950, $1,000, $1,050, and $5,100. The mean is $1,800, but the median is $1,000. The unusually high final value raises the mean substantially, while the median remains the third value in the ordered list.
This example also shows why a statement such as “the average rent” can be unclear. Ask whether the source means the mean or median, and check how the data were collected. Neither statistic alone explains differences in location, property type, or the spread of values.
How to choose and avoid common mistakes
Choose a measure based on the question and the shape of the data, not on which number sounds more favorable. A practical check is to calculate or inspect both and see whether extreme values make them very different.
- Use the mean when all values should contribute proportionally and the data have no influential extremes.
- Use the median when you need the center by rank or a few unusually large or small values would mislead.
- Check the data type before calculating: a mean requires meaningful numerical values, while a median can also be used for ordered categories.
- State the measure in reports instead of writing “average” when the distinction matters.
A common misconception is that the median is always better because it resists outliers. It is less affected by extreme values, but that is not automatically an advantage: if every observation matters to the question, the mean may be more suitable. Another mistake is assuming that the mean and median must match. They can match in some data sets, but there is no general rule that they do.
For categories with no natural order, such as colors, neither a numerical mean nor a median is generally meaningful. For ordered categories, such as ranked satisfaction levels, the median can be defined by order, while averaging category labels may not make sense. Always consider what the values represent before applying a formula.
Mean versus median at a glance
The simplest distinction is that the mean uses the total and the count, while the median uses sorted position. This difference has practical consequences:
- Effect of extremes: An extreme value can shift the mean; it usually has less effect on the median.
- Observed value: The mean may not occur in the data; the median may also fall between observed values when the count is even.
- Required information: Calculating the mean requires numerical values; finding the median requires values that can be put in order.
- Interpretation: The mean balances the values arithmetically; the median splits the ordered data so half are at or below it and half are at or above it.
For a complete description, center is only part of the story. Two groups can have the same mean or median but very different spreads. A range, quartiles, or a graph may add useful context, especially when the data are uneven or contain clusters.
Frequently Asked Questions
Is the mean the same as the average?
In everyday math, “average” commonly means the arithmetic mean. However, average can be used more broadly for a typical or central value, including a median. Specify the measure when precision matters.
Can the median be a number that is not in the data?
Yes. With an even number of observations, the median is the mean of the two middle values, so it may fall between recorded values. For example, the median of 2, 5, 8, and 11 is 6.5.
Which is better for income or home prices?
Neither is automatically best, but the median is often useful when a small number of very high values could pull the mean upward. The mean still answers a different, valid question: the total divided across all observations.
Can the mean be smaller than the median?
Yes. A group of unusually low values can pull the mean below the median. The relationship depends on the values and how they are distributed.
Does the median always divide the data exactly in half?
It marks the center of the ordered data: at least half the values are at or below it and at least half are at or above it. Tied values can mean the groups are not split into two distinct, equal sets.
Related
- How to Get a Passport in Washington State
- How to Get Rid of Lag on Your Computer or Wi-Fi
- How to Get a Passport in Virginia: Steps and Documents
Further reading: NIST. Details can change, so check the official page for anything that matters to you. Spotted a mistake? Tell us. How we write an answer.