The Kelly formula
f* is the fraction of your bankroll to stake, p your probability of winning, q = 1 − p, and b the net odds: what you win per $1 staked. With decimal odds, b = odds − 1. With American odds, b = odds ÷ 100 for a plus number and 100 ÷ |odds| for a minus number. For investing, b is your win/loss ratio (average win ÷ average loss) and p your win rate, which gives the familiar f* = W − (1 − W) ÷ R.
Kelly chooses the stake that maximizes the expected logarithm of your bankroll, which is the long-run growth rate per bet:
If f* is zero or negative, you have no edge and Kelly says don't bet.
Worked examples
Even money with a 55% chance: b = 1, so f* = (1 × 0.55 − 0.45) ÷ 1 = 10% of your bankroll. On $1,000, that's $100. The growth rate is 0.55 ln 1.1 + 0.45 ln 0.9 = 0.50% per bet. Staking 20% (twice Kelly) gives slightly negative growth, −0.01% per bet.
American odds +150 with a 45% chance: b = 1.5, so f* = (1.5 × 0.45 − 0.55) ÷ 1.5 = 0.125 ÷ 1.5 = 8.33%.
Trading with a 60% win rate and a 1.5 win/loss ratio: f* = 0.60 − 0.40 ÷ 1.5 = 33.33% risked per trade. That's the amount you could lose, not the position size.
Getting a realistic number
- Your probability is an estimate. Kelly assumes you know p exactly. If you overestimate it, you overbet, and overbetting hurts much more than underbetting. That's why many people use half or quarter Kelly.
- Big swings. Even at full Kelly, deep drawdowns are normal. Half Kelly keeps about three-quarters of the growth with far less volatility.
- One bet at a time. The simple formula is for a single bet with two outcomes. Several bets at once, or investments with many possible outcomes, need a more general version.
- Gambling risk. Kelly doesn't create an edge. With the house edge built into most odds, the honest answer is usually "don't bet". If gambling stops being fun, call 1-800-GAMBLER.
This is an educational estimate, not financial, tax, legal or investment advice. Check the numbers with your own documents, lender or tax professional before you act.