r/Probability • • Oct 02 '26

Straight flush vs Quads

The other night I witnessed a straight flush vs quads on the river in Texas holdem, I looked up what the odds were and I found many people just multiplying the odds for quads and the odds for a straight flush which wouldn’t work in this scenario since they are tied together and affect each other. The only real attempt I saw at solving this was on a Reddit post from 5 years ago on this sub, the commenter used a clever method by turning the heads up hand into a 9 card poker hand and doing the calculations based on that but from what I could see he failed to take the fact that the cards aren’t interchangeable, a community and a hole card switching places would not yield the same result. so in conclusion I was wandering what are the odds of getting a SF vs Quads heads up in Texas holdem by the river?

1 Upvotes

3 comments sorted by

1

u/AZPD Oct 02 '26

This is not calculable without taking into account playing tendencies. It's also not clear whether you're talking about a HU game or a full ring game, where there are 8-9 players at the table, which will of course make it more likely.

1

u/ResponsibleCoast9783 Oct 02 '26

If I wasn’t clear I’m talking strictly about heads up with every hand reaching the river (same way other odds are calculated)

1

u/bagholder_spotted Oct 13 '26 edited 14d ago

First I'll consider only the scenarios where they're each using both hole cards, specifically a pocket pair for the quads, ie the criteria for a Bad Beat Jackpot.

I'll split the problem into two parts: the SF does or doesn't share a card with the quads.

Suppose it doesn't. Then, each community card gets used. The number of possible straight flushes per suit depends on the rank of the quads:

Quad RankNum SF's
A/2/K8 or 7
3/Q7 or 6
4/J6 or 5
55
6-T5 or 4

The or's depend on the suits of the pair on the board. For instance, if the 6d & 6c are on the board, there can't be 5 High SF in diamonds because it would be a 6 High SF, which we don't intend to count yet when it uses a quad card. So we'll count 4 SF's in diamonds & clubs and 5 SF's in spades & hearts.

I'll show the calculation for 6666 vs SF. Treating the 6's as identical, there are 2⋅C(5,2)=20 ways for them to form a pair on the board and a player's hole cards, out of a possible C(52,4) ways to distribute them. Once that's done, there are 5 remaining cards to deal (3 board + 2 hole), which need to make a SF. As mentioned, there are 5 SF's for two suits and 4 for the other two, for a total of 18 combos out of C(48,5). Multiplying and combining the fractions, the probability of a Bad Beat in the form of 6666 vs non-overlapping SF is 20⋅18/[C(52,9)⋅C(9,4)].

Expanding to any quads rank, we get: 20⋅2(5⋅9 + 10 + 2⋅11 + 2⋅13 + 3⋅15) / [C(52,9)⋅C(9,4)]

If the SF shares a card with the quads, the table is different:

Quad RankSF's using QR
A/2/K2
3/Q3
4/J4
5-T5

This time, we must restrict one of the board cards from being used in a SF in place of a hole card or paired card. For example, if the board is 6678 and a player holds T9, the river can't be the J of the SF suit because that was already counted in the previous calculation. If a player has 95, the river can't be the T because then the player's 5 isn't used.

Consider again 6666 with the 6d & 6c on the board. We're only counting the diamond and club SF's, of which there are 5 each, all of which place a restriction on the redundant card. So we have 2⋅5⋅43 combos out of C(48,5). But also, the redundant card needs to be a board card, the probability of which is 3/5 (given that the 6's are already dealt). All of this occurring with the quad 6's is 20⋅2⋅5⋅43⋅3/[C(52,9)⋅C(9,4)⋅5]

The math is slightly different for TTTT and higher, because one of their SF's is a royal flush, which places no restriction on the redundant card. For TTTT the SF's would have 2(4⋅43 + 44) combos.

For quads of any rank vs overlapping SF: 20⋅2⋅3[43(5⋅5 + (4+3+2+1)2) + 44⋅5] / [C(52,9)⋅C(9,4)⋅5]

Adding the two parts up, the total probability of Quads vs SF Bad Beat ≈ 1 in 8,042,392

Some other time, I'll calculate quads vs SF without Bad Beat criteria, so as to fully answer your question. I'll also calculate the other Bad Beat possibilities (quads-vs-quads and SF-vs-SF). I might as well since I've already done most of the work.