Collecting a full set from random packs takes far more draws than the number of items, because the last few are hard to find. This coupon collector calculator gives the expected number of cards and packs needed to complete a set, the expected cost, the number needed for a chosen confidence level and the typical spread, assuming each item is equally likely.
How the calculation works
- Harmonic number H = ln(n) + 0.5772 + 1 ÷ (2n) − 1 ÷ (12n²).
- Expected items = n × H.
- Packs = expected items ÷ items per pack, and cost = packs × price.
- For a confidence level p you need about n × (ln n − ln(−ln p)) items.
- Standard deviation ≈ 1.28 × n.
Example
A set of 100 different cards sold in packs of 5 at $4.50. The harmonic number is about 5.19, so you expect to draw 519 cards, which is about 104 packs and $467. For a 90 % chance of completing the set you need about 685 cards (137 packs), and the spread is about 128 cards.
Why it matters
Collectors, parents and game designers often underestimate the cost of a full set, since the first 80 percent comes quickly and the last 20 percent takes more than half the purchases. Knowing the expected total before you start helps you decide how much to spend, whether to trade and how to design a collection with a fair completion cost.
Good to know
The expected number grows like n times the natural log of n, so doubling the set size more than doubles the draws. The 90 percent figure shows the planning number, because the average only means half of buyers finish earlier. Draws within a pack are assumed independent, which is close to true for large sets but not for sets sold with guaranteed unique cards. Items with different odds take longer. Buying single cards of the missing items usually costs less than buying more packs once you are close.
Related tools
The probability calculator covers basic chances, the expected value calculator weighs outcomes, and the birthday paradox calculator shows another counterintuitive result.