In 1956, John Larry Kelly Jr. was working at Bell Labs, and published A New Interpretation of Information Rate, a paper which applied the lessons of optimal transmission over noisy channels to the problem of gambling.

A game proceeds as follows. Every day at noon, you may make a bet for any amount $K\$ K of your choice (up to your total capital). A biased coin is tossed; if it lands on heads (which it does with probability pp) you get $K×u\$ K \times u back, and otherwise if it lands on tails you lose your stake.

The question is: what is the optimal strategy? Clearly, this depends on the win probability pp and the proportional payout uu.


Now suppose our fortune after nn days is ZnZ_n, where Z0=1Z_0 = 1 is our initial capital. Each day, we bet a proportion ww of our wealth. Then:

Zn+1=Zn×Yn+1 where Yn+1={uw+(1−w)if the (n+1)th toss is a head(1−w)if the (n+1)st toss is a tail Z_{n+1} = Z_n \times Y_{n+1} \ \text{where} \ Y_{n+1} = \begin{cases} uw + (1-w) & \text{if the $(n+1)^\text{th}$ toss is a head} \\ (1-w) & \text{if the $(n+1)^\text{st}$ toss is a tail} \\ \end{cases}

Notice that Zn=Y1×Y2×⋯×YnZ_n = Y_1 \times Y_2 \times \dots \times Y_n. Take the sequence of independent and identically distributed random variables log⁡Yi\log Y_i, and apply the weak law of large numbers to get

P[∣1nlog⁡Zn−E[log⁡Y1]∣>ε]→0. \mathbb{P}\left[ \left| \tfrac{1}{n} \log Z_n - \mathbb{E}[\log Y_1] \right| > \varepsilon \right] \to 0.

So to maximise ZnZ_n (and hence 1nlog⁡Zn\tfrac{1}{n} \log Z_n) in the long run, with probability tending to 11, we maximise

f(w)=E[log⁡Y1]=plog⁡(uw+1−w)+(1−p)log⁡(1−w)f′(w)=(pu−1)−(u−1)w((u−1)w+1)(1−w) \begin{align*} f(w) &= \mathbb{E}[ \log Y_1 ] = p \log (uw + 1-w) + (1-p) \log (1-w) \\ f'(w) &= \frac{(pu-1)-(u-1)w}{((u-1)w+1)(1-w)} \end{align*}

Of course, if pu⩽1pu \leqslant 1, then f(w)f(w) is decreasing for all positive fractions w⩾0w \geqslant 0, so we do not bet. But if pu>1pu > 1, we take the maximum at w=pu−1u−1w = \frac{pu-1}{u-1}. Equivalently, w=p−qbw = p - \frac{q}{b}, with net odds b=u−1b = u-1 and q=1−pq = 1-p.

This is therefore the proportion of our wealth we should bet! In the special case of “even odds”, where u=2u = 2, we bet money if and only if p>1/2p > 1/2, when the game is biased in our favour, and bet a fraction 2p−12p-1 of our wealth.

So the answer to “should we go all in” is in fact never unless p=1p = 1 (when you are literally guaranteed to win).


It’s interesting to note that economists often assume [Kahneman & Deaton (2010) and Killingsworth (2021)] that people have utility functions which grow with the logarithm of income. This assumption traces back to Bernoulli’s 1738 attempt to resolve the St. Petersburg paradox.

Under this framework, utility maximisation is indeed log-wealth maximisation. But the Kelly criterion is totally independent of this! Kelly himself wrote as much in his original paper.

The reason has nothing to do with the value function which he attached to his money, but merely with the fact that it is the logarithm which is additive in repeated bets and to which the law of large numbers applies.

His criterion maximises the long-run median (typical) case, rather than going all in on positive bets, which amasses enormous expected wealth but concentrated in an exponentially unlikely single possible world. No other strategy can beat Kelly with probability greater than 50% in the long run, that is in the typical case [Bell & Cover (1980)]. And in fact, every strategy which is essentially different to Kelly has a vanishingly small fraction of Kelly’s almost surely [Breiman (1961)]!