Advanced Poker Odds Calculations - Part 2


In the last post, I covered two mathematical formulas useful for calculating advanced odds for poker hands - Texas Hold’em in particular. That post covered the basics. Let’s get in to some more details. (Please re-read the previous post before continuing, as the latter-half of this post is fairly math-dense.)

There are 10 categories of poker hands. They are, from highest value to lowest:

(1) Royal flush = Ace through 10 in the same suit)
(2) Straight flush = Five consecutive cards in the same suit
(3) Four of a kind = Four cards of the same value
(4) Full house = Three of a kind plus a pair
(5) Flush = Five consecutive cards in value, any suit
(6) Straight = Five cards of the same suit, no sequence necessary
(7) Three of a kind = Three cards of the same value, any suit
(8) Two pair = One pair of one card value, and another pair of another value.
(9) One pair = Two of a kind
(10) No pair

These are the poker hands that can be dealt from a single deck of 52 cards. These are just as applicable to Texas Hold’em as other forms of poker. Let’s have a look at some of the total possible unique hands for each category. Recall from the last post that there are 2,598,960 unique 5-card hands possible from a standard deck of 52, where order of cards does not matter.

Royal Flush

Based on the definition, there can only be 4 possible royal flush hands because there are only four suits in a deck. These are very rare, obviously. The odds of being dealt 5 straight cards to form a flush are 4/2,598,960 =~ 1/650,000. [Note: these apply to the scenario where you deal 5 straight cards from a deck of 52. Obviously, in a game of poker, there are several players. So the odds of a royal flush are even rarer in a real game.]

Straight Flush

There are 9 different straight flushes for each suit: K=>9, Q=>8, …, 5=>A. Since there are 4 suits, there are a total of 9×4 = 36 possible unique straigh flush hands, excluding the royal flush. In Texas Hold’em, your chances of scoring a straight flush diminsh greatly, if you haven’t flopped a straight flush draw before 4th and 5th street. The odds are 36/2,598,960 =~ 1/72,000. On the other hand, if you include the royal flush, then the odds are (10×4)/2,598,960 =~ 1/65,000. [Some poker guides use this figure for the odds of a straight flush.]

Four of a Kind

There are only 13 different card values in a deck. So there are only 13 possible four-card hands. However, there has to be a fifth card to make up a full poker hand. We’ve used up 4, and have 48 left. So, the total number of unique four-of-a-kind hands is 13 x 48 = 624. This is because there are only 48 cards left after the four of a kind are dealt. Remember, order doesn’t matter. So the odds of a four-of-a-kind hand are 624/2,598,960 =~ 1/4000.

Three of a Kind

There are 13 possible values in 4 suits. The first three cards in this case must be all the same. For a given value, say Q, there are B(4,3) = 4! /3! (4-3!) = (4×3x2×1) /(3×2x1)(1!) = 4 unique triplets. Times 13 values = 52 ways to pick the first three cards to form only trips.

The fourth and fifth cards cannot be the same as each other nor the first three cards. There are 12 values left, and we need to pick 2: B(12,2) = 12! /2! (12-2)! = 12! /2! 10! = (12×11)/2 = 132/2 = 66 combinations of value. But there are 4 suits for each of the fourth and fifth cards. So there are 66×4x4 = 1,056 ways to choose the fourth and fifth cards.

That makes for (13×4)x(66×4x4) = 54,912 ways to chose a five-card hand that produces three of a kind.

Another way to do this, which is easier to understand, is as follows:

The fourth card in the hand may not be the same as the first three. So we have only (13-1)x4 = 48 cards left. Our total so far is 13 x4 x 48.

The fifth card should not be the same as first three nor the fourth, or the latter case will be a full house. (This had me stumped for over an hour.) So there are only (13-2)x4 = 44 cards to choose from for the fifth card.

That suggest that there are 48×44 = 2,112 ways to pick the fourth and fifth cards, but that would be true if order mattered. Since it doesn’t, we have to divide by 2! = 2, producing 2,112/2 = 1,056, as before.

Thus, the total number of 5-card trip hands is 13 x4 x 1,056 = 54,912 =~ 1/50 odds.

One Pair

Let’s calculate the number of one-pair hands before two-pair. It’s done similarly to trips (three of a kind). The first card can be any of 13 values. Each value has 4 representative cards, but we just want unique combinations of 2 cards. Pull out the old binomial formula, and we have B(4,2) = 4! /2! (4-2)! = 4×3x2×1/ (2×1) (2!) = (4×3)/(2×1) = 2×3 = 6. So there are 13×6 = 78 ways to get unique pairs for the first two cards.

The third, fourth, and fifth cards of the hand may not be the same as each other nor the same as the first two cards. So there are 12×4 = 48 choices for the third card, 11×4 = 44 choices for the fourth card, and 10×4 = 40 choices for the fifth card. That makes 13×6 x48×44x40 = 6,589,440 possible combinations, if order mattered. Since it doesn’t, we have to divide by 3! = 6. So we have 6,589,440/6 = 1,098,240 =~ 1/2.36.

You could also calculate this using the first method used above: 13 x B(4,2) x B(12,3) x 4×4x4 = 13×6 x 12! /3! (12-3)! x 64 = 78 x (12×11x10/3×2x1) x 64 = 1,098,240, as above.

Two Pair

Let’s use the compact method. The first pair can be selected from any of 13 values. There are B(4,2) = 6 ways to select the first pair of cards. That’s 13×6 = 78 ways.

The second pair can be selected from any of 12 values. Again, there are B(4,2) = 6 ways to do this. So far, there are 13×6x12×6 = 5,616 ways to get two pair for the first four cards - if order mattered. So we have to divide by 2! That means 5,616/2 = 2808

The fifth card cannot be the same value as any of the preceding cards. So we have to pick it from 11×4 = 44 cards. Thus, the total number of unique five-card hands containing two-pair is 2808×44 = 123,552 =~ 1/20.

Full House

A full house consists of a triplet and a pair. There are two ways we can calculate this, but order doesn’t matter, so we’ll just pick one way.

Let’s pick the triplet first. Refer back to the calculations for three of a kind. There are thus 13 x B(4,3) = 13×4 = 52 ways to pick a triplet.

For the pair, we have to pick from 12 values: 12 x B(4,2) = 12×6 = 72 ways.

So the total number of ways to get a full house is (52×72) = 3,744 =~ 1/700 odds.

No pair

The simplest way to calculate the number of five-card hands in poker that aren’t at least a pair is to add up the total number of ways above, then subtract the total from 2,598,960:

2,598,960 - (4+36+624 +54,912 +1,098,240 + 123,552 + 3,744) = 1,281,112 =~ 49% odds of having some favourable hand - if you were the only player.

Understand that these are not only approximate, to make it easier to remember them, but they are not really your odds in a real game of poker. That’s because these odds assume one player.

Adding more players makes calculating the odds far more complex. I’ll try to cover that in the next post.

Related Posts


« Previous Post | Next Post »

Leave a Comment

You must be logged in to post a comment.



Advertise Here