Understanding the Difference Between Mean and Median: When to Use Each



In the world of statistics, two commonly used measures for summarizing and analyzing data are the mean and the median. While they may seem similar at first glance, they have distinct characteristics and are suited for different situations. In this article, we will explore the differences between the mean and the median and discuss when each measure is most appropriate to use.

What is the Mean?

The mean, also known as the average, is calculated by adding up a set of numbers and then dividing the sum by the total count of numbers. It is often used to find the “central value” of a set of numbers. For example, when calculating the average test score of a class, you would add up all the scores and divide the total by the number of students.

Advantages of the Mean

The primary advantage of the mean is that it provides a quick and easy way to understand the overall trend of a set of numbers. By using the mean, you can grasp the “typical state” of the data without having to look at each individual value. This makes it a useful tool for decision-making in various situations, such as evaluating student performance, assessing workplace efficiency, or analyzing regional temperatures.

Here’s a concrete example:

Let’s say five students took a math test and scored 70, 80, 90, 60, and 100 points, respectively. To calculate the mean score, we add up all the scores (400 points) and divide by the number of students (5), resulting in a mean score of 80 points.

From this mean score alone, we can infer that the class, as a whole, performed relatively well on the math test.

Disadvantages of the Mean

However, the mean also has its drawbacks. One significant issue is that it can be greatly influenced by extremely high or low values, known as outliers. If a dataset contains outliers, relying solely on the mean to judge the entire set may not be appropriate. While the mean represents the “center” of the data, it does not provide a detailed reflection of the distribution or individual characteristics of the values.

Consider this example:

In a company with ten employees, nine of them earn a monthly salary of $3,000, while one employee earns $100,000. The total salary is $127,000, and when divided by ten, the mean salary comes out to $12,700.

However, this mean salary does not accurately reflect the reality that nine employees are only earning $3,000 per month.

This illustrates that while the mean is one way to represent the overall trend, it should be used in conjunction with other statistical methods to gain a more comprehensive understanding of the data.

What is the Median?

The median, on the other hand, is the middle value in a dataset when it is arranged in ascending or descending order. If the dataset has an even number of values, the median is calculated by taking the average of the two middle values. The median is less sensitive to outliers, making it useful when the data is skewed or contains extreme values.

For example, when considering house prices in a certain area, the presence of a few multi-million dollar mansions can greatly inflate the mean. However, the median would not be as affected by these extreme values and would provide a more accurate representation of the “typical” house price.

As a result, the median is helpful in identifying the central point of a data distribution and understanding the overall trend.

Advantages of the Median

The main advantage of the median is its ability to identify the center of a dataset without being influenced by extremely high or low values. This allows for an accurate understanding of the characteristics of a group of data, even if the dataset contains outliers. In cases where the data distribution is uneven, the median offers a more realistic representation of the center.

Here’s a concrete example:

When analyzing the 100-meter sprint times of students in a class, if the times are 12 seconds, 12.5 seconds, 13 seconds, 13.5 seconds, and 20 seconds, the median time would be 13 seconds.

Despite the presence of an extremely slow time of 20 seconds, the median remains unaffected and indicates that the average running ability of the class is 13 seconds.

Disadvantages of the Median

The disadvantage of the median is that it does not fully reflect all the information from every data point. This means that it may not capture the detailed characteristics or the complete picture of the data distribution. While the median represents the center of a dataset, it may overlook other important information, such as the range of variation or the skewness of the distribution.

Consider this scenario:

In a class, students were asked to report the number of books they read during summer vacation. The numbers reported were 0, 1, 2, 2, 2, 3, 3, 3, 3, and 50 books. The median number of books read is 3.

However, this median does not fully capture the fact that one student read an exceptionally high number of books (50) or that there were students who barely read any books.

This example demonstrates that while the median is useful for understanding certain characteristics of a dataset, it may not fully express the detailed trends or the impact of extreme values.

Key Points for Choosing Between the Mean and the Median

When deciding whether to use the mean or the median, there are important points to consider based on the characteristics of the data and the purpose of the analysis.

  • Presence of Outliers: If the data contains extremely high or low values (outliers), the mean will be strongly influenced by these values. In such cases, using the median is more appropriate, as it is less sensitive to outliers.
  • Data Distribution: If the data follows a normal distribution (a single, symmetric peak), the mean will effectively represent the overall trend. However, if the data is skewed (has a bias), the median will more accurately reflect the center of the data.
  • Purpose of Analysis: If the aim is to understand the overall trend, the mean is useful. On the other hand, if the goal is to find the “typical value” or the center of the distribution, the median is more suitable.
Impact of OutliersSensitive to outliersLess sensitive to outliers
Data DistributionSuitable for normally distributed dataSuitable for skewed data
Purpose of AnalysisOverall average trend, average value“Typical” or “central” value


  • When you want to avoid the influence of outliers or when the data distribution is skewed, using the median can more accurately reflect the center of the dataset. The median is the value located in the middle of a data group and is less affected by extreme values.
  • When the data follows a normal distribution or when you want to understand the overall average trend, the mean is more appropriate. The mean is calculated by considering all data points, making it useful for capturing the average characteristics of the entire dataset.

The key to meaningful data analysis lies in thoroughly understanding the characteristics of the data and the purpose of the analysis, and then choosing between the mean and the median accordingly.