Poker probability

In poker, the probability of each type of 5-card hand can be computed by calculating the proportion of hands of that type among all possible hands.

History
Probability and gambling have been ideas since long before the invention of poker. The development of probability theory in the late 1400s was attributed to gambling; when playing a game with high stakes, players wanted to know what the chance of winning would be. In 1494, Fra Luca Paccioli released his work Summa de arithmetica, geometria, proportioni e proportionalita which was the first written text on probability. Motivated by Paccioli's work, Girolamo Cardano (1501-1576) made further developments in probability theory. His work from 1550, titled Liber de Ludo Aleae, discussed the concepts of probability and how they were directly related to gambling. However, his work did not receive any immediate recognition since it was not published until after his death. Blaise Pascal (1623-1662) also contributed to probability theory. His friend, Chevalier de Méré, was an avid gambler with the goal to become wealthy from it. De Méré tried a new mathematical approach to a gambling game but did not get the desired results. Determined to know why his strategy was unsuccessful, he consulted with Pascal. Pascal's work on this problem began an important correspondence between him and fellow mathematician Pierre de Fermat (1601-1665). Communicating through letters, the two continued to exchange their ideas and thoughts. These interactions led to the conception of basic probability theory. To this day, many gamblers still rely on the basic concepts of probability theory in order to make informed decisions while gambling.

5-card poker hands


In straight poker and five-card draw, where there are no hole cards, players are simply dealt five cards from a deck of 52.

The following chart enumerates the (absolute) frequency of each hand, given all combinations of five cards randomly drawn from a full deck of 52 without replacement. Wild cards are not considered. In this chart:


 * Distinct hands is the number of different ways to draw the hand, not counting different suits. In particular, a set of hands that all tie each other is counted exactly once, not multiply.
 * Frequency is the number of ways to draw the hand, including the same card values in different suits.
 * The Probability of drawing a given hand is calculated by dividing the number of ways of drawing the hand (Frequency) by the total number of 5-card hands (the sample space; ${52 \choose 5} = 2,598,960$ ). For example, there are 4 different ways to draw a royal flush (one for each suit), so the probability is $4⁄2,598,960$, or one in 649,740. One would then expect to draw this hand about once in every 649,740 draws, or nearly 0.000154% of the time.
 * Cumulative probability refers to the probability of drawing a hand as good as or better than the specified one. For example, the probability of drawing three of a kind is approximately 2.11%, while the probability of drawing a hand at least as good as three of a kind is about 2.87%. The cumulative probability is determined by adding one hand's probability with the probabilities of all hands above it.
 * The Odds are defined as the ratio of the number of ways not to draw the hand, to the number of ways to draw it. In statistics, this is called odds against. For instance, with a royal flush, there are 4 ways to draw one, and 2,598,956 ways to draw something else, so the odds against drawing a royal flush are 2,598,956 : 4, or 649,739 : 1. The formula for establishing the odds can also be stated as (1/p) - 1 : 1, where p is the aforementioned probability.
 * The values given for Probability, Cumulative probability, and Odds are rounded off for simplicity; the Distinct hands and Frequency values are exact.

The nCr function on most scientific calculators can be used to calculate hand frequencies; entering nCr with 52 and 5, for example, yields ${52 \choose 5} = 2,598,960$ as above.

The royal flush is a case of the straight flush. It can be formed 4 ways (one for each suit), giving it a probability of 0.000154% and odds of 649,739 : 1.

When ace-low straights and ace-low straight flushes are not counted, the probabilities of each are reduced: straights and straight flushes each become 9/10 as common as they otherwise would be. The 4 missed straight flushes become flushes and the 1,020 missed straights become no pair.

Note that since suits have no relative value in poker, two hands can be considered identical if one hand can be transformed into the other by swapping suits. For example, the hand 3♣ 7♣ 8♣ Q♠ A♠ is identical to  3♦ 7♦ 8♦ Q♥ A♥  because replacing all of the clubs in the first hand with diamonds and all of the spades with hearts produces the second hand. So eliminating identical hands that ignore relative suit values, there are only 134,459 distinct hands.

