A deck of cards has 52! = 8.0658175170944⋅10⁶⁷ orderings

52! is the number of shuffles that matter, and it is larger than the number of seconds since the Big Bang by fifty orders of magnitude.

Statistics and data · Level: Classic result · Updated on 2026-11-10

Type 52! and the screen returns 8.0658175170944⋅10+67. The exact integer is 80658175170943878571660636856403766975289505440883277824000000000000, so the fourteenth digit the workbench prints is already rounding; nothing about the number is approximate except the display. Every shuffle you have ever seen has almost certainly produced an order no one has produced before.

To feel the size: shuffle once per second ever since the Big Bang — about 4.4⋅10¹⁷ seconds — and you will have gone through roughly 5⋅10⁻⁵¹ of the orderings, a proportion whose decimal point needs fifty zeros before the first non-zero digit. Diaconis' practical version of the same fact is that seven riffle shuffles are needed to make a deck genuinely mixed, and three or four leave enough order to be exploited; Bayer and Diaconis measured that by tracking the total variation distance from uniform after each shuffle, instead of trusting the card room's folklore.

Answer

8.0658175170944⋅10+67

How to read it

52! on the workbench, in scientific notation because the value needs 68 digits. The square root below is the point where a repeated shuffle starts colliding with an earlier one.

Source

52! — the permutations of a 52-card deck; the seven-shuffle figure is Persi Diaconis' rule of thumb, made precise by Bayer and Diaconis (1992)

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.