Cribbage Arena · Shuffle Lab

How many times should you shuffle a deck?

Riffle a deck a couple of times and deal: is that enough? Watch what a few riffles leave behind, next to the computer's shuffle.

Watch both shuffles

The Shuffle Lab plays a round of cribbage with the computer, then hands the cards to the game's own shuffle code. Every card keeps the colour of the pile it came from: each player's plays, the crib, the starter, and the cards nobody was dealt.

  • Realistic shuffle picks the cards up off the table as they lie, riffles them twice, strips them, cuts and deals one card at a time, the way people do at a kitchen table.
  • Uniform shuffle starts from a fresh deck and puts it in one random order, where every order is as likely as any other. This is how the computer shuffles.

Tap Play to watch, or step through it a move at a time. Add extra riffles, or choose a more careless or more thorough shuffler, and watch the colours break up.

Why two riffles are not enough

A riffle splits the deck in two and lets the halves fall together. Cards that were next to each other often stay close, so after one or two riffles you can still see runs of one colour: cards that lay together on the table last round, travelling together into the next deal.

We measured how much that matters in a two-player game. If the deck were perfectly mixed, a card would land in the same player's hand as last round 6 times in 52, or 11.5% of the time. After 2 riffles by an ordinary shuffler, in our model of how people shuffle, it was 12.2%. After 4 riffles it was 11.6%, no different from chance. With more riffles than that it stayed within half a percentage point of chance. Each figure comes from 9,600 rounds.

So two riffles leave a small but real trace of the last hand. Someone who remembered every card of the last round would still gain very little. Mathematicians who studied the riffle, Dave Bayer and Persi Diaconis, found that it takes about 7 riffles to mix a full deck well. Our realistic shuffle allows up to 7: the 2 it always does, and 5 more if the dealer asks for them.

Why the computer's shuffle is different

A computer does not need to riffle. It starts each hand from a fresh deck and picks one order of the 52 cards, every order as likely as the next, so nothing from the last hand survives. Every game here uses it unless whoever sets up the game chooses the realistic shuffle, and ranked games always use it.

You do not have to take our word for the deal. Is online cribbage rigged? explains the proof that comes with most games, showing nobody chose the cards, and how to check it. To see how much the cards decide a game, read is cribbage skill or luck?

A perfect shuffle still brings runs of bad hands and lost games, because random cards clump too. The fairness page puts numbers on the losing runs, in why fair deals still feel streaky.

Play with the realistic shuffle switched on

When you set up a game against the computer, or a table for friends, tick Realistic Shuffle under Options, then choose a Shuffler: Careless, Casual or Thorough. Every deal gets 2 riffles by itself. Before the deal, the dealer can tap Shuffle for one more riffle at a time, up to 5 more.

Everyone at the table plays with the same setting. Ranked games do not offer it, and a game against the computer with the realistic shuffle has no deal proof.

Play cribbage free · All cribbage guides