Simple Counter is now an Android app.Our Android app is here. Become a founding tester and try it before anyone else.

Join the testers

Frequently asked questions

How many times should you shuffle a deck of cards?

Seven riffle shuffles for a 52-card deck, going by Bayer and Diaconis's 1992 analysis. After seven the order is close to random, with a total variation distance of 0.334, and each further shuffle roughly halves that. Five shuffles are not enough, because the deck is still almost entirely distinguishable from a random one.

Is seven shuffles really enough?

Seven is enough for most games, and it is not perfect. Seven leaves a distance of 0.334 from a truly random deck, and eleven leaves 0.022. The word nearly in the published result matters: the deck is not perfectly random at seven, and the figure applies to a model of an ideal human riffle shuffle.

How many times should you shuffle a tarot deck?

About eight to nine riffles for a 78-card deck. Seven riffles leave a 78-card deck at a distance of 0.571 from random, where a 52-card deck is at 0.334. Eight riffles bring it to 0.307, matching what seven achieve for 52 cards. Large tarot cards are hard to riffle, so many readers also cut and mix.

What is a riffle shuffle?

A riffle shuffle splits the deck into two halves and lets the cards fall from each half so that they interleave, the way most people shuffle at a card table. It is the shuffle that Bayer and Diaconis analysed. Overhand shuffles, where small packets are moved from one hand to the other, are a different method and are not covered by the seven-shuffle result.

Does shuffling more than seven times hurt?

No. More shuffling only brings the deck closer to random, never further. The distance from random roughly halves with each riffle after seven: 0.167 at eight, 0.085 at nine and 0.043 at ten. Seven is where the deck stops being obviously unmixed, not a limit past which shuffling does harm.

How many ways can a deck of cards be arranged?

A 52-card deck can be arranged in 52 factorial ways, which is about 8.07 times ten to the 67th power. A 78-card tarot deck has 78 factorial orders, about 1.13 times ten to the 115th power. A fair shuffle makes each of those orders equally likely, which is what a random shuffle means.

How does this site shuffle cards?

With the Fisher-Yates algorithm, driven by crypto.getRandomValues, the browser's secure random source, with rejection sampling so that no card is favoured. Every order of the deck is then equally likely after one pass, so there is no seven to count. A computer shuffle is uniform by construction, and a hand shuffle is not.

Can a perfect shuffle restore the order of a deck?

Yes. Eight perfect out-shuffles, in which the deck is split exactly in half and interleaved with the top card staying on top, return a 52-card deck to its starting order. Fifty-two perfect in-shuffles do the same. That is the opposite of random, and shows why the shuffle has to be imperfect to mix.

People also search for

More in counting and tallying

All 24 guides in counting and tallying · every topic

A shuffle that needs no counting

The yes or no tarot draws from a full Fisher-Yates shuffle of all 78 cards on every press, so every order is equally likely from the first draw, and it publishes the odds it works to.