On This Page
The card game of poker has many variations, most of which were created in the United States in the mid-1900s. The standard order of play applies to most of these games, but to fully specify a poker game requires details about which hand values are used, the number of betting rounds, and exactly what cards are dealt and what other actions are taken between rounds. There are 13 card ranks in a deck. So if we exclude AA, A8 and A9, 10 different types of Ax hand remain that make top pair, each with 12 combinations. That’s a total of 120 (10. 12) different combinations of top pair on this texture. That’s still a relatively comfortable calculation.
Introduction
Derivations for Five Card Stud
I have been asked so many times how I derived the probabilities of drawing each poker hand that I have created this section to explain the calculation. This assumes some level mathematical proficiency; anyone comfortable with high school math should be able to work through this explanation. The skills used here can be applied to a wide range of probability problems.
- There are 1,326 possible combinations of cards from a standard deck but there are only 169 non-equivalent starting hands in poker. This number is made up of 13 pocket pairs, 78 suited hands and 78.
- Poker is one of the many games involving the use of a 52-card deck of playing cards. The 52 cards are categorized by 13 ranks from Two through Ace (Aces can be counted as both higher than King and lower than Two when needed, but can only count as one at a time in a hand), and by four suits: diamonds, hearts, spades, and clubs.
The Factorial Function
If you already know about the factorial function you can skip ahead. If you think 5! means to yell the number five then keep reading.
The instructions for your living room couch will probably recommend that you rearrange the cushions on a regular basis. Let's assume your couch has four cushions. How many combinations can you arrange them in? The answer is 4!, or 24. There are obviously 4 positions to put the first cushion, then there will be 3 positions left to put the second, 2 positions for the third, and only 1 for the last one, or 4*3*2*1 = 24. If you had n cushions there would be n*(n-1)*(n-2)* ... * 1 = n! ways to arrange them. Any scientific calculator should have a factorial button, usually denoted as x!, and the fact(x) function in Excel will give the factorial of x. The total number of ways to arrange 52 cards would be 52! = 8.065818 * 1067.
The Combinatorial Function
Assume you want to form a committee of 4 people out of a pool of 10 people in your office. How many different combinations of people are there to choose from? The answer is 10!/(4!*(10-4)!) = 210. The general case is if you have to form a committee of y people out of a pool of x then there are x!/(y!*(x-y)!) combinations to choose from. Why? For the example given there would be 10! = 3,628,800 ways to put the 10 people in your office in order. You could consider the first four as the committee and the other six as the lucky ones. However you don't have to establish an order of the people in the committee or those who aren't in the committee. There are 4! = 24 ways to arrange the people in the committee and 6! = 720 ways to arrange the others. By dividing 10! by the product of 4! and 6! you will divide out the order of people in an out of the committee and be left with only the number of combinations, specifically (1*2*3*4*5*6*7*8*9*10)/((1*2*3*4)*(1*2*3*4*5*6)) = 210. The combin(x,y) function in Excel will tell you the number of ways you can arrange a group of y out of x.
Now we can determine the number of possible five card hands out of a 52 card deck. The answer is combin(52,5), or 52!/(5!*47!) = 2,598,960. If you're doing this by hand because your calculator doesn't have a factorial button and you don't have a copy of Excel, then realize that all the factors of 47! cancel out those in 52! leaving (52*51*50*49*48)/(1*2*3*4*5). The probability of forming any given hand is the number of ways it can be arranged divided by the total number of combinations of 2,598.960. Below are the number of combinations for each hand. Just divide by 2,598,960 to get the probability.
Poker Math
The next section shows how to derive the number of combinations of each poker hand in five card stud.
Royal Flush
There are four different ways to draw a royal flush (one for each suit).
Straight Flush
The highest card in a straight flush can be 5,6,7,8,9,10,Jack,Queen, or King. Thus there are 9 possible high cards, and 4 possible suits, creating 9 * 4 = 36 different possible straight flushes.
Four of a Kind
There are 13 different possible ranks of the 4 of a kind. The fifth card could be anything of the remaining 48. Thus there are 13 * 48 = 624 different four of a kinds.
Full House
There are 13 different possible ranks for the three of a kind, and 12 left for the two of a kind. There are 4 ways to arrange three cards of one rank (4 different cards to leave out), and combin(4,2) = 6 ways to arrange two cards of one rank. Thus there are 13 * 12 * 4 * 6 = 3,744 ways to create a full house.
Flush
There are 4 suits to choose from and combin(13,5) = 1,287 ways to arrange five cards in the same suit. From 1,287 subtract 10 for the ten high cards that can lead a straight, resulting in a straight flush, leaving 1,277. Then multiply for 4 for the four suits, resulting in 5,108 ways to form a flush.
Straight
The highest card in a straight can be 5,6,7,8,9,10,Jack,Queen,King, or Ace. Thus there are 10 possible high cards. Each card may be of four different suits. The number of ways to arrange five cards of four different suits is 45 = 1024. Next subtract 4 from 1024 for the four ways to form a flush, resulting in a straight flush, leaving 1020. The total number of ways to form a straight is 10*1020=10,200.
Three of a Kind
There are 13 ranks to choose from for the three of a kind and 4 ways to arrange 3 cards among the four to choose from. There are combin(12,2) = 66 ways to arrange the other two ranks to choose from for the other two cards. In each of the two ranks there are four cards to choose from. Thus the number of ways to arrange a three of a kind is 13 * 4 * 66 * 42 = 54,912.
Two Pair
There are (13:2) = 78 ways to arrange the two ranks represented. In both ranks there are (4:2) = 6 ways to arrange two cards. There are 44 cards left for the fifth card. Thus there are 78 * 62 * 44 = 123,552 ways to arrange a two pair.
One Pair
Combinations In Poker
There are 13 ranks to choose from for the pair and combin(4,2) = 6 ways to arrange the two cards in the pair. There are combin(12,3) = 220 ways to arrange the other three ranks of the singletons, and four cards to choose from in each rank. Thus there are 13 * 6 * 220 * 43 = 1,098,240 ways to arrange a pair.
Nothing
First find the number of ways to choose five different ranks out of 13, which is combin(13,5) = 1287. Then subtract 10 for the 10 different high cards that can lead a straight, leaving you with 1277. Each card can be of 1 of 4 suits so there are 45=1024 different ways to arrange the suits in each of the 1277 combinations. However we must subtract 4 from the 1024 for the four ways to form a flush, leaving 1020. So the final number of ways to arrange a high card hand is 1277*1020=1,302,540.
Specific High Card
For example, let's find the probability of drawing a jack-high. There must be four different cards in the hand all less than a jack, of which there are 9 to choose from. The number of ways to arrange 4 ranks out of 9 is combin(9,4) = 126. We must then subtract 1 for the 10-9-8-7 combination which would form a straight, leaving 125. From above we know there are 1020 ways to arrange the suits. Multiplying 125 by 1020 yields 127,500 which the number of ways to form a jack-high hand. For ace-high remember to subtract 2 rather than 1 from the total number of ways to arrange the ranks since A-K-Q-J-10 and 5-4-3-2-A are both valid straights. Here is a good site that also explains how to calculate poker probabilities.Five Card Draw — High Card Hands
Hand | Combinations | Probability |
---|---|---|
Ace high | 502,860 | 0.19341583 |
King high | 335,580 | 0.12912088 |
Queen high | 213,180 | 0.08202512 |
Jack high | 127,500 | 0.04905808 |
10 high | 70,380 | 0.02708006 |
9 high | 34,680 | 0.01334380 |
8 high | 14,280 | 0.00549451 |
7 high | 4,080 | 0.00156986 |
Total | 1,302,540 | 0.501177394 |
Ace/King High
For the benefit of those interested in Caribbean Stud Poker I will calculate the probability of drawing ace high with a second highest card of a king. The other three cards must all be different and range in rank from queen to two. The number of ways to arrange 3 out of 11 ranks is (11:3) = 165. Subtract one for Q-J-10, which would form a straight, and you are left with 164 combinations. As above there 1020 ways to arrange the suits and avoid a flush. The final number of ways to arrange ace/king is 164*1020=167,280.Internal Links
For lots of other probabilities in poker, please see my section on Probabilities in Poker.
Written by:Michael Shackleford
I’ve been asked by a new player to explain how I got to 169 possibilities of starting hands from a previous page. Good question!
How Many Different Poker Hands Are There Better
In Texas Hold’em poker there are 2,652 possible starting hands. The way that you first get all the possible starting hands is to take the number of cards (52) and multiply that by 51 times.
Remember that the first 2 cards that can be dealt can be anything from the deck. Out of these 2,652 combinations, there may not be different hands though, because the same two cards dealt in two different orders are still the same hand. In the following two examples, you can see that the cards are equal and that there aren’t any differences. Kind of reminds you of algebra in school, huh?
is EQUAL to
is EQUAL to
That reduces the number of hands, 2,652 down by half or 2,652/2 = 1,326.
Still with me? Good.
Now, out of the 1,326 hands, thinking of the samples above, there is a lot of duplication in VALUE of the hands.
The following hands are all equal in VALUE:
is EQUAL to is EQUAL to
Okay, have you digested that? Good. One last thing. Because of the possibility of getting a flush, cards like the following are NOT equal:
is NOT EQUAL
This is because the first two cards have a chance at making a flush and the second two cards not do not have a chance for making a flush.
We need to get the total number of possibly suited starting cards from this bunch so that would be 13 x 12 /2 for a total of 78.
Continuing on, there should be 78 possible suited starting cards and 78 possible non-suited starting cards and 13 possible pairs for a total of 169 cards.
So looking at it this way, there are 169 possible starting hands in this game. Hopefully I answered the question without making it too confusing.
Any questions? Comments? Please drop me a line and check out the other posts and blog on this site!
Thanks for taking the time to visit and for more information or to get back to the beginning of the blog, go here.