Calculating this chance programmatically would require a ton of computing power, which may end up crashing your browser. In cases like this, Combo Chance changes up its strategy. Rather than relying on calculations, it generates a large number of randomized hands (~10000) and determines how many of them contains your combo. (This is known as a
Monte Carlo simulation.)