Checking a median of medians against the pooled list
Two group medians do not tell you the median of the combined data. This guide combines a one-value group with a four-value group and compares three different answers.
Two groups, three candidate answers
Group A holds the single value 0, so its median is 0. Group B holds 10, 11, 12 and 13, and its median is 11.5, the average of the two middle values. If you only know those two medians, a natural move is to average them, which gives 5.75. A second move is to weight them by group size, 1 value and 4 values, which gives (1 × 0 + 4 × 11.5) / 5 = 9.2. But the median of the five pooled values 0, 10, 11, 12, 13 is simply the middle one, 11. Three methods give 5.75, 9.2 and 11, and only the last answers the question about the combined group. The guide exists to show that summaries of the parts cannot replace the raw values.
How the median is found
The median is the middle value of the sorted list when the number of values is odd, and the average of the two middle values when it is even. Pooled, the list 0, 10, 11, 12, 13 has five values, so the third one, 11, is the median. The result depends on the positions in the combined order, not on the medians of the pieces. Group A contributes one position at the very bottom, and group B fills the other four. The middle of the combined list lands inside group B, at its second-lowest value. The group B median of 11.5 sits between the second and third value of that group, which is a different place in the order.
Why the midpoint of medians fails
Averaging 0 and 11.5 treats each group as if it contributed one position, as though the combined data were two values. The page shows this directly by computing the median of the list 0, 11.5, which is 5.75. That number lies in a gap where no pooled observation exists, since the nearest values are 0 and 10. A median of the pooled data, by contrast, is an actual data point when the count is odd. The midpoint rule ignores group sizes completely: a group of 1 and a group of 1,000 would count equally. Any rule that uses only the medians has no way to recover the sizes or the spread inside each group.
Why weighting by size also fails
Weighting by counts repairs this problem for the mean, because a pooled mean equals the sum of group sums divided by the total count, and each group sum is its mean times its count. Medians have no such identity. The weighted value 9.2 is not 11, and the discrepancy is not a rounding issue. It happens because the median depends on how the values of one group interleave with the values of the other. If group A had been 20 instead of 0, the pooled list 10, 11, 12, 13, 20 would have median 12, while the group medians would still be 20 and 11.5. The group medians alone cannot tell you where one group lies relative to the other.
When the pooled median can be recovered
It can be recovered when you keep more information. The raw values do the job. A frequency table with counts per value works, and so does a histogram with fine enough bins, in which case the median is estimated by interpolating within the bin that contains the 50 percent point. Sorted lists of each group can be merged without losing anything. In large databases, an exact median across partitions needs either the data, a sketch structure with a stated error bound or a two-pass approach. Systems that compute medians over distributed data face this constraint, which is why many of them offer approximate percentile functions in addition to exact ones.
A common reporting situation
The mistake appears whenever results from clinics, schools, stores or regions are combined from published tables. Each table reports its own median income, wait time or price, and someone averages them to get an overall figure. The result may be far from the true overall median, in either direction. Official statistics agencies avoid this by computing national medians from microdata, not from regional medians. If only group medians are available, the honest statement is that the overall median cannot be determined from them, though it is bounded: it must lie between the smallest and largest group median when groups are non-empty and ordered consistently, which gives a range and not a number.
The pooled median from a frequency table
A compact way to keep enough information is a frequency table. For the five pooled values the table is 0 once, 10 once, 11 once, 12 once and 13 once. Add the counts to get the total of 5 and walk up the sorted values until the running count reaches the halfway point: after 0 the count is 1, after 10 it is 2, and after 11 it is 3, which is past 2.5. The median is therefore 11. The same walk works for a table with thousands of rows and counts in the millions, and it needs nothing beyond the value and count columns. Group medians cannot be walked this way because they discard the counts per value.
Checking your own pooling
To test a pooling procedure, build a tiny case like this one by hand. Put one extreme value in a small group and several moderate values in a larger one, then compute the pooled median directly from the combined list. Compare it with whatever shortcut your report uses. If the shortcut and the direct result differ, the shortcut is not a median. The three cases on the page walk through exactly this: the larger group median, the median of two summaries and the pooled median, each calculated from a list of numbers, so you can reproduce them with a pencil.
What the example claims
The example is descriptive and carries no recommendation about how to group data. It shows one pair of groups for which the median of medians, 5.75, differs from the pooled median, 11. It also notes that count weighting gives 9.2 here, which differs too. It does not claim that a median of medians is always wrong, since for some symmetric arrangements the answers happen to agree. It claims that the group medians do not determine the pooled median in general, and that a single counterexample is enough to establish that.
Reproduce the checks
Larger group median
Open the Average calculator and enter:
- Values
10,11,12,13
Expected output:
Median
11.5The group has four observations.
Median of two summaries
Open the Average calculator and enter:
- Values
0,11.5
Expected output:
Median
5.75Each group summary receives one position.
Pooled median
Open the Average calculator and enter:
- Values
0,10,11,12,13
Expected output:
Median
11The original pooled list has five positions.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- NIST: Measures of location ↗ · 2026-10-08