onlinecalculator.me
Download App

5 factors that affect the mean, median, and mode

Discover how outliers, zeros, and dataset size shift your results. Understanding what pulls the levers on the mean, median, and mode is the only way to interpret your data accurately.

Aug 23, 2026 6 min read

A student sitting at a wooden desk looking thoughtfully at a pile of graded test papers.

Drop a pile of data into a calculator, and you usually want to know what a “normal” number looks like for that group. But measuring the center of a dataset is not a one-size-fits-all operation. You typically get three distinct answers: the mean, the median, and the mode.

Because each metric uses an entirely different mathematical approach, they react differently to shifts in your data. The mean is your standard arithmetic average, the median is the literal middle value, and the mode is the number that shows up most often. Understanding what pulls the levers on these three metrics is the only way to interpret your results accurately.

Whether you are tracking daily temperatures, logging student test scores, or reviewing monthly business revenue, specific factors dictate which average will move and by how much.

Extreme outliers

An outlier is a data point that sits far outside the typical range of your other numbers. Of the three primary averages, the mean is highly sensitive to these extremes. The median and mode barely flinch.

Look at a simple dataset of eight numbers: 2, 4, 4, 4, 5, 5, 7, and 9.

  • Count: 8
  • Sum: 40
  • Mean: 5 (calculated as 40 ÷ 8)
  • Median: 4.5 (the average of the two middle values, 4 and 5)
  • Mode: 4 (the number that appears three times)

Now, imagine that last value was recorded incorrectly. Instead of a 9, someone typed 90.

Your new dataset is 2, 4, 4, 4, 5, 5, 7, and 90. The sum jumps to 121. Because the mean is tied directly to the total sum, dividing 121 by 8 gives you a new mean of 15.125. A single keystroke error tripled the result. If these were quiz scores out of 20, a mean of 15 paints a completely false picture of how the class actually performed.

The median, however, is determined strictly by position. Since the middle two numbers are still 4 and 5, the median remains exactly 4.5. The mode also stays at 4, because it only cares about repetition. If you are dealing with data that frequently includes massive extremes—like home prices or corporate salaries—the median is generally a much safer bet for finding the true middle.

Zeros versus blank data

A common trap when logging data is confusing a true zero with a blank, skipped, or missing value. How you handle missing information directly affects the denominator in the mean formula, which can drastically alter your results.

Say you are tracking weekly sales over a four-week month. In weeks one, two, and three, you make 10, 12, and 14 sales. In week four, the store was closed for renovations.

If you leave week four blank, your dataset is simply 10, 12, and 14.

  • Count: 3
  • Mean: 12 (36 ÷ 3)
  • Median: 12

If you enter a 0 for week four, your dataset becomes 0, 10, 12, and 14.

  • Count: 4
  • Mean: 9 (36 ÷ 4)
  • Median: 11 (the average of 10 and 12)

Adding a zero increases the count. That larger denominator immediately waters down the mean. It also shifts the median because the total number of items changed from an odd count (where the median is a single middle number) to an even count (where the median requires averaging the two middle numbers).

Standard calculators silently ignore non-numeric tokens. If you accidentally type a letter or a dash instead of a number, it will not increase your count or drag down your mean. Only actual zeros participate in the math. You have to decide if a lack of data means “zero sales happened” or “we just did not measure it.”

Frequency and repetition

The mode operates under entirely different rules. It is completely blind to the actual value of the numbers, looking only at how often they repeat. This makes it highly useful for things like retail inventory, where knowing the average shoe size sold matters less than knowing which specific size sells most often.

Two distinct situations dictate how the mode behaves:

  1. Ties: If two or more numbers tie for the highest frequency, your dataset has multiple modes. This is often called a bimodal or multimodal distribution. In the list 1, 1, 2, 3, 3, both 1 and 3 are the mode.
  2. Unique values: If every single number in your list appears exactly once, no value outpaces any other. In this scenario, there is no mode at all, and a calculator will simply return “None”.

Dataset size

The total size of your list dictates how volatile your mean and median will be when new data enters the picture.

In a small dataset of five numbers, adding a sixth number increases your total count by 20 percent. If that new number is particularly large or small, it will pull the mean significantly in that direction.

In a dataset of 1,000 numbers, adding one more item increases your count by just 0.1 percent. The sum increases, but the denominator is so massive that the new value is absorbed with minimal impact on the mean.

The median is similarly insulated by large lists. When you add a single number to a long dataset, the median only shifts half a position. If the list is densely packed with identical or similar numbers near the center, shifting the median’s position might not change its actual numerical value at all.

The shape of the distribution

When you combine outliers, dataset size, and frequencies, you create the “shape” of your data. The relationship between the mean, median, and mode tells you immediately which way your data leans, without requiring you to graph it out.

Distribution ShapeTypical RelationshipCommon Example
SymmetricalMean = Median = ModeHeights of adult men
Right-SkewedMean ≥ Median ≥ ModeIncome, home prices
Left-SkewedMean ≤ Median ≤ ModeAge at retirement

In a perfectly symmetrical distribution, all three metrics align. There is an equal amount of data on the low end as the high end, and the most common number sits dead center.

In a right-skewed distribution, such as household income, a small handful of extremely high values pulls the mean up. The median stays anchored to the typical middle-class earner, unaffected by the billionaires at the top. The mode often remains even lower, representing the most common entry-level salary.

By watching how the mean, median, and mode drift apart as you adjust your inputs, you can quickly identify where the real weight of your data lies.

Ready to analyze your own numbers? Try the Average Calculator – Mean, Median, Mode.

How do outliers affect the mean and median?
Extreme outliers drastically pull the mean toward the high or low end of the spectrum. The median remains largely unaffected because it only looks at the middle position of your dataset. This makes the median a more reliable metric when dealing with highly skewed data like home prices.
Should I include zeros when calculating an average?
You should only include zeros if they represent a true measured value, like a day with zero sales. If a zero actually means missing or skipped data, including it will artificially increase your count and drag down your mean. Blank values are generally ignored by standard calculators.
Can a dataset have more than one mode?
Yes, a dataset can have multiple modes if two or more numbers tie for the highest frequency. This is known as a bimodal or multimodal distribution. If every number appears exactly once, the dataset has no mode at all.
Average Calculator – Mean, Median, Mode Open the calculator →

← More Math articles All articles