Definition
The middle value in a dataset when all numbers are sorted from smallest to largest. Unlike the average, it is not distorted by extremely high or low numbers, making it a reliable benchmark for representing a typical group member.
Line Up by Height: Avoiding the Trap of the Average
Imagine lining up students by height in gym class. If you pick the student standing right in the center—not the shortest, not the tallest—that student's height is the median.
We usually think of the average (the mean, where you add all numbers and divide by the count) to represent a group. But the average has a major flaw: a single gigantic number can skew the entire result.
For example, imagine eight people with ordinary incomes gathered in a room, and a billionaire walks in. The average income of those nine people instantly surges into millions of dollars, even though nothing changed in the lives of the original eight. But if you sort all nine people by income and pick the income of the 5th person right in the middle, that value barely moves. Because the middle position only shifts over by one spot, one billionaire cannot pull the entire number off balance.
What If There Is an Even Number of Values?
If you have an odd number of data points, finding the center is straightforward. If you have 5 numbers, the 3rd number is automatically the median.
However, when a dataset has an even number of values, there is no single middle spot. If 6 numbers are lined up, the center falls right between the 3rd and 4th numbers. In this case, there is a simple rule to follow.
You calculate the median by taking the average of the two middle numbers. For instance, if test scores are 10, 20, 30, 40, 50, and 60, you add the two middle values (30 and 40) and divide by 2, giving you 35. This ensures that even with an even number of data points, everyone arrives at the same single representative value.
Going Deeper: When Should You Use the Median?
In statistics, numbers that stray unusually far from the rest are called outliers. Many real-world datasets—such as home prices, household income, and website visit durations—are skewed by a small handful of extreme numbers.
When data is symmetrically distributed in a normal distribution (a balanced bell curve), the mean and median are virtually identical. But whenever inequality is high or extreme values exist, the mean fails to reflect reality accurately.
This is why news reports on housing or household wealth rely on median income or median home prices. Because it marks the exact 50th percentile of a population, it delivers a number much closer to what typical people actually experience.
Common misconceptions
The median is always one of the numbers from the original dataset.
When you have an even number of values, you take the average of the two middle numbers, which can produce a value not found in the original list. For example, the median of 2 and 4 is 3.
Where you meet it
In a neighborhood with home prices of $100,000, $200,000, $300,000, $400,000, and $10 million, the median home price is $300,000.
Governments often use median household income instead of average income to set qualifying thresholds for welfare assistance.
In one sentence
The middle number in a sorted list of data, helping you see the typical center without being distorted by extreme outliers.