The number of distinct poker hands is even smaller. For example, 3♣ 7♣ 8♣ Q♠ A♠ and  3♦ 7♣ 8♦ Q♥ A♥  are not identical hands when just ignoring suit assignments because one hand has three suits, while the other hand has only two—that difference could affect the relative value of each hand when there are more cards to come. However, even though the hands are not identical from that perspective, they still form equivalent poker hands because each hand is an A-Q-8-7-3 high card hand. There are 7,462 distinct poker hands.

7-card poker hands
In some popular variations of poker such as Texas hold 'em, the most widespread poker variant overall, a player uses the best five-card poker hand out of seven cards.

The frequencies are calculated in a manner similar to that shown for 5-card hands, except additional complications arise due to the extra two cards in the 7-card poker hand. The total number of distinct 7-card hands is ${52 \choose 7} = 133{,}784{,}560$. It is notable that the probability of a no-pair hand is lower than the probability of a one-pair or two-pair hand.

The Ace-high straight flush or royal flush is slightly more frequent (4324) than the lower straight flushes (4140 each) because the remaining two cards can have any value; a King-high straight flush, for example, cannot have the Ace of its suit in the hand (as that would make it ace-high instead).


 * {| class="wikitable" style="font-size: 95%; text-align:center;"

!Hand        !! Frequency !! Probability !! Cumulative !! Odds against !Mathematical expression of absolute frequency
 * Royal flush
 * Royal flush


 * align=center|       4,324 ||   0.0032%   ||   0.0032%  ||align=center| 30,939 : 1
 * $${4 \choose 1}{47 \choose 2}$$
 * Straight flush (excluding royal flush)
 * Straight flush (excluding royal flush)


 * align=center|      37,260 ||   0.0279%   ||   0.0311%  ||align=center| 3,589.6 : 1
 * $${9 \choose 1}{4 \choose 1}{46 \choose 2}$$
 * Four of a kind
 * Four of a kind


 * align=center|     224,848 ||   0.168%    ||   0.199%   ||align=center| 594 : 1
 * $${13 \choose 1}{48 \choose 3}$$
 * Full house
 * Full house

& \left[ {13 \choose 2}{4 \choose 3}^2{44 \choose 1} \right] \\ + & \left[{13 \choose 1}{12 \choose 2}{4 \choose 3}{4 \choose 2}^2 \right] \\ + & \left[{13 \choose 1}{12 \choose 1}{11 \choose 2}{4 \choose 3}{4 \choose 2}{4 \choose 1}^2\right] \end{align}$$
 * align=center|   3,473,184 ||   2.60%     ||   2.80%    ||align=center| 37.5 : 1
 * $$\begin{align}
 * Flush (excluding royal flush and straight flush)
 * Flush (excluding royal flush and straight flush)

& \left[ {4 \choose 1} \times \left[ {13 \choose 7} - 217\right] \right] \\ + & \left[ {4 \choose 1} \times \left[ {13 \choose 6} - 71\right] \times 39\right] \\ + & \left[ {4 \choose 1} \times \left[ {13 \choose 5} - 10\right] \times {39 \choose 2}\right] \end{align}$$
 * align=center|   4,047,644 ||   3.03%     ||   5.82%    ||align=center| 32.1 : 1
 * $$\begin{align}
 * Straight (excluding royal flush and straight flush)
 * Straight (excluding royal flush and straight flush)

& \left[ 217 \times \left[4^7 - 756 - 4 - 84\right] \right] \\ + &{} \left[ 71 \times 36 \times 990 \right] \\ + & \left[ 10 \times 5 \times 4 \times \left[256 - 3\right] + 10 \times {5 \choose 2} \times 2268 \right] \end{align}$$
 * align=center|   6,180,020 ||   4.62%     ||  10.4%     ||align=center| 20.6 : 1
 * $$\begin{align}
 * Three of a kind
 * Three of a kind


 * align=center|   6,461,620 ||   4.83%     ||  15.3%     ||align=center| 19.7 : 1
 * $$\left[{13 \choose 5} - 10\right]{5 \choose 1}{4 \choose 1}\left[{4 \choose 1}^4 - 3\right]$$
 * Two pair
 * Two pair

& \left[ 1277 \times 10 \times \left[6 \times 62 + 24 \times 63 + 6 \times 64\right] \right] \\ + & \left[ {13 \choose 3} {4 \choose 2} ^ 3 {40 \choose 1}\right] \end{align}$$
 * align=center|  31,433,400 ||  23.5%      ||  38.8%     ||align=center| 3.26 : 1
 * $$\begin{align}
 * One pair
 * One pair


 * align=center|  58,627,800 ||  43.8%      ||  82.6%     ||align=center| 1.28 : 1
 * $$\left[{13 \choose 6} - 71\right] \times 6 \times 6 \times 990$$
 * No pair / High card
 * No pair / High card

! Total ! align="center" | 133,784,560 !! 100% !! --- !! align="center" | 0 : 1 !$${52 \choose 7}$$
 * align=center|  23,294,460 ||  17.4%      || 100%       ||align=center| 4.74 : 1
 * $$1499 \times \left[4^7 - 756 - 4 - 84\right]$$
 * }

