CARDMARK · THE 52! PROBLEM
52 Factorial: how many ways can you shuffle a deck of 52 cards?
Every second on CARDMARK, smartphones around the world shuffle millions of virtual 52-card decks. Yet even if every phone on Earth ran nonstop for billions of years, we would barely scratch the surface of 52!.
Valid decks shuffled on CARDMARK (all time, live)
…
Combinations left to discover out of 52! (all 68 digits)
Fraction of 52! explored so far (calculating…)
0.000000…%
Deal a deck that has never existed in the universe
This deck was shuffled right now in your browser with the same unbiased Fisher-Yates algorithm used by the CARDMARK engine. Its exact mathematical serial number (Lehmer index, from 1 to 52!) is shown below.
Exact permutation index out of 52!:
How big is 52! compared to the rest of the universe?
A 52-card deck has a 68-digit number of combinations (an 8 followed by 67 digits). Starting from 52! at the top, here is how it dwarfs the biggest numbers in nature:
-
52! — Ways to order one deck of 52 cards68 digits80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000
-
Every single atom on planet Earth51 digits
One deck of cards has 600 million billion times more combinations than there are atoms in the entire Earth.
133,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 -
Every star in the observable universe24 digits
52! is 400 billion billion billion billion times larger than all the stars in the sky.
200,000,000,000,000,000,000,000 -
Every grain of sand on Earth19 digits
Even if every grain of sand on Earth contained another entire planet of sand, it still wouldn't come close to 52!.
7,500,000,000,000,000,000 -
Seconds since the Big Bang (13.8 billion years)18 digits
The entire history of the universe so far is only 18 digits of seconds — a blink compared to the 68 digits of 52!.
435,000,000,000,000,000
Note: bars are drawn by digit count (log scale). On a linear scale, every bar below 52! would be invisible — smaller than a single atom.
How to actually feel 52!: the Pacific Ocean experiment
Imagine a countdown ticking down 1 combination every second, from 52! to zero. How long does it take to finish? Try this thought experiment (by mathematician Scott Czepiel):
Start on the equator. Wait 1 billion years, take one step, wait another billion years for the second — until you circle the entire Earth.
After circling Earth, remove 1 single drop from the Pacific Ocean. Repeat walk + drop until the entire ocean is completely dry.
Ocean empty? Place 1 sheet of paper on the ground, refill the ocean and start over, until the paper stack reaches the Sun.
Check the timer: the first digits of 52! haven't moved. Repeat the entire Sun-high stack 1,000 times — and you are still only a third of the way!
How far would YOUR phone actually get?
Forget unreadable scientific exponents: see how many of the 68 digits of 52! your smartphone could actually chip away, even running nonstop:
Could two phones on CARDMARK have ever shuffled the exact same deck? So far the odds are practically zero.
Add your millions of decks to the planetary counter
Run the 1-second CARDMARK test in your browser — no app, no cookies, instant score.
Start the 1-second test ›Frequently asked questions
What is 52 factorial (52!)?
It is the product 52 × 51 × 50 × … × 2 × 1: the exact number of unique ways to arrange a standard 52-card deck. It has 68 digits.
Has any properly shuffled deck ever been repeated in human history?
Almost certainly not. Even if every human who ever lived shuffled a deck every second of their life, the total would still be a negligible speck compared to 52!.
Why does CARDMARK use card shuffling to benchmark smartphones?
Because a real unbiased Fisher-Yates shuffle is simple to understand, impossible to fake with shortcuts, and exercises integer math, branching, and L1 cache on every CPU core simultaneously.
Which tests are included in the live counter above?
All valid, non-excluded benchmark runs stored across every smartphone model on CARDMARK, updated live from our database.