Skip to content
Omnikalc

Coupon collector calculator: how many cards must you buy to complete a set?

Enter the set size, the cards per pack and the price to get the expected number of packs, the cost and the number needed for a given chance of completing the set.

Updated on
Your inputs

Value out of range

Value out of range

$

Value out of range

%

Value out of range

Results

Expected items to complete the set

519

Expected cost

$467

Expected packs to buy
104
Items needed for the chosen confidence
686
Packs needed for the chosen confidence
137
Expected items per set item
5.19
Typical spread (standard deviation)
128

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.

The probability calculator covers basic chances, the expected value calculator weighs outcomes, and the birthday paradox calculator shows another counterintuitive result.

Frequently asked questions

What is the coupon collector problem?

The question of how many random draws you need to collect every item in a set when each draw gives one item with equal chance.

Why does the last card take so long?

When you only miss one item, each draw has a 1 in n chance of finding it, so that last card alone takes n draws on average.

Does trading change the answer?

Yes. Trading with friends lowers the number of packs you need, often by half or more. This calculation assumes no trades.

Are all items equally likely?

The formula assumes they are. Rare items make the real number higher, so treat the result as a minimum.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.