Every Single CalculatorOne place for every calculator
?!Just for fun

German tank problem calculator

Estimate how many of something exist from a few serial numbers.

Example: You are number 4,217 in a queue and wonder how long it is.

Your numbers

  • Best estimate of the total0
  • It is at least0
  • 95% sure it is no more than0

How it is worked out

Estimate = highest × (1 + 1/sample size) − 1

A worked example

Serial numbers 19, 40, 42 and 60: the best guess is 74 in total.

Good to know

  • Allied statisticians used this in the Second World War to estimate tank production, and came far closer than the spies did.

How we know this calculator is right

Before this calculator went on the site, 5 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.

See every check
Numbers usedResultWorked out separatelyThis calculator

What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.

Your turn

This site is built from what people ask for. Is something missing from this calculator, or is there another one you need?

Ask for a calculatorBuild your own

Spotted a mistake? Tell us about this page and we will fix it.

Used by: just for fun.