Mathwords logoMathwords

Kelly Criterion — Definition, Formula & Example

The Kelly criterion is a rule for choosing what fraction of your money to stake on a favorable bet. It balances growing your bankroll as fast as possible against the risk of losing it.

For a repeated bet that pays net odds bb with win probability pp, the Kelly fraction f∗f^* is the value of f∈[0,1)f \in [0, 1) that maximizes the expected log-growth per bet, g(f)=pln⁡(1+bf)+qln⁡(1−f)g(f) = p\ln(1 + bf) + q\ln(1 - f), where q=1−pq = 1 - p. Setting g′(f)=0g'(f) = 0 gives f∗=p−q/bf^* = p - q/b. When bp−q≤0bp - q \le 0, the bet has no edge and f∗=0f^* = 0, meaning you should not bet.

Key Formula

f∗=p−qb=bp−qbf^* = p - \frac{q}{b} = \frac{bp - q}{b}
Where:
  • f∗f^* = Fraction of your current bankroll to stake on each bet
  • bb = Net odds: profit per $1 staked if you win (2-to-1 odds means b = 2)
  • pp = Probability of winning the bet
  • qq = Probability of losing the bet, q = 1 − p

Worked Example

Problem: A game pays 2-to-1 odds: win $2 profit for every $1 staked, or lose your stake. You win with probability 0.5, and you have a $1,000 bankroll. Use the Kelly criterion to size your bet.
Step 1: Identify the inputs and check for an edge. The edge is bp−qbp - q, the expected profit per $1 staked. It is positive, so betting makes sense.
b=2,p=0.5,q=1−0.5=0.5,bp−q=2(0.5)−0.5=0.5>0b = 2,\quad p = 0.5,\quad q = 1 - 0.5 = 0.5,\qquad bp - q = 2(0.5) - 0.5 = 0.5 > 0
Step 2: Compute the Kelly fraction, then multiply it by your bankroll to get the stake.
f∗=2(0.5)−0.52=0.25,0.25×1000=250f^* = \frac{2(0.5) - 0.5}{2} = 0.25,\qquad 0.25 \times 1000 = 250
Step 3: Find the expected log-growth per bet. It means a typical bankroll multiplies by about e0.0589≈1.061e^{0.0589} \approx 1.061 each round. For comparison, betting 50% gives 0.5ln⁡2+0.5ln⁡0.5=00.5\ln 2 + 0.5\ln 0.5 = 0, which is no growth at all.
g(0.25)=0.5ln⁡(1.5)+0.5ln⁡(0.75)≈0.0589g(0.25) = 0.5\ln(1.5) + 0.5\ln(0.75) \approx 0.0589
Answer: Bet 25% of your bankroll, which is $250 on the first round. Recompute the stake from your new bankroll after each bet.

Why It Matters

Edward Thorp used the Kelly criterion to size blackjack bets with card counting, and later to size positions in his hedge fund. In quantitative finance, the continuous version f∗=(μ−r)/σ2f^* = (\mu - r)/\sigma^2 sets how much of your wealth to hold in a stock with log-normally distributed prices. Because estimates of pp are uncertain, many practitioners bet "half Kelly" to cut volatility sharply while giving up only a little growth.

Common Mistakes

Mistake: Plugging decimal odds (total return per $1, including your stake) in for b.
Correction: The variable b is net profit only. Decimal odds of 3.0 mean b = 2. Using b = 3 in the example above gives 1/3 of your bankroll instead of 1/4. That overbets, and overbetting lowers your long-run growth.

Related Terms

  • Bernoulli Distribution — Models each win-or-lose bet the formula sizes
  • Log Normal Distribution — Approximates wealth after many repeated Kelly bets
  • Expected Value — Kelly maximizes the expected logarithm of wealth, not expected wealth
  • Logarithm — The growth rate Kelly maximizes is an average of logarithms
  • Probability — Win probability determines the optimal Kelly stake
  • Maximize — Kelly maximizes expected logarithmic bankroll growth