How Dobble maths works And why the box says 55, not 57
Every two cards in a Dobble deck share exactly one symbol — never zero, never two. That is not careful hand-checking, it is a piece of nineteenth-century geometry called a finite projective plane. Here is how it works, and why the commercial deck is two cards short of the mathematical one.
One rule, held perfectly
Three ideas are enough to understand the whole construction.
Cards are lines, symbols are points
Treat each symbol as a point and each card as a line drawn through some of them. A projective plane guarantees that any two lines meet at exactly one point — which is precisely the promise the game makes about any two cards.
One prime sets everything
Pick a prime number p. You get p+1 symbols on every card, p²+p+1 symbols in total, and p²+p+1 cards. Choose p and the whole deck size is decided; there is nothing left to tune.
Why it never fails
The single-match property is a theorem, not a target. Once the plane is built correctly you cannot find two cards that share nothing, and you cannot find two that share more than one symbol.
The deck sizes this produces
Every legitimate Dobble size is p²+p+1 for some prime p.
3️⃣
p = 3 → 13 cards
4 symbols per card, 13 symbols in total
5️⃣
p = 5 → 31 cards
6 symbols per card, 31 symbols in total
7️⃣
p = 7 → 57 cards
8 symbols per card, 57 symbols in total
🃏
The shop deck
55 cards — the full 57 with two removed
♾️
p = 2 → 7 cards
3 symbols per card; valid, but too small to play
🧮
No 6-symbol prime gap
There is no plane of order 6, so no 43-card deck exists
The 55-versus-57 question, settled
57 is the complete set
The construction for p = 7 gives 7² + 7 + 1 = 57 cards, each carrying 8 of the 57 symbols. Nothing about that deck is arbitrary and nothing can be added to it.
55 is what you buy
The commercial Dobble box contains 55 cards. Two cards from the complete set are left out — a manufacturing and packaging decision, not a mathematical one.
Removing cards is safe
Drop any cards you like and the guarantee survives: the remaining pairs still share exactly one symbol. You lose combinations, never correctness. That is why 55 plays perfectly well.
Adding cards is not
You cannot extend a 57-card deck to 58. There is no eighth line through the geometry, so a 58th card would have to either miss a card entirely or match one twice.
Common questions about the maths
Why do two cards always share exactly one symbol?
Because the deck is a finite projective plane, in which any two lines intersect in exactly one point. Cards play the role of lines and symbols the role of points, so the geometric theorem becomes the game rule. It holds for every pair in the deck, without exception.
Is the real Dobble 55 or 57 cards?
Both numbers are correct about different things. The retail box holds 55 cards. The complete mathematical set for p = 7 is 57. The published deck is the full set minus two cards, which is why you may see either figure quoted.
Could there be a deck with 7 symbols per card?
No. Seven symbols per card would need a projective plane of order 6, and the Bruck–Ryser theorem rules that out. The symbol counts jump from 6 to 8, which is why deck sizes jump from 31 to 57 with nothing in between.
Does the generator work this out every time?
Yes. Choose 13, 31, 55 or 57 and the generator builds the plane for the matching prime and assigns your uploaded images to the symbol positions. You never have to check a pair by hand — the structure is correct before any picture is placed.
See the geometry with your own pictures
Upload your images and the generator does the construction. The 13-card deck is free.