Last lesson left us with a paradox. A bet with a genuine edge — the 60/40 coin, where you win 60% of the time at even money — will still wipe you out if you bet your whole bankroll, and even betting most of it grinds you down over time. The arithmetic that says “positive expected value, so bet big” is answering a question you are not actually asking. So what is the right question? What single number should a compounding gambler try to make as large as possible?
The answer, discovered by John Kelly at Bell Labs in 1956 and weaponised by Ed Thorp at the blackjack tables a few years later, is deceptively small: maximise the expected logarithm of your wealth. Not your wealth. The log of your wealth. This lesson explains why that peculiar objective is the correct one for money that multiplies, then turns the crank and derives the Kelly fraction from it — a formula you can write on a napkin and that tells you exactly how much of your bankroll to stake.
Before you read — take a guess
You repeatedly bet a fixed fraction of your bankroll on a favourable, multiplicative gamble. To bet the amount that makes your money grow fastest over many rounds, which quantity should you actually maximise each round?
Why logarithms: wealth multiplies, so growth adds
Here is the crux, and it is a fact about arithmetic, not psychology. When you bet a fraction of your bankroll, good and bad rounds multiply together, they do not add. Win the 60/40 coin at fraction and your wealth is multiplied by ; lose and it is multiplied by . After many rounds your wealth is a long product of these factors:
Products are hard to reason about; sums are easy. The logarithm is the tool that turns a product into a sum — — so taking logs converts your multiplying bankroll into an adding one:
Now the long-run behaviour is a plain average. Divide by rounds and, by the law of large numbers, the fraction of wins tends to and losses to . The per-round growth rate of log-wealth settles down to a fixed number we call :
This is the time-average growth rate — the exponential rate at which a single bankroll, yours, actually compounds if you keep playing. Because , a positive means exponential growth, means you tread water forever, and means you decay to zero no matter how promising a single round looked.
The analogy. Think of two escalators. Plain expected wealth is a lottery announcer shouting the average prize across a million ticket-holders — a number one jackpot winner can single-handedly inflate while everyone else goes home broke. The log-growth rate is the escalator you personally are standing on: its slope is the rate your own money climbs, round after round, and no stranger’s jackpot changes the step under your feet.
Time average vs ensemble average — the ergodicity point
On a multiplicative process these two averages disagree, sometimes wildly. The ensemble average averages across many parallel universes at one instant; it is dominated by a handful of astronomically lucky paths. The time average is what one path does across many rounds. Kelly betting maximises the time average — the growth you will see and, it turns out, the median long-run wealth. If the words “time average” feel new, that is the whole point of the prerequisite course on ergodicity; here we simply take as the number to maximise.
The misconception to kill. “Log wealth is about being risk-averse — it’s a psychological utility function for cowards.” No. Even a perfectly risk-neutral robot that only cares about growing its money as fast as physically possible, with zero feelings about volatility, should maximise — because that is the growth rate. The log is not a fudge factor for nerves; it is the exact bookkeeping of a multiplying quantity.
When to use this lens
Reach for expected log wealth whenever outcomes multiply and you reinvest: bankrolls, portfolios, compounding returns, bet sizing over many independent rounds. If instead your payoffs simply add — a one-shot bet you will never repeat, a fixed stake you cannot re-wager — then plain expected value is the right tool and Kelly does not apply. Kelly is the mathematics of the repeated, reinvested, divisible wager.
Deriving the Kelly fraction
We have the objective . Now we find the fraction that maximises it — and this is where a napkin and one line of calculus produce a famous formula. A smooth hump is maximised where its slope is zero, so we differentiate with respect to and set the result to :
Cross-multiply the two fractions:
Expand both sides — — and gather every term with on one side:
using . Divide by and you have the Kelly fraction:
Read it as a sentence: bet your edge divided by the odds. The numerator is your edge — expected profit per unit staked — and dividing by the payoff odds scales it into a fraction of bankroll. Bigger edge, bet more; longer odds (bigger ), bet a smaller slice, because each win already pays handsomely.
For an even-money bet () the formula collapses to something you can do in your head:
which is simply your edge. A 60% coin at even money: , bet a fifth. A 55% coin: bet a tenth. A 50% coin: bet nothing — no edge, no wager.
Match each piece of the Kelly derivation to what it means.
Pick a term, then click its definition.
Worked example A: the 60/40 even-money coin
Take the canonical bet: win probability , lose , even money . The formula gives — stake 20% of your bankroll every round. Let us verify it really is the peak by tabulating the growth rate across fractions. (The middle column is in log units; the right column converts it to an effective compounded return per round, .)
| Bet fraction | ≈ growth per round | |
|---|---|---|
| 0% | 0.0000 | +0.00% |
| 5% | 0.0088 | +0.88% |
| 10% (half-Kelly) | 0.0150 | +1.52% |
| 20% (Kelly f*) | 0.0201 | +2.03% |
| 30% | 0.0147 | +1.49% |
| 40% (double Kelly) | −0.0025 | −0.24% |
| 100% (all-in) | −∞ | total ruin |
The peak sits exactly at , earning about +2%/round of compounding — modest per round, but over hundreds of rounds is a fortune. Two features to file away for the next lesson: half-Kelly (10%) still banks about 1.5%/round, roughly three-quarters of the peak growth for half the stake; and double-Kelly (40%) has already fallen back through zero — a positive-edge bet delivering negative long-run growth. Betting everything () means a single loss multiplies you by : instantaneous, permanent ruin, which repeated play guarantees.
Kelly growth curve
The growth hump for the 60/40 coin
Stake a fraction of your bankroll on a repeated favourable bet. The curve is your long-run growth rate per round as a function of that fraction. It peaks at the Kelly fraction f*, falls back to zero near twice f*, and turns negative beyond — bet past there and a positive-edge game still grinds you to ruin. Drag the fraction and watch where you land on the hump.
- Kelly f*
- 20%
- Growth here
- +2.03%
- Zero growth ≈ 2f*
- 39%
With a 60% win chance at 1-to-1 odds, the Kelly fraction is f* = 20.0%. Betting 20% of your bankroll gives a long-run growth of +2.03%/round; the peak growth (at f*) is +2.03%/round, and growth falls back to zero at about 38.9%. You are near full Kelly: maximum long-run growth, but also maximum volatility.
On the 60/40 even-money coin, someone bets 30% of their bankroll each round instead of the Kelly 20%. What does the table say happens to their long-run growth?
Worked example B: favourable odds (2-to-1)
Now change the payoff. Suppose a fair-ish coin, , but a win pays 2-to-1 () — you risk one unit to win two. Is this worth betting on, and how much? First the edge:
so yes, strongly favourable. The Kelly fraction is edge over odds:
and the alternative form agrees: . Stake 25%. Notice the discipline here: a bet you win only half the time still deserves a quarter of your bankroll because the winning rounds pay double — but not more than a quarter, because the losing half will show up just as often and you must survive it.
Each row is a repeated, even-money bet unless it says otherwise. Sort them by what the Kelly fraction f* = p − q/b tells you to do.
Place each item in the right group.
- p = 0.55, even money → f* = 0.10
- p = 0.50, even money → f* = 0
- p = 0.40, even money → f* = −0.20 (the house's game)
- p = 0.50, win pays 2-to-1 (b = 2) → f* = 0.25
- p = 0.45, even money → f* = −0.10
- p = 0.60, even money (b = 1) → f* = 0.20
Worked example C: a thin real edge
Real edges are rarely 20%. When Ed Thorp took card-counting to the blackjack tables, his advantage over the house at a favourable count was on the order of 1% at roughly even money. Kelly then says stake about of your bankroll — and serious advantage players bet a fraction of even that, for reasons the next two lessons make painfully clear. The lineage matters: Kelly’s 1956 paper grew out of Claude Shannon’s information theory (its title is literally about information rate), Thorp turned it into a blackjack and then a Wall Street fortune at the hedge fund Princeton–Newport, and the same formula now sizes positions for professional gamblers and quantitative traders alike.
The lesson of example C is sobering: a 1% edge is real money over time — about a 1%/round growth engine — but it is also a whisper. Overestimate it even slightly, bet as if it were 3%, and you have shoved yourself over the peak toward the ruin side of a hump you cannot see. Precisely how dangerous that is — and why “err low” is the only safe direction — is the subject of the next lesson.
A sports bettor is offered a wager at 4-to-1 odds (b = 4) that they'll win only 30% of the time (p = 0.30). Using f* = p − q/b, how much of the bankroll does full Kelly stake?
The one thing to remember
Money that compounds grows at the rate of its average log-return, not its average return — so the number to maximise is , the time-average growth rate. Maximise it (set the slope to zero) and you get the Kelly fraction : bet your edge divided by the odds, which for even money is just . It is not a risk-aversion knob — it is the exact size that makes a reinvested bankroll grow as fast as it mathematically can.