a formula: 2p − 1 = x where 2 times the probability of winning (p) minus 1 equals the percentage of your total bankroll that you should bet (x). For example, if the probability of beating the house is 55 percent, you should bet 10 percent of your bankroll to achieve maximum growth of your winnings. If the probability is 70 percent, bet 40 percent. And if you know the odds of winning are 100 percent, the model would say: Bet it all.