(The frequencies given are exact; the probabilities and odds are approximate.)

Since suits have no relative value in poker, two hands can be considered identical if one hand can be transformed into the other by swapping suits. Eliminating identical hands that ignore relative suit values leaves 6,009,159 distinct 7-card hands.

The number of distinct 5-card poker hands that are possible from 7 cards is 4,824. Perhaps surprisingly, this is fewer than the number of 5-card poker hands from 5 cards, as some 5-card hands are impossible with 7 cards (e.g. 7-high and 8-high).

5-card lowball poker hands
Some variants of poker, called lowball, use a low hand to determine the winning hand. In most variants of lowball, the ace is counted as the lowest card and straights and flushes don't count against a low hand, so the lowest hand is the five-high hand A-2-3-4-5, also called a wheel. The probability is calculated based on ${52 \choose 5} = 2,598,960$, the total number of 5-card combinations. (The frequencies given are exact; the probabilities and odds are approximate.)


 * {| class="wikitable" style="font-size: 95%;"

!Hand       !! Distinct hands !! Frequency !! Probability !! Cumulative !! Odds against
 * 5-high ||align=right|   1 ||align=right|    1,024 ||     0.0394% ||    0.0394% ||align=right| 2,537.05 : 1
 * 6-high ||align=right|   5 ||align=right|    5,120 ||     0.197%  ||    0.236%  ||align=right| 506.61 : 1
 * 7-high ||align=right|  15 ||align=right|   15,360 ||     0.591%  ||    0.827%  ||align=right| 168.20 : 1
 * 8-high ||align=right|  35 ||align=right|   35,840 ||     1.38%   ||    2.21%   ||align=right| 71.52 : 1
 * 9-high ||align=right|  70 ||align=right|   71,680 ||     2.76%   ||    4.96%   ||align=right| 35.26 : 1
 * 10-high ||align=right| 126 ||align=right|  129,024 ||     4.96%   ||    9.93%   ||align=right| 19.14 : 1
 * Jack-high ||align=right| 210 ||align=right|  215,040 ||     8.27%   ||   18.2%    ||align=right| 11.09 : 1
 * Queen-high ||align=right| 330 ||align=right|  337,920 ||    13.0%    ||   31.2%    ||align=right| 6.69 : 1
 * King-high ||align=right| 495 ||align=right|  506,880 ||    19.5%    ||   50.7%    ||align=right| 4.13 : 1
 * Total ||align=right|1,287 ||align=right|1,317,888 ||   50.7%    ||   50.7%    ||align=right| 0.97 : 1
 * }
 * 10-high ||align=right| 126 ||align=right|  129,024 ||     4.96%   ||    9.93%   ||align=right| 19.14 : 1
 * Jack-high ||align=right| 210 ||align=right|  215,040 ||     8.27%   ||   18.2%    ||align=right| 11.09 : 1
 * Queen-high ||align=right| 330 ||align=right|  337,920 ||    13.0%    ||   31.2%    ||align=right| 6.69 : 1
 * King-high ||align=right| 495 ||align=right|  506,880 ||    19.5%    ||   50.7%    ||align=right| 4.13 : 1
 * Total ||align=right|1,287 ||align=right|1,317,888 ||   50.7%    ||   50.7%    ||align=right| 0.97 : 1
 * }
 * King-high ||align=right| 495 ||align=right|  506,880 ||    19.5%    ||   50.7%    ||align=right| 4.13 : 1
 * Total ||align=right|1,287 ||align=right|1,317,888 ||   50.7%    ||   50.7%    ||align=right| 0.97 : 1
 * }
 * }

