Unprompted← All traps

Thinking trap · Math

Averaging averages

When groups have different sizes, you cannot just average their averages. Each group must count in proportion to its size.

An everyday example

Say a class of 30 students scored 70 on average, and a class of 10 students scored 90.

The plain average of 70 and 90 is 80. But that treats the class of 10 as if it were as big as the class of 30.

To get the real average, weight each class by its size: (30 × 70 + 10 × 90) ÷ 40 = 75. The real average is 75, not 80.

The same mistake shows up with average prices, average salaries and average ratings, whenever the groups have different sizes.

How an AI answer falls for it

You ask an AI for the average order value across a company's two web shops. It answers with confidence:

“Shop A averages $20 per order and Shop B averages $50, so the company's average order is $35.”

The AI never asked how many orders each shop had. Say Shop A had 1,000 orders and Shop B had 100.

Then the true average is (1,000 × $20 + 100 × $50) ÷ 1,100, or about $22.73. The small shop pulled the AI's answer far too high.

The AI's answer would only be right if both shops had the same number of orders.

How to catch it

  • Before you combine averages, ask how many items each one covers.
  • Rebuild the totals: multiply each average by its count, add them up, and divide by the total count.
  • If the groups are about the same size, a plain average is close. If they differ a lot, it can be far off.

Practice

Every daily challenge hides one trap, or none. Play today's challenge

Related traps

Further reading