The mean and median are two common ways to describe the center of a dataset. Both try to answer what a typical value looks like, but they do it in different ways. The mean uses every number in the dataset, while the median depends on the order of the values.
Choosing the right measure matters because a single very large or very small value can change the story the data tells.
The mean is the balancing point of the data, so values far from the center pull it in their direction. The median is the middle value, so it is more resistant to outliers and skewed distributions. For roughly symmetric data with no extreme values, the mean and median are often close and either may work well.
For skewed data, such as incomes or house prices, the median often better represents a typical value.
Understanding Statistics: Mean vs Median
The mean reacts to every change because each value contributes to the total. This makes it useful when the total amount is important. For example, a school may use the mean electricity use per classroom to estimate its full energy bill.
A few rooms using much more power should affect that estimate because they genuinely add to the total cost. The same idea applies to average speed over a trip, average rainfall, or average test score for a whole class.
The mean does not ignore unusual values. It treats them as part of the result.
The median answers a different practical need. It marks the point where half the observations are below and half are above. This is helpful when people need to describe a position within a group.
A housing report may give the median sale price because it separates lower priced homes from higher priced homes without allowing a few luxury homes to dominate the headline. With an even number of data values, the median can fall between two actual observations. That does not mean anyone had exactly that value.
It describes the halfway location in the ordered list. This distinction matters when interpreting results such as ages, family sizes, or numbers of pets.
A graph often reveals more than one center value can show. On a dot plot or histogram, look for a long tail, a separate cluster, or a large gap. A class might contain two groups of test scores because some students took a different course before joining.
One mean or median may hide that pattern. In that case, describing each group separately can be more honest. The spread matters too.
Two datasets can have the same mean but very different variation. One set may be tightly packed near the center, while another has values spread widely across the scale. Reporting a measure of center together with a measure of spread gives a clearer picture.
When working with data, first check what each number represents and whether every value should count equally. A simple mean gives each observation the same weight. Some situations need a weighted mean instead.
In a course grade, a final exam might count more than one homework task, so treating every score equally would be misleading. Next, sort the data, calculate both center measures when appropriate, and compare them with the graph. A large difference between them is a clue to investigate the distribution.
Check extreme values for recording mistakes, but do not remove a value just because it is inconvenient. A very high hospital bill, storm rainfall total, or house price may be real and important. State which measure you chose, include the units, and explain what feature of the data guided that choice.
Key Facts
- Mean = sum of all values divided by number of values, x̄ = (x1 + x2 + ... + xn) / n
- Median = middle value after the data are ordered from least to greatest.
- If n is odd, the median is the value in position (n + 1) / 2.
- If n is even, the median is the average of the two middle values.
- Outliers strongly affect the mean but usually have little effect on the median.
- In a right-skewed distribution, mean > median; in a left-skewed distribution, mean < median.
Vocabulary
- Mean
- The mean is the arithmetic average found by adding all data values and dividing by the number of values.
- Median
- The median is the middle value of an ordered dataset, or the average of the two middle values when there are an even number of values.
- Outlier
- An outlier is a data value that is unusually far from the rest of the dataset.
- Skew
- Skew describes a distribution that has a longer tail on one side than the other.
- Distribution
- A distribution shows how data values are spread across possible values.
Common Mistakes to Avoid
- Forgetting to order the data before finding the median. The median is based on position in the sorted list, not the original order.
- Using the mean for a dataset with extreme outliers without checking their effect. Outliers can pull the mean away from the value most data points are near.
- Assuming the mean and median always give the same typical value. They are close for symmetric data but can be very different for skewed data.
- Finding the median of an even-sized dataset by choosing only one middle value. For an even number of values, the median is the average of the two middle values.
Practice Questions
- 1 Find the mean and median of the dataset: 4, 6, 7, 8, 10.
- 2 Find the mean and median of the dataset: 25, 28, 30, 32, 35, 120. Which measure is more affected by the outlier?
- 3 A neighborhood report lists home prices, and one mansion is much more expensive than all other homes. Should the report use the mean or median to describe a typical home price? Explain your reasoning.