On this page
During the Second World War, Allied analysts wanted to know how many tanks German factories were building each month. Serial numbers on captured tanks came far closer to the truth than intelligence reports did. Here is the method, with a worked example.
What is the German tank problem?
Suppose tanks are numbered 1, 2, 3 and so on up to an unknown N, and you capture k of them at random. From those k serial numbers alone, what is your best estimate of N? That is the German tank problem, as set out in the German tank problem article on Wikipedia.
How do you estimate N from serial numbers?
The minimum-variance unbiased estimator of the total is N = m + m/k − 1, where m is the sample maximum and k is the sample size (Wikipedia). Unbiased means repeated captures would average out to the true N; minimum-variance means no other unbiased rule scatters less.
Worked example: four tanks are captured with serials 19, 40, 42 and 60.
Maximum and count: m = 60, k = 4.
Unseen serials below the maximum: 60 − 4 = 56.
They sit in four gaps: 18 (1 to 18), 20 (20 to 39), 1 (just 41) and 17 (43 to 59). Average gap: 56 ÷ 4 = 14.
Add one average gap above the maximum: 60 + 14 = 74.
The formula agrees: 60 + 60/4 − 1 = 74. Steps 2 to 4 are Wikipedia's reading of it: the sample maximum plus the average gap.
How sure can you be? The standard deviation of this estimate is approximately N/k, the expected size of one gap (Wikipedia). That rule of thumb gives about 18 here; the exact variance formula on the same page gives about 15 for N = 74 and k = 4. Either way, 74 is a good guess, not a certainty.
Why does the largest serial number underestimate?
Your largest serial can never be bigger than N, but it can easily be smaller, so the sample maximum alone is too low on average (Wikipedia). You can measure how low with school combinations and probability. The chance that the largest of k serials equals j is C(j − 1, k − 1) ÷ C(N, k), because the other k − 1 serials must come from the j − 1 numbers below it. Summing j times that probability gives an expected maximum of k(N + 1) ÷ (k + 1).
Put in N = 74 and k = 4: the expected maximum is 4 × 75 ÷ 5 = 60. So a fleet of 74, sampled four at a time, has an average maximum of 60: our example exactly, and 14 tanks short. The correction adds that back: 60 × 5/4 − 1 = 74.
The sample maximum is also the maximum-likelihood estimate here, a useful case where the most likely value is not the unbiased one; see our guide to maximum likelihood estimation with worked examples. If combinations or expected value feel shaky, the Fermi Concept Library covers every concept in mathematics, so you can fill that gap first.
How well did it work in World War II?
According to conventional Allied intelligence estimates, Germany was producing around 1,400 tanks a month between June 1940 and September 1942, as recorded in the Wikipedia account of the historical problem. The serial-number method gave 246 a month. Production figures from Albert Speer's ministry, captured after the war, showed 245.
The same source lists month-by-month figures (statistical estimate, intelligence estimate, German records):
June 1940: 169, 1,000 and 122.
June 1941: 244, 1,550 and 271.
August 1942: 327, 1,550 and 342.
In those months intelligence overcounted by roughly 4.5 to 8 times, while the statistical estimates stayed within 50 tanks of the records. Markings on parts such as wheels were used too: a wheel-based estimate of 270 tanks for February 1944 compares with 276 in German records (Wikipedia). Richard Ruggles and Henry Brodie described the wartime work in An Empirical Approach to Economic Intelligence in World War II, published in the Journal of the American Statistical Association in 1947.
How can you try the German tank problem in class?
You need paper slips and a box.
One person secretly picks N between 50 and 150 and puts slips numbered 1 to N in the box.
Each group draws 5 slips, notes the serials, and puts them back.
Every group writes two estimates: m alone, and m + m/5 − 1.
Put all estimates on the board in two columns, then reveal N.
Repeat with 2 slips and with 10.
The m-alone column can never go above N and will mostly sit below it, while the formula column centres on N. With 2 slips the estimates scatter widely; with 10 they bunch up, as the N/k rule predicts.
For more questions that mix expectation and combinations, try our probability and statistics guide for JEE Advanced, and check each step with the Fermi Problem Library, a step-by-step solver that explains the reasoning.



