Two groups report average scores of 80 and 60. Taking the mean of those two numbers gives 70. Is that the average score of everyone in the groups? Only if the relevant group sizes are equal, or if the question deliberately gives each group equal importance. A missing denominator can change the answer even when every arithmetic step looks correct.
This is a useful classroom problem because it has a clear extension into scientific measurements. Reports often summarize groups, batches or samples before a reader combines them. A weighted mean can recover the overall mean in some circumstances, but the weights must represent the question being asked. The examples below are invented teaching data, not observations from a school or laboratory.
Recover the totals before averaging
Suppose group A contains ten scores with a mean of 80. Its total is 10 × 80 = 800. Group B contains thirty scores with a mean of 60, so its total is 30 × 60 = 1,800. Together there are forty scores totaling 2,600. The pooled mean is therefore 2,600 ÷ 40 = 65.
The arithmetic mean is the sum of observations divided by their number, as described in the NIST explanation of measures of location. Using that definition directly exposes the missing information in an average of averages: each displayed mean may represent a different number of underlying observations.
| Group | Count | Mean | Recovered total |
|---|---|---|---|
| A | 10 | 80 | 800 |
| B | 30 | 60 | 1,800 |
| Combined | 40 | 65 | 2,600 |
The value 70 is not meaningless. It is the equally weighted mean of the two group means. It answers a different question: what is the average of these two group summaries when each group receives the same influence? Naming the target quantity is more helpful than declaring one calculation universally right.

Write the weights explicitly
The pooled calculation can also be written as 0.25 × 80 + 0.75 × 60 = 65. The weights are the group counts divided by the total count: ten out of forty and thirty out of forty. They sum to one. Multiplying each mean by its weight makes the larger group’s contribution visible.
The official R documentation for weighted means describes values paired with weights and normalization of those weights. Whether software normalizes automatically or a worksheet does it explicitly, the underlying interpretation still comes from the analyst. A program cannot infer that counts, elapsed times or sample volumes are the intended weights merely from a column’s appearance.
Check the result against the input range. With nonnegative weights summing to one, the weighted mean must lie between 60 and 80. If a calculation produces 95, something is inconsistent with this setup. A range check does not prove every detail is correct, but it catches many misplaced denominators and duplicated totals.
Ask what one observation represents
Imagine a fictional laboratory where one specimen was read twice and another specimen was read eight times. Pooling all ten instrument readings gives the second specimen four times the influence of the first. That may be appropriate for a question about the set of readings. It is not automatically appropriate for a question that gives each specimen equal weight.
In the latter case, an analyst might first summarize the readings within each specimen and then combine those specimen summaries. The decision requires a definition of the measurement and the experimental unit. Additional readings can improve information about a specimen without creating additional independent specimens.
This is why the phrase “sample size” needs an object beside it. Does it count people, specimens, wells, images or repeated readings? A neat weighted-mean formula cannot repair a mismatch between the scientific question and the unit receiving weight. Write that unit before entering the numbers.
Use the correct weights for rates
Rates introduce another denominator. In a fictional counting exercise, period A has six events in two hours, or three events per hour. Period B has eight events in eight hours, or one event per hour. The combined rate is fourteen events in ten hours: 1.4 events per hour. The simple mean of the two rates is two, which does not recover the overall rate.
The required weights are the observation times: 0.2 and 0.8. Applying them gives 0.2 × 3 + 0.8 × 1 = 1.4. Weighting by the number of periods would answer a different question. The same reasoning applies whenever totals are divided by an exposure, length, area or another defined denominator.
Keep units in the intermediate steps. Events divided by hours yields events per hour. A score total divided by a count yields a score. If a proposed weight gives a result with an unexpected unit, pause before accepting the number. Dimensional consistency is an efficient partner to numerical checking.
Do not recover information that was never reported
A pooled mean does not reconstruct the spread of the original observations from group means and counts alone. Two groups can share the same mean while having very different distributions. Likewise, rounded published means may not reproduce the exact pooled value that would be obtained from the unrounded data.
If a summary omits group counts, state that the person-weighted or specimen-weighted mean cannot be recovered uniquely. Do not silently assume equal sizes. If a worksheet uses a clearly stated hypothetical count to demonstrate the method, keep that assumption visible next to the answer rather than presenting the result as a fact about the original report.
As a classroom extension, swap the two group sizes while retaining the means. Thirty scores averaging 80 and ten averaging 60 produce a pooled mean of 75. The two displayed means have not changed, but the pooled answer has. This is a direct demonstration that the weights contain information the means alone cannot supply.
A reusable three-line check
Write the quantity being averaged, the unit receiving weight and the denominator behind each group summary. Recover totals where possible, combine those totals and divide by the combined denominator. Then compare the result with a plausible range and explain which population or set it describes.
This habit scales from classroom scores to molecular measurements. Before combining peptide-assay summaries from different batches or specimens, identify what each mean represents. The weighted calculation becomes straightforward once the question and the denominator are visible.
