How Outliers Affect the Average of a Dataset
Learn how outliers affect the mean with simple examples, calculations, and practical tips for identifying extreme values in a dataset.

Calcifyai Team
Expert calculators & financial tools
Outliers can significantly change the average of a dataset, sometimes making the result misleading. An unusually high or low value can pull the mean away from where most data points are located.
For example, imagine five students score 70, 72, 75, 78, and 80 on a test. Their average score is 75. But if one score is accidentally entered as 150 instead of 80, the average increases to 89. That single unusual value changes the overall result.
Understanding how outliers affect the mean helps students, teachers, researchers, and business owners interpret data more accurately.
In this guide, you will learn what outliers are, how they affect the average, how to identify them, and when the median is a better measure of a dataset.
What Is an Outlier in Statistics?
An outlier is a data value that is unusually different from most other values in a dataset.
It may be much higher or lower than the other observations. Outliers can occur because of measurement errors, incorrect data entry, unusual events, or naturally extreme observations.
Example:
Consider the following dataset:
12, 14, 15, 16, 18, 20, 95
Most values are between 12 and 20, but 95 is much higher than the others.
Therefore, 95 may be considered an outlier.
Outliers are important because they can influence statistical calculations, especially the arithmetic mean and standard deviation.
What Is the Average (Mean) of a Dataset?
The arithmetic mean, commonly called the average, is the total of all data values divided by the number of observations.
Mean Formula:
Mean = Sum of All Values ÷ Total Number of Values
For example, consider these numbers:
10, 20, 30, 40, 50
Step 1: Add all the values.
10 + 20 + 30 + 40 + 50 = 150
Step 2: Count the observations.
There are 5 values.
Step 3: Divide the total by the number of values.
150 ÷ 5 = 30
Average = 30
The mean uses every observation in a dataset. This makes it useful for many calculations, but it also makes the mean sensitive to unusually high or low values.
If you want to calculate the mean of a dataset quickly, you can use the Average Calculator.
How Do Outliers Affect the Mean?
Outliers affect the mean because every value contributes to the total sum.
A very high outlier usually increases the mean, while a very low outlier usually decreases it.
This can make the average appear higher or lower than the value that represents most observations.
1. High Outliers Increase the Average
A high outlier is a value that is much larger than most other observations.
Example:
Consider this dataset:
10, 12, 13, 14, 16
Step 1: Calculate the original average.
10 + 12 + 13 + 14 + 16 = 65
65 ÷ 5 = 13
Original Mean = 13
Now replace 16 with 100.
New dataset:
10, 12, 13, 14, 100
Step 2: Calculate the new average.
10 + 12 + 13 + 14 + 100 = 149
149 ÷ 5 = 29.8
New Mean = 29.8
The mean increases from 13 to 29.8 because of the unusually high value.
However, the median remains 13 in both datasets.
This shows why a high outlier can make the average appear much higher than the typical value.
2. Low Outliers Decrease the Average
A low outlier is a value that is much smaller than the other observations.
Example:
Consider this dataset:
40, 45, 50, 55, 60
Step 1: Calculate the original average.
40 + 45 + 50 + 55 + 60 = 250
250 ÷ 5 = 50
Original Mean = 50
Now replace 40 with -100.
New dataset:
-100, 45, 50, 55, 60
Step 2: Calculate the new average.
-100 + 45 + 50 + 55 + 60 = 110
110 ÷ 5 = 22
New Mean = 22
The average decreases from 50 to 22 because of the unusually low value.
This example shows that outliers can pull the mean in either direction.
Mean Before and After Adding an Outlier
One of the easiest ways to understand the effect of outliers is to compare two datasets.
Measurement | Without outlier | With outlier |
|---|---|---|
Dataset | 10, 12, 13, 14, 16 | 10, 12, 13, 14, 100 |
Total | 65 | 149 |
Number of values | 5 | 5 |
Mean | 13 | 29.8 |
Median | 13 | 13 |
The comparison shows that the mean changes significantly when an extreme value is included, while the median remains unchanged.
This is why the mean is considered sensitive to outliers and the median is considered more resistant to them.
Why Do Outliers Make the Average Misleading?
Outliers can create an incorrect impression of what is typical in a dataset.
Here are some common situations where this happens.
1. Employee Salaries
Imagine five employees earn the following monthly salaries:
₹25,000, ₹28,000, ₹30,000, ₹32,000, ₹35,000
The average salary is ₹30,000.
Now imagine one employee earns ₹2,00,000 instead of ₹35,000.
The new average becomes ₹62,000.
Although most employees earn between ₹25,000 and ₹32,000, the average suggests a much higher typical salary.
The median may provide a more useful picture of the typical employee's salary.
2. Property Prices
Suppose homes in a neighborhood cost:
₹30 lakh, ₹32 lakh, ₹35 lakh, ₹38 lakh, ₹40 lakh
The average property price is ₹35 lakh.
Now add a luxury property worth ₹2 crore.
The average increases to approximately ₹62.5 lakh.
This does not mean most houses in the neighborhood cost ₹62.5 lakh.
A single expensive property has influenced the average.
3. Student Exam Scores
Consider these exam scores:
65, 70, 72, 75, 78
The average score is 72.
If one student's score is incorrectly recorded as 200, the new average becomes 98.
This is a good example of how a data-entry error can distort statistical results.
Always check unusual values before interpreting an average.
How to Identify Outliers in a Dataset
Identifying outliers is an important step before calculating and interpreting statistical averages.
Here are some practical methods.
1. Compare Values in the Dataset
Arrange the numbers from smallest to largest and look for values that are noticeably different.
Example:
15, 16, 17, 18, 19, 20, 85
The value 85 stands out because the remaining observations are close together.
However, visual inspection alone does not prove that a value is an outlier.
2. Use the Interquartile Range (IQR) Method
The Interquartile Range method is a common statistical technique for identifying potential outliers.
Follow these steps:
Arrange all values in ascending order.
Find the first quartile (Q1).
Find the third quartile (Q3).
Calculate the IQR by subtracting Q1 from Q3.
Calculate the lower and upper boundaries.
IQR Formula:
IQR = Q3 - Q1
Lower Boundary:
Q1 - (1.5 × IQR)
Upper Boundary:
Q3 + (1.5 × IQR)
Values below the lower boundary or above the upper boundary are flagged as potential outliers.
The exact quartile calculation can vary slightly depending on the method used, especially for small datasets.
3. Use a Box Plot
A box plot is a visual tool that helps identify the distribution of data and unusually distant observations.
A box plot displays:
Minimum and maximum non-outlier values.
First quartile (Q1).
Median (Q2).
Third quartile (Q3).
Potential outliers as separate points.
It makes unusual observations easier to recognize.
Mean vs Median: Which Is Better When Outliers Exist?
Both mean and median are useful measures of central tendency, but they behave differently when extreme values are present.
Feature | Mean | Median |
|---|---|---|
Meaning | Average of all values | Middle value |
Uses every observation | Yes | No |
Effect of outliers | Stronger | Usually much smaller |
Best for | Balanced datasets | Skewed datasets |
Example | Average test scores | Typical house prices |
When should you use the mean?
When the dataset is reasonably balanced.
When there are no extreme outliers.
When every observation should contribute to the result.
When should you use the median?
When the dataset contains extreme values.
When the distribution is strongly skewed.
When you want to describe a typical salary, house price, or income.
For a deeper explanation, read our guide on Mean vs Median vs Mode.
Do Outliers Always Need to Be Removed?
No. An outlier should not automatically be removed from a dataset.
Sometimes an unusual value represents a genuine event or observation. Removing it without investigation can lead to inaccurate conclusions.
Before removing an outlier, consider the following:
Check data-entry errors: Confirm whether the value was entered incorrectly.
Review measurement errors: Check whether the equipment or measurement process caused an incorrect result.
Understand the situation: Determine whether the unusual value represents a genuine event.
Consider the purpose: Decide whether the extreme observation is important to the analysis.
For example, a property worth ₹2 crore should not be removed from a housing dataset simply because most properties are cheaper. It may represent a genuine part of the housing market.
The Australian Bureau of Statistics' guide to measures of central tendency explains how outliers and skewed distributions influence the mean and why the median can be more useful in these situations.
Australian Bureau of Statistics
Other Statistical Measures Affected by Outliers
Outliers do not affect only the mean. They can also influence other statistical measurements.
1. Standard Deviation
Standard deviation measures how spread out the values are from the mean.
An extreme value can increase the standard deviation because the calculation gives greater weight to large squared differences from the mean.
For example, if most exam scores are between 70 and 80 but one score is 150, the standard deviation may increase significantly.
2. Variance
Variance measures the average squared distance of observations from the mean.
Since unusually high or low values can create large squared differences, outliers can increase variance considerably.
3. Range
Range is the difference between the largest and smallest values.
Range = Maximum Value - Minimum Value
For example:
Dataset: 10, 12, 14, 16, 18
Range = 18 - 10 = 8
If an outlier of 100 is added:
New Range = 100 - 10 = 90
One extreme observation increases the range from 8 to 90.
Common Mistakes to Avoid When Working With Outliers
Avoid these mistakes when analyzing a dataset:
Ignoring extreme values: Always investigate unusually high or low observations before interpreting the average.
Removing outliers automatically: An extreme value may be genuine and important.
Using only the mean: Consider the median when the dataset is skewed or contains outliers.
Confusing errors with outliers: Not every outlier is a mistake.
Ignoring data distribution: Understand how the values are spread before selecting a statistical measure.
Comparing averages without context: Two datasets can have the same mean but very different distributions.
Frequently Asked Questions (FAQs)
1. How do outliers affect the mean?
Outliers can increase or decrease the mean depending on their values. High outliers pull the average upward, while low outliers pull it downward.
2. Why is the mean sensitive to outliers?
The mean uses every value in a dataset. Therefore, unusually large or small observations directly affect the total sum and change the final average.
3. Does an outlier affect the median?
An outlier usually has little effect on the median because the median depends on the middle position of sorted values rather than their magnitude. However, an outlier can affect the median if it changes the ordering or position of the middle observations.
4. Which average is best when outliers are present?
The median is often a better choice when a dataset contains extreme values or is strongly skewed. It provides a more stable representation of the typical observation.
5. Can one outlier change the average significantly?
Yes. One extreme value can significantly change the mean, particularly in a small dataset. The effect depends on how far the outlier is from the other observations.
6. Should outliers always be removed before calculating the mean?
No. First determine whether the outlier is a genuine observation or an error. Remove or correct values only when there is a valid reason and document the decision.
7. How can I find outliers in a dataset?
You can identify potential outliers using visual inspection, box plots, or the Interquartile Range (IQR) method.
8. What is the difference between an outlier and an extreme value?
An extreme value is unusually high or low compared with other observations. An outlier is a value that stands apart from the overall pattern of the data. The terms are often used similarly, but not every extreme observation is necessarily an outlier.
Conclusion
Outliers play an important role in statistical analysis because they can significantly influence the average of a dataset. A single unusually high or low value may change the mean and create a misleading picture of the typical observation.
Understanding the difference between mean and median helps you choose the right measure for your data. Always investigate unusual values, examine the distribution, and select the statistical method that best represents the information.
The key is not simply to remove outliers but to understand why they exist and how they influence your results.
Disclaimer
The information provided in this article is for educational and informational purposes only. It should not be considered as professional financial, medical, or legal advice. Always consult with qualified professionals for specific guidance related to your situation.
Popular Calculators
Explore our most-used free calculators for finance, health, and everyday needs.