To calculate the payout, you need to subtract the winning amount from the total pool. The next step is to divide the remaining pool by the cash bet on the winner. Lastly, the winning bet amount must be added back.