How Many Shuffles Make a Deck of Cards Random?
Seven riffle shuffles randomise a deck of 52 cards. See why overhand shuffles fall short and how dealers, shuffling machines and online games mix the cards.

How many shuffles does it take to randomise a deck of cards?
Seven riffle shuffles are enough to randomise a standard deck of 52 cards for most games. Dave Bayer and Persi Diaconis reached that figure in a 1992 paper that modelled the way people riffle a pack by hand. Below five shuffles the order is still far from random, and the overhand shuffle seen at most kitchen tables needs a much larger number of repetitions.
Once a shoe is shuffled, its order is fixed before anyone places a bet, and that order shapes every blackjack and baccarat hand that follows. Casinos therefore write the shuffle into their table procedures, give much of the job to machines and hold digital card games to random number standards set by the Gambling Commission.
Why do seven riffle shuffles make a deck random?
A riffle shuffle splits the pack into two rough halves and lets the cards fall from each thumb so the halves interleave. Real riffles are untidy. Cards drop in small clumps, and the split is rarely exactly 26 and 26. Bayer and Diaconis built a model of that imperfect riffle and measured how far the order of the deck sits from a truly random arrangement after each shuffle.
Their measure, known as total variation distance, scores a deck that is nowhere near mixed as 1 and a perfect result as 0. The figures below come from that model for 52 cards.
Riffle shuffles | Distance from a random order |
4 | 1.00 |
5 | 0.92 |
6 | 0.61 |
7 | 0.33 |
8 | 0.17 |
10 | 0.04 |
The distance barely moves over the first four shuffles. The distance then falls sharply, and after seven each extra riffle roughly halves what is left. Seven became the standard answer because it sits at the bottom of that steep drop. A later paper in the Proceedings of the Royal Society argued that six can be enough when randomness is measured another way, and Diaconis has said that games which ignore suits, blackjack included, can manage with about four.
What does 52 factorial mean for a shuffled deck?
There are 52 choices for the top card of a pack, 51 for the next, 50 for the one after and so on down to a single choice for the last card. Multiplying those together gives 52!, read as 52 factorial. It comes to roughly 8 followed by 67 zeros, a figure 68 digits long.
In practice, a properly shuffled deck is almost certainly in an order that nobody has ever dealt before. The size of the number also shows why a weak shuffle matters. A deck that is only partly mixed can reach a tiny share of those orders, and the ones it does reach are much easier to anticipate.
Why is the overhand shuffle so slow to mix cards?
The overhand shuffle drops small packets of cards from one hand into the other. Every packet keeps its internal order, so cards that started next to each other tend to stay close. Robin Pemantle’s 1989 work put the minimum at around 50 overhand shuffles, with his experiments pointing to 1,000 or more in many cases. A figure of about 2,500 for 52 cards is often quoted. In 2006 Johan Jonasson proved that the number needed grows faster than the square of the deck size. The overhand shuffle plays no part in the standard casino routine.
Can a perfect shuffle randomise a deck?
A perfect riffle, also called a faro shuffle, never randomises anything. It cuts the deck into exact halves of 26 and interleaves them one card at a time. Eight perfect out shuffles, the version that keeps the top card on top, put a 52 card deck back in its starting order, which is why magicians practise them. The small errors in an ordinary riffle are what make it mix the cards.
What shuffle routine do casino dealers follow?
Dealers work through a fixed routine so the cards are mixed the same way every time and stay face down throughout. One widely used sequence runs as follows.
Step | What the dealer does | Purpose |
Wash | Spreads the cards face down and slides them around the table with both hands | Breaks up the order of a new or idle set of cards |
Three riffles | Splits the stack and interleaves the halves | Does most of the mixing |
Strip | Pulls small packets off the top into a new pile | Breaks up runs that survived the riffles |
Final riffle | Interleaves the halves once more | Spreads the stripped packets back through the stack |
Cut | Splits the stack and moves the bottom part to the top | Stops anyone controlling which card comes out first |
The wash also goes by the name chemmy shuffle. New Jersey’s blackjack regulations call for a washing or chemmy shuffle when the cards at an idle table are gathered up and there is no automated shuffler in use. It works better than it looks, as research by Diaconis and Soumik Pal suggests about a minute of washing is enough to randomise a deck.
The cut adds almost nothing to the mixing. It moves the starting point but leaves every card in the same sequence. What it does provide is security, because a dealer who glimpsed the bottom card no longer knows where that card sits. With six or eight decks, dealers usually work through the stack in smaller sections, shuffling each one and swapping cards between the piles.
When did casinos start using shuffling machines?
The modern shuffling machine began with John Breeding, a former truck driver who founded Shuffle Master in Minneapolis in 1983. He borrowed $30,000 to develop a device that let every hand come from a freshly shuffled deck, giving casinos more playing time and removing much of the information card counting depends on. The company sold its first automatic shuffler to Bally’s in Las Vegas in January 1992.
Shuffle Master later became SHFL Entertainment. Bally Technologies bought it in 2013 for about $1.3 billion, and Scientific Games bought Bally the year after. The Shuffle Master name now belongs to Light & Wonder.
Most card shuffling machines are computer controlled. One common design sends each card to a randomly chosen shelf inside the box, places it above or below the cards already resting there and then stacks the shelves into a single pile.
What did mathematicians find inside a casino shuffler?
A manufacturer asked Diaconis, Jason Fulman and Susan Holmes to test one of its shelf shufflers, which had ten shelves. They found that a single pass left patterns behind. Someone who understood the machine could guess about nine and a half cards correctly in a run through 52, compared with about four and a half for a properly random deck. Their advice was to feed the cards through twice, and the manufacturer adopted it. The study appeared in The Annals of Applied Probability in 2013.
What shuffles the cards in online blackjack and baccarat?
Digital blackjack and baccarat replace the dealer’s hands with software. A common method is the Fisher-Yates shuffle, also called the Knuth shuffle. It moves through the virtual deck one position at a time and swaps each card with one picked at random from those not yet placed. Given good random numbers, a single pass gives all 52 factorial orders the same chance.
The random numbers are the weak point. Digital card games draw them from the same kind of random number generator that decides each slot spin. British rules for remote gambling software, written by the Gambling Commission, call for output that is acceptably random and cannot be predicted in practice. They also rule out any seeding method that would make it predictable.
What went wrong with online poker shuffling in 1999?
A 1999 study showed what weak numbers can do. Researchers at Reliable Software Technologies examined the shuffle written by ASF Software, whose platform ran PlanetPoker. The code could never pick the last card as a swap partner, favoured some orders over others and seeded its generator with the number of milliseconds since midnight.
A 32 bit seed limited the software to about 4 billion possible shuffles, set against 52 factorial, which is roughly 2 to the power of 226. Tying the seed to the clock cut the real total to 86.4 million, and syncing their own program with the server brought it down to about 200,000. After seeing their two hole cards and the three flop cards, the team could identify the whole deck in under a second. ASF changed its algorithm once the researchers got in touch.
Who shuffles the cards at a live dealer table?
Live tables deal real cards, so the maths of hand and machine shuffling carries straight over. Some tables are shuffled by hand between shoes, and others rely on an automatic shuffler. Our live casino includes card tables such as Speed Baccarat, while any digital titles in our blackjack games shuffle with software.
For a home game, seven decent riffles will do the job. If riffling is awkward, spread the cards face down and wash them around the table for about a minute, which mixes them far better than a few dozen quick overhand shuffles.

Casino


