Kelly criterion, for quant interviews
“Bet a fraction ” is easy to recite. The interview is testing whether you know which objective that formula optimizes, why maximizing expected value gives a different — and ruinous — answer, and how fast the whole thing breaks when you don’t actually know .
For candidates preparing bankroll and positive-EV bet prompts · Updated July 21, 2026
The question under the question
A “how much should you bet?” prompt is never asking for a plug-in. It is asking you to name your objective function. Fix the setup: a repeatable bet with win probability and net odds (you risk 1 to win on top of your stake), and you choose what fraction of your current bankroll to stake, over and over.
State the tension up front. Expected profit per bet is , which is maximized by betting everything the moment the edge — and that guarantees ruin. Kelly resolves the tension by optimizing a different quantity. On an even-money bet with and , the EV-maximizer says and Kelly says . That distinction is the entire point of the question.
Edge, odds & the formula
Define the pieces so you can map any prompt onto them. Edge is expected profit per unit staked, . Odds is , the net payout (profit-to-stake), not the decimal/total payout — flag this explicitly, it is the number-one unit error. The result:
Even-money special case () collapses to . Mind the gate: if the edge is non-positive, , and Kelly says bet zero (or take the other side). Kelly never puts money on a negative-edge game.
Worked example, actual numbers
Case A (even money). , , , so — stake 20% of bankroll. The long-run growth rate is per bet, so the bankroll compounds at about per bet, geometrically.
Case B (). A 2-to-1 payout with . The edge is , and — stake 10% (cross-check: ). Its growth is . The general formula is not a black box; it is just the edge divided by the odds.
Deriving it: maximize log-wealth, not wealth
Why the logarithm? Over independent bets the bankroll multiplies, . Take the log and average:
By the law of large numbers is the almost-sure long-run growth rate — maximizing it is not a utility preference, it is the a.s. fastest-growing strategy. The one-line derivation:
The satisfying step is the term collapsing to because . And since everywhere, is strictly concave, so this critical point is the unique maximum. That concavity is exactly what separates the two averages below.
The curve is not symmetric: overbetting
This is the single most testable intuition. rises to its peak at , then falls, crossing back through zero at — just below (the quadratic/Gaussian approximation puts the zero exactly at ). Past that point you hold a positive-edge bet with negative growth: you compound yourself broke.
Underbetting merely leaves growth on the table; overbetting destroys it. At one loss zeroes the bankroll and . That asymmetry — steep cliff on the right, gentle slope on the left — is why nobody serious bets full Kelly.
Fractional Kelly & variants that change the answer
Everything above assumed you knew the game. The interview usually pays off on the assumptions that break:
- You don’t actually know . Kelly assumes exact and . Because the curve is steep on the overbet side, an overestimated edge pushes you past into the punished region. Shading down to half-Kelly buys robustness: it keeps 74.7% of the maximum growth for roughly half the volatility, while Kelly gives a nearly identical 73.2% with far larger swings, and Kelly is −12.2% — negative.
- Continuous, one-shot, or correlated bets. For a log-normal continuous bet the analogue is (the Merton fraction); simultaneous correlated bets share risk, so their combined Kelly stake is below the sum of the individual stakes.
- Finite horizon or genuine risk aversion. Kelly is optimal for the long-run growth rate, not for a risk-averse player with a fixed horizon or a drawdown limit. If the prompt adds “you have 10 bets” or “you can’t lose more than 20%,” Kelly is no longer the answer — that is often exactly what is being probed.
- Leverage cap. A huge edge can yield ; without borrowing you cap at your bankroll and the formula’s advice is truncated.
Common mistakes
- Maximizing EV instead of log-wealth. “Positive edge, so bet big” leads to bet-everything and near-certain ruin. Arithmetic EV rises with stake forever; only the geometric growth rate has an interior peak.
- Odds in the wrong units. is net odds (profit per unit staked). Feeding in decimal/total odds () silently mis-sizes every bet.
- Skipping the edge check. Plug in a negative-edge game and comes out negative; read that as “don’t bet,” not as a number to stake.
- Full Kelly on an estimated . Treating a noisy point estimate as the true probability puts you on the wrong side of the peak — the one side that is actually costly.
- Assuming the curve is symmetric. Betting Kelly is not “twice as aggressive but still fine”; it wipes out the entire growth advantage and goes negative.
Practice the pattern
Bet-sizing prompts reward the candidate who names the objective before the formula. Drill positive-EV and bankroll questions in the LeetQuidity curriculum, or take the free calibration to see where your reasoning breaks under time.