As can be seen from the table, just over half the time a player gets a hand that has no pairs, threes- or fours-of-a-kind. (50.7%)

If aces are not low, simply rotate the hand descriptions so that 6-high replaces 5-high for the best hand and ace-high replaces king-high as the worst hand.

Some players do not ignore straights and flushes when computing the low hand in lowball. In this case, the lowest hand is A-2-3-4-6 with at least two suits. Probabilities are adjusted in the above table such that "5-high" is not listed", "6-high" has one distinct hand, and "King-high" having 330 distinct hands, respectively. The Total line also needs adjusting.

7-card lowball poker hands
In some variants of poker a player uses the best five-card low hand selected from seven cards. In most variants of lowball, the ace is counted as the lowest card and straights and flushes don't count against a low hand, so the lowest hand is the five-high hand A-2-3-4-5, also called a wheel. The probability is calculated based on ${52 \choose 7} = 133,784,560$, the total number of 7-card combinations.

The table does not extend to include five-card hands with at least one pair. Its "Total" represents the 95.4% of the time that a player can select a 5-card low hand without any pair.


 * {| class="wikitable" style="font-size: 95%;"

!Hand       !! Frequency !! Probability !! Cumulative !! Odds against
 * 5-high ||align=right|    781,824 ||     0.584%  ||    0.584%  ||align=right| 170.12 : 1
 * 6-high ||align=right|  3,151,360 ||     2.36%   ||    2.94%   ||align=right| 41.45 : 1
 * 7-high ||align=right|  7,426,560 ||     5.55%   ||    8.49%   ||align=right| 17.01 : 1
 * 8-high ||align=right| 13,171,200 ||     9.85%   ||   18.3%    ||align=right| 9.16 : 1
 * 9-high ||align=right| 19,174,400 ||    14.3%    ||   32.7%    ||align=right| 5.98 : 1
 * 10-high ||align=right| 23,675,904 ||    17.7%    ||   50.4%    ||align=right| 4.65 : 1
 * Jack-high ||align=right| 24,837,120 ||    18.6%    ||   68.9%    ||align=right| 4.39 : 1
 * Queen-high ||align=right| 21,457,920 ||    16.0%    ||   85.0%    ||align=right| 5.23 : 1
 * King-high ||align=right| 13,939,200 ||    10.4%    ||   95.4%    ||align=right| 8.60 : 1
 * Total ||align=right| 127,615,488 ||   95.4%    ||   95.4%    ||align=right| 0.05 : 1
 * }
 * 10-high ||align=right| 23,675,904 ||    17.7%    ||   50.4%    ||align=right| 4.65 : 1
 * Jack-high ||align=right| 24,837,120 ||    18.6%    ||   68.9%    ||align=right| 4.39 : 1
 * Queen-high ||align=right| 21,457,920 ||    16.0%    ||   85.0%    ||align=right| 5.23 : 1
 * King-high ||align=right| 13,939,200 ||    10.4%    ||   95.4%    ||align=right| 8.60 : 1
 * Total ||align=right| 127,615,488 ||   95.4%    ||   95.4%    ||align=right| 0.05 : 1
 * }
 * King-high ||align=right| 13,939,200 ||    10.4%    ||   95.4%    ||align=right| 8.60 : 1
 * Total ||align=right| 127,615,488 ||   95.4%    ||   95.4%    ||align=right| 0.05 : 1
 * }
 * }

(The frequencies given are exact; the probabilities and odds are approximate.)

If aces are not low, simply rotate the hand descriptions so that 6-high replaces 5-high for the best hand and ace-high replaces king-high as the worst hand.

Some players do not ignore straights and flushes when computing the low hand in lowball. In this case, the lowest hand is A-2-3-4-6 with at least two suits. Probabilities are adjusted in the above table such that "5-high" is not listed, "6-high" has 781,824 distinct hands, and "King-high" has 21,457,920 distinct hands, respectively. The Total line also needs adjusting.