# Probability of cards in a deck?

**URL:** <https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006>\
**Category:** Factual Questions\
**Created:** [February 11, 2011, 10:29am UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006 "2011-02-11T10:29:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wallenstein](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@Wallenstein](https://boards.straightdope.com/u/Wallenstein)\
**Post date:** [February 11, 2011, 10:29am UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/1 "2011-02-11T10:29:20Z")

</div>

What’s the probability of a deck of 52 cards being in a particular order after a shuffle?

I presume it’s quite a big number?

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [February 11, 2011, 10:38am UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/2 "2011-02-11T10:38:37Z")

</div>

It’s 52!, pronounced ‘52 factorial’, which is 52 \* 51 \* 50 \* … \* 1. This is because, to begin with, you have 52 possible cards to be in the top spot, then 51 possible for the next-to-top, then 50 for third-from-top, down to one possibility to be the very bottom of the deck.

This works out to 80658175170943878571660636856403766975289505440883277824000000000000 distinct arrangements of cards for a 52-card deck. Now, who cuts?

---

<div class="post-metadata">

**Author:** ![Wallenstein](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@Wallenstein](https://boards.straightdope.com/u/Wallenstein)\
**Post date:** [February 11, 2011, 11:10am UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/3 "2011-02-11T11:10:30Z")

</div>

> [@Derleth](#):
>
> It’s 52!, pronounced ‘52 factorial’, which is 52 \* 51 \* 50 \* … \* 1. This is because, to begin with, you have 52 possible cards to be in the top spot, then 51 possible for the next-to-top, then 50 for third-from-top, down to one possibility to be the very bottom of the deck.
> 
> This works out to 80658175170943878571660636856403766975289505440883277824000000000000 distinct arrangements of cards for a 52-card deck. Now, who cuts?

Many thanks - I had an inkling it might be that but the numbers were getting so huge I figured I’d slipped somewhere!

Would I express that as 8x10[sup]66[/sup] ?

edit:

I see from google that 52 ! = 8.06581752 × 10[sup]67[/sup]

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [February 11, 2011, 12:07pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/4 "2011-02-11T12:07:42Z")

</div>

If it makes things more apparent, I’ve seen things like 10x10[sup]12[/sup], where you make sure the exponent is always a multiple of three; this is usually called ‘engineering notation’.

Anyway, it doesn’t especially matter here, as the number is really too big to be readily comprehended and we aren’t comparing it to anything else.

---

<div class="post-metadata">

**Author:** ![iamnotbatman](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@iamnotbatman](https://boards.straightdope.com/u/iamnotbatman)\
**Post date:** [February 11, 2011, 12:21pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/5 "2011-02-11T12:21:07Z")

</div>

> [@Derleth](#):
>
> Anyway, it doesn’t especially matter here, as the number is really too big to be readily comprehended and we aren’t comparing it to anything else.

The number can be compared and comprehended:

52! ~= 10^68

This is about equal to the number of atoms in our galaxy.

---

<div class="post-metadata">

**Author:** ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)\
**Post date:** [February 11, 2011, 3:08pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/6 "2011-02-11T15:08:20Z")

</div>

> [@Derleth](#):
>
> If it makes things more apparent, I’ve seen things like 10x10[sup]12[/sup], where you make sure the exponent is always a multiple of three; this is usually called ‘engineering notation’.

I prefer that over scientific notation, simply because the exponents that are a multiple of three have names. 26x10[sup]9[/sup] Hz is 26 GHz; 850x10[sup]-9[/sup] m is 850 nm.

I don’t think there’s a name for 10[sup]66[/sup] so for a number that big it doesn’t really matter to me.

---

<div class="post-metadata">

**Author:** ![Musicat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/musicat/32/20189_2.png) [@Musicat](https://boards.straightdope.com/u/Musicat)\
**Post date:** [February 11, 2011, 3:24pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/7 "2011-02-11T15:24:40Z")

</div>

So if I am dealt a Royal Flush twice in a row after a shuffle, it’s probably not due to random chance? 🙂

---

<div class="post-metadata">

**Author:** ![Darth\_Panda](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Darth\_Panda](https://boards.straightdope.com/u/Darth_Panda)\
**Post date:** [February 11, 2011, 3:35pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/8 "2011-02-11T15:35:49Z")

</div>

> [@Musicat](#):
>
> So if I am dealt a Royal Flush twice in a row after a shuffle, it’s probably not due to random chance? 🙂

It depends if someone was stacking the deck or not 😛

---

<div class="post-metadata">

**Author:** ![Giles](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giles/32/60_2.png) [@Giles](https://boards.straightdope.com/u/Giles)\
**Post date:** [February 11, 2011, 3:36pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/9 "2011-02-11T15:36:45Z")

</div>

> [@Musicat](#):
>
> So if I am dealt a Royal Flush twice in a row after a shuffle, it’s probably not due to random chance? 🙂

The odds of that are more than 1/52! – it’s only 10 cards, rather than 52 cards, and the order of the first 5 and the 2nd 5 don’t matter – but it’s still highly unlikely unless someone has stacked the deck.

---

<div class="post-metadata">

**Author:** ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)\
**Post date:** [February 11, 2011, 3:41pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/10 "2011-02-11T15:41:49Z")

</div>

> [@Giles](#):
>
> The odds of that are more than 1/52! – it’s only 10 cards, rather than 52 cards, and the order of the first 5 and the 2nd 5 don’t matter – but it’s still highly unlikely unless someone has stacked the deck.

I think the odds of that are

20/52 \* 4/51 \* 3/50 \* 2/49 \* 1/48

which comes out to one in 649,740. That’s WAY less than 52! !

ETA: that’s the probability of getting dealt a royal flush _once_. Twice on a given two hands would be one in 422 billion.

---

<div class="post-metadata">

**Author:** ![Sparky812](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@Sparky812](https://boards.straightdope.com/u/Sparky812)\
**Post date:** [February 11, 2011, 3:42pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/11 "2011-02-11T15:42:23Z")

</div>

> [@Giles](#):
>
> The odds of that are more than 1/52! – it’s only 10 cards, rather than 52 cards, and the order of the first 5 and the 2nd 5 don’t matter – but it’s still highly unlikely unless someone has stacked the deck.

Also, there are 4 different suits in which you could deal a Royal Flush.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [February 11, 2011, 3:48pm UTC](https://boards.straightdope.com/t/probability-of-cards-in-a-deck/571006/12 "2011-02-11T15:48:46Z")

</div>

There are [sub]52[/sub]C[sub]5[/sub] = 2,598,960 different 5-card hands you could be dealt. Of these, exactly 4 are royal flushes. So the probability of your random, five-card hand being a royal flush is 4/2598960 – which is, as **CurtC** says, one in 649,740.
