combinations(52,5) on the workbench prints 2.59896⋅10+6 — 2,598,960 hands, which is the number every poker probability is divided by. The screen only keeps six significant digits before switching to the exponent, so the exact figure is worth writing out once: 52·51·50·49·48/(5·4·3·2·1).
A flush is five cards in one suit, and one suit offers C(13, 5) = 1287 of them. Ten of those are straight flushes — the runs A-2-3-4-5 up to 10-J-Q-K-A, the last being the royal — and a straight flush is ranked above a flush, so the flush count is 1287 − 10 = 1277 per suit, 5108 over four suits. Divided by the denominator, that is 0.0019654015452335, about one deal in 509, which is why the rounding in the published odds is always given as 0.1965% rather than the raw quotient.
Answer
2.59896⋅10+6
How to read it
C(52, 5) on the workbench. The second link counts flushes excluding straight flushes; the third is that count over the total, the probability.
Source
C(52, 5) = 2,598,960 five-card hands; flushes excluding straight flushes are 4·(C(13, 5) − 10) = 4·1277 = 5108, the ten per suit being the straight flushes including the royal; the ranking dates from the 19th-century Hoyle revisions
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.