AVERAGE vs MEDIAN: Which Tells the Truth?
By ExcelReady TeamUpdated 7 min read
The short answer
Use MEDIAN to describe a typical value when a few very large or very small numbers could skew the result, such as salaries, house prices or order values. Use AVERAGE when the values are fairly even, or when you need a number that multiplies back to the total, as in budgets. When the two differ a lot, report both.
Key takeaways
- AVERAGE adds the numbers and divides by how many there are. MEDIAN returns the middle value.
- One outlier can pull the average far away from a typical value. The median barely moves.
- With an even count, MEDIAN returns the average of the two middle numbers.
- AVERAGE times the count gives the total, which MEDIAN can't do. That makes AVERAGE the right tool for budgets.
- Both ignore empty cells and text in a range, but both count zeros.
On this page+
AVERAGE vs MEDIAN matters whenever someone asks for a "typical" number. AVERAGE adds everything up and divides, so one very large value can drag it far from what most of the data looks like, while MEDIAN takes the middle value and barely moves. This guide is for anyone writing reports, describing salaries or sales, or answering a statistics question in an Excel test.
AVERAGE vs MEDIAN at a glance#
Both describe the centre of a list of numbers. They answer slightly different questions.
| Feature | AVERAGE | MEDIAN |
|---|---|---|
| What it calculates | The mean: sum ÷ count | The middle value after sorting |
| Syntax | =AVERAGE(number1, [number2], …) | =MEDIAN(number1, [number2], …) |
| Effect of one huge value | Large: it pulls the result toward it | Small: it is just one more value at the top |
| Even number of values | Same rule as always | Averages the two middle values |
| Multiplies back to the total | Yes: average × count = sum | No |
| Empty cells and text in a range | Ignored | Ignored |
| Zeros | Counted | Counted |
| Conditional version | AVERAGEIF, AVERAGEIFS | MEDIAN with FILTER (Excel 2021 or later) |
| Best for | Even data, budgets, forecasts, rates | Salaries, prices, deal sizes, waiting times |
The same data, measured both ways#
Here are seven orders. Six are normal; one is a bulk order.
| A | B | |
|---|---|---|
| 1 | Order | Value |
| 2 | ORD-01 | 45 |
| 3 | ORD-02 | 52 |
| 4 | ORD-03 | 38 |
| 5 | ORD-04 | 61 |
| 6 | ORD-05 | 49 |
| 7 | ORD-06 | 55 |
| 8 | ORD-07 | 1,200 |
=AVERAGE(B2:B8)
=MEDIAN(B2:B8)- AVERAGE adds the seven values (1,500) and divides by 7: 214.29.
- MEDIAN sorts them (38, 45, 49, 52, 55, 61, 1,200) and takes the fourth, the middle one: 52.
Which is the "typical" order? Six of the seven orders are between 38 and 61. The average of 214.29 is bigger than every order except one. The median of 52 describes most customers far better.
The bulk order is an outlier: a value far from the rest. Take it out and the two measures agree:
=AVERAGE(B2:B7) → 50
=MEDIAN(B2:B7) → 50.5With six values there is no single middle one, so MEDIAN averages the two middle values, 49 and 52, to get 50.5.
When to use MEDIAN#
Use MEDIAN when you want the value a typical item has, and the data might contain a few extreme values. It is the better choice for:
- Salaries. One senior salary can lift the average well above what most staff earn. That's why salary reports usually quote a median.
- House prices and rents. A few luxury properties skew the average up.
- Order or deal sizes, as in the example above.
- Waiting and response times. A handful of very slow tickets can make the average look worse than most customers' experience.
- Any data where the average and median are far apart. That gap is itself a sign of skew.
To get a median for one group only, combine it with FILTER (Excel 2021, Excel 2024 or Microsoft 365): =MEDIAN(FILTER(C2:C20,B2:B20="East")). Our MEDIAN and MODE guide covers MODE too, which finds the most common value.
When to use AVERAGE#
Use AVERAGE when the values are fairly even, or when the total matters. It is the better choice for:
- Budgets and forecasts. If the average order is 214.29 and you expect 70 orders, you can expect about 15,000 in revenue. The median can't give you that total.
- Rates and scores that cluster closely, such as test scores or call times within a narrow range.
- Performance comparisons where every unit counts equally, such as average calls handled per agent.
- Conditional averages, which have their own functions:
=AVERAGEIF(B2:B8,"<1000")averages only the orders under 1,000 (50).
The AVERAGE function guide shows more examples, and our article on AVERAGE, MIN and MAX covers the summary functions you usually report alongside it.
Common mistakes with AVERAGE and MEDIAN#
These lead to misleading numbers:
- Reporting only the average for skewed data. It looks precise but describes almost nobody. Check the median, and report both if they are far apart.
- Typing 0 for missing values. Both functions count zeros. An empty cell is skipped, but a 0 pulls the average down and shifts the median. Leave unknown values blank.
- Numbers stored as text. Values imported as text, often shown aligned to the left, are skipped inside a range. The result looks fine but is based on fewer values.
- Averaging averages. The average of three regional averages is not the overall average unless every region has the same number of items. Use the full data, or weight each region by its count.
- Including the total row.
=AVERAGE(B2:B9)with a total in B9 counts the total as one of the values. Stop the range above the total. - Rounding too early. Round the final result with
=ROUND(AVERAGE(B2:B8),2), not the values you feed in.
What about MODE?#
MODE is the third way to describe a "typical" value: it returns the number that appears most often.
=MODE(D2:D11)For order sizes of 1, 1, 1, 2, 3, 4, 5, 6, 2 and 1 items, MODE returns 1: single-item orders are the most common. It is useful for counts like items per order or people per booking, where you want the most frequent case rather than the middle one.
MODE has limits. If no value repeats, it returns #N/A. If two values tie for most common, it still returns just one of them, so check the data when the answer matters. And it only works on numbers; to find the most common text value, such as a top product, count each one with COUNTIF and take the largest.
How do I spot an outlier quickly?#
Compare the average with the median. If they are close, the data is fairly even and either one works. If the average is much higher than the median, a few large values are pulling it up. If it is much lower, a few small values are pulling it down.
=AVERAGE(B2:B8)-MEDIAN(B2:B8)On the orders above this returns 162.29: a strong signal that one value is distorting the average. Then use =MAX(B2:B8) and =MIN(B2:B8) to find it.
These formulas are identical in Google Sheets and in Excel on Windows and Mac, so what you learn here works in any test environment. See our comparisons of Excel vs Google Sheets for job tests and Excel on Mac vs Windows for the parts that do differ. If you need to find which row the outlier is in, MATCH vs XMATCH shows how to return its position.
Our recommendation#
For a "typical" value, start with MEDIAN whenever the data could be skewed: money, prices, sizes and times usually are. Use AVERAGE when the values are even, or when you need to multiply back to a total, as in budgets and forecasts.
When you present numbers to a manager or in an interview, the strongest answer is often both: "The average order is 214, but the median is 52, because one bulk order of 1,200 pulls the average up." That shows you know what the numbers mean, not just how to calculate them.
Practise it#
Measure the outlier's pull in the exercise on this page. Then work through the MEDIAN and MODE lesson, where a founder's salary skews a company's average, and the AVERAGE, MIN and MAX lesson to summarize a call centre team in one quick set of formulas.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
One bulk order is much bigger than the rest. How far does it pull the average away from the typical order? In E2, subtract the median of the order values in B2:B8 from their average, in one formula.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Value | |||||
| 2 | Average minus median | |||||
| 3 | ||||||
| 4 | ||||||
| 5 | ||||||
| 6 | ||||||
| 7 | ||||||
| 8 | ||||||
| 9 | ||||||
| 10 | ||||||
| 11 |
Tip: Write the AVERAGE of the range, then a minus sign, then the MEDIAN of the same range.
Practise this in a lesson
Frequently asked questions
What is the difference between average and median?
The average (mean) adds all the values and divides by how many there are. The median sorts the values and takes the one in the middle, so a single extreme value has little effect on it.
When should I use median instead of average?
Use the median when the data is skewed, meaning a few values are much bigger or smaller than the rest. Salaries, house prices, deal sizes and waiting times are common examples.
How does Excel calculate the median of an even number of values?
It sorts the values and averages the two in the middle. For 38, 45, 49, 52, 55 and 61, the median is (49 + 52) / 2 = 50.5.
Does AVERAGE include blank cells or zeros?
AVERAGE skips empty cells and text in a range, but it includes zeros. A blank and a 0 give different averages, so don't type 0 for missing data.
Is there a MEDIANIF function in Excel?
No. In Excel 2021, Excel 2024 or Microsoft 365 you can combine MEDIAN with FILTER, for example =MEDIAN(FILTER(C2:C20,B2:B20="East")). AVERAGEIF and AVERAGEIFS exist for conditional averages.