Poker Combinations Math

 
Poker Combinations Math 5,8/10 3364 reviews

Brian Alspach

Obviously, you have to learn poker in the right way as well and only then you will take full advantage of understanding poker math and implementing poker odds to gain the best possible results. That being said, you can always join my free poker training and start improving your game! Do that, learn in the right way and see you on the tables! The main underpinning of poker is math – it is essential. For every decision you make, while factors such as psychology have a part to play, math is the key element. In this lesson we’re going to give an overview of probability and how it relates to poker.

13 January 2000

Abstract:

The types of 5-card poker hands are

  • straight flush
  • 4-of-a-kind
  • full house
  • flush
  • straight
  • 3-of-a-kind
  • two pairs
  • a pair
  • high card

Most poker games are based on 5-card poker hands so the ranking ofthese hands is crucial. There can be some interesting situationsarising when the game involves choosing 5 cards from 6 or more cards,but in this case we are counting 5-card hands based on holding only5 cards. The total number of 5-card poker hands is.

A straight flush is completely determined once the smallest card in thestraight flush is known. There are 40 cards eligible to be the smallestcard in a straight flush. Hence, there are 40 straight flushes.

In forming a 4-of-a-kind hand, there are 13 choices for the rank ofthe quads, 1 choice for the 4 cards of the given rank, and 48 choicesfor the remaining card. This implies there are 4-of-a-kind hands.

There are 13 choices for the rank of the triple and 12 choices for therank of the pair in a full house. There are 4 ways of choosing thetriple of a given rank and 6 ways to choose the pair of the other rank.This produces full houses.

To count the number of flushes, we obtain choicesfor 5 cards in the same suit. Of these, 10 are straight flushes whoseremoval leaves 1,277 flushes of a given suit. Multiplying by 4 produces5,108 flushes.

The ranks of the cards in a straight have the form x,x+1,x+2,x+3,x+4,where x can be any of 10 ranks. There are then 4 choices for each card ofthe given ranks. This yields total choices. However,this count includes the straight flushes. Removing the 40 straightflushes leaves us with 10,200 straights.

In forming a 3-of-a-kind hand, there are 13 choices for the rank of thetriple, and there are choices for the ranks of theother 2 cards. There are 4 choices for the triple of the given rank andthere are 4 choices for each of the cards of the remaining 2 ranks.Altogether, we have 3-of-a-kind hands.

Next we consider two pairs hands. There are choices for the two ranks of the pairs. There are 6 choices for eachof the pairs, and there are 44 choices for the remaining card. Thisproduces hands of two pairs.

Now we count the number of hands with a pair. There are 13 choices forthe rank of the pair, and 6 choices for a pair of the chosen rank. Thereare choices for the ranks of the other 3 cardsand 4 choices for each of these 3 cards. We have hands with a pair.

We could determine the number of high card hands by removing the handswhich have already been counted in one of the previous categories.Instead, let us count them independently and see if the numbers sumto 2,598,960 which will serve as a check on our arithmetic.

A high card hand has 5 distinct ranks, but does not allow ranks of theform x,x+1,x+2,x+3,x+4 as that would constitute a straight. Thus, thereare possible sets of ranks from which we remove the10 sets of the form .This leaves 1,277 sets of ranks.For a given set of ranks, there are 4 choices for each cardexcept we cannot choose all in the same suit. Hence, there are1277(45-4) = 1,302,540 high card hands.

If we sum the preceding numbers, we obtain 2,598,960 and we can be confidentthe numbers are correct.

Here is a table summarizing the number of 5-card poker hands. Theprobability is the probability of having the hand dealt to you whendealt 5 cards.

handnumberProbability
straight flush40.000015
4-of-a-kind624.00024
full house3,744.00144
flush5,108.0020
straight10,200.0039
3-of-a-kind54,912.0211
two pairs123,552.0475
pair1,098,240.4226
high card1,302,540.5012
Home Publications Preprints MITACS Poker Digest Graph Theory Workshop Poker Computations Feedbackwebsite by the Centre for Systems Science
last updated 12 January 2000

On This Page

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.

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

Combinations

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

Combinations

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

Poker Combinations Math Games

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

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

Poker Combinations Math Test

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. Combinations

Five Card Draw — High Card Hands

HandCombinationsProbability
Ace high502,8600.19341583
King high335,5800.12912088
Queen high213,1800.08202512
Jack high127,5000.04905808
10 high70,3800.02708006
9 high34,6800.01334380
8 high14,2800.00549451
7 high4,0800.00156986
Total1,302,5400.501177394

Ace/King High

For the benefit of those interested in Caribbean Stud Poker

Poker Combinations Math Game

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.

Poker Combinations Math Cheat


Poker Hand Combinations Math

Written by:Michael Shackleford