Position Sizing & Leverage: Kelly Criterion Strategy › The Kelly Criterion
Quantitative FinanceAll chapters Position Sizing & Leverage: Kelly Criterion Strategy › The Kelly CriterionOne section · Sections in this chapter2 / 9 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The Kelly Criterion, developed by John L. Kelly Jr. at Bell Labs in 1956, answers a simple question: Given an edge in a repeated game, what fraction of capital should be wagered to maximize long-term wealth growth? The same growth-rate logic, originally applied to information transmission over noisy channels, applies to repeated trading and investment decisions. The criterion emerges from a fundamental tension in betting: bet too small and you fail to exploit your edge, but bet too large and you risk catastrophic losses that compound negatively over time. Kelly's mathematical framework resolves this tension by identifying the unique betting fraction that maximizes the expected geometric growth rate of capital.
The Single-Bet Case
Consider a simple gambling scenario where you repeatedly face a bet with the following characteristics:
- Win probability:
- Loss probability:
- Win payoff: (for every dollar wagered, you receive dollars profit)
- Loss payoff: (you lose your entire wager)
To understand why position sizing matters so critically, consider what happens when you repeatedly face this bet. If you bet fraction of your current capital on each round, the multiplicative nature of returns creates a fundamentally different dynamic than additive returns. After a win, your capital multiplies by , and after a loss it multiplies by . This multiplicative structure means that the sequence of wins and losses matters far less than you might expect: what matters is the geometric growth rate.
After trials with wins and losses, your final wealth starting from initial wealth is:
where:
- : final wealth after trials
- : initial wealth
- : number of trials
- : win payoff (profit per dollar wagered)
- : fraction of capital wagered per trial
- : number of wins
- : number of losses
This formula captures the essence of compounding. Notice that wealth is a product of factors, not a sum. This multiplicative structure means that a single devastating loss can overwhelm many small gains. If you bet your entire capital () and lose even once, you're wiped out regardless of how many wins preceded or follow that loss.
Taking logarithms turns the multiplicative relationship into an additive one, which proves essential for analysis. The logarithm of wealth growth becomes:
where:
- : final wealth
- : initial wealth
- : number of wins
- : number of losses
- : win payoff
- : fraction of capital wagered
This transformation reveals why logarithmic returns are natural for analyzing betting and investment: they turn compound growth into a sum of independent contributions from each trial.
The expected log growth per trial, which we call the geometric growth rate, captures the long-run behavior of the strategy. By the law of large numbers, over many trials the actual growth rate converges to this expected value. The geometric growth rate is:
where:
- : expected geometric growth rate per trial
- : probability of winning
- : probability of losing ()
- : win payoff
- : fraction of capital wagered
This function is the central object of Kelly's analysis. It is concave in , meaning it rises to a unique maximum and then falls. Betting nothing () yields zero growth, but betting everything () also yields negative expected growth for any realistic bet because the logarithm of zero (which you face after a loss with ) is negative infinity.
To find the optimal fraction that maximizes , we apply standard calculus, differentiating with respect to and setting the derivative to zero:
The first term represents the marginal benefit of increased betting: with probability , you win, and increasing your bet increases your logarithmic gain. The second term represents the marginal cost: with probability , you lose, and increased betting amplifies your logarithmic loss. At the optimal point, these marginal effects balance perfectly.
Setting the derivative to zero gives us the first-order condition:
where:
- : expected growth rate
- : fraction of capital wagered
- : win probability
- : loss probability
- : win payoff
Solving for requires straightforward algebraic manipulation. We rearrange to isolate :
The final step uses the fundamental probability constraint that win and loss probabilities must sum to one. This yields the celebrated Kelly formula:
where:
- : optimal fraction of capital to wager
- : win probability
- : loss probability
- : win payoff (odds)
This result admits a clear interpretation. The numerator represents the expected profit per dollar wagered, often called the "edge." The denominator represents the odds. The optimal bet fraction is simply the edge divided by the odds. When the odds are generous (large ), you can afford to bet more conservatively. When the odds are stingy (small ), you must bet more aggressively to exploit a given edge.
This is the Kelly Criterion for a simple bet. For the special case of even odds (), the formula simplifies even further:
where:
- : optimal fraction for even odds
- : win probability
- : loss probability
The result is intuitive: bet a fraction equal to the edge (win probability minus loss probability). If you have a 60% chance of winning an even-money bet, you should wager 20% of your capital. This provides a concrete, actionable rule that balances the benefit of exploiting your edge against the risk of overbetting.

The Kelly Criterion states that to maximize the long-term geometric growth rate of capital, bet a fraction of your capital on each wager, where is the win probability, is the loss probability, and is the odds (profit per dollar wagered on a win).
Continuous Returns: Kelly for Trading
Real trading doesn't involve discrete binary outcomes. Instead, returns are continuous and approximately normally distributed over short horizons. We can derive a continuous version of the Kelly formula that applies directly to realistic trading scenarios where positions may gain or lose varying amounts.
Suppose a strategy has expected return and volatility per period. If you apply leverage (meaning you bet times your capital), your leveraged return is where . Leverage scales both the expected return and the volatility. The expected leveraged return is and the variance is . Notice that variance scales with the square of leverage, which foreshadows the extreme danger of high leverage.
For small returns, which is a reasonable approximation for daily or weekly trading, the expected log return, which determines geometric growth, is approximately:
where:
- : leveraged return
- : leverage ratio
- : expected return of the strategy
- : variance of the strategy
This approximation uses the Taylor expansion for small . The formula separates expected return from the cost of variance: the first term is the expected arithmetic return, which increases linearly with leverage. The second term is the variance penalty, sometimes called "volatility drag," which increases quadratically with leverage. This quadratic penalty is why unlimited leverage is disastrous: at high enough leverage, the variance penalty overwhelms any expected return.
To maximize this geometric growth rate, we differentiate with respect to :
The derivative has two terms: represents the marginal benefit of increased leverage (more expected return), while represents the marginal cost (more variance penalty). Setting the derivative to zero identifies where these opposing forces balance:
where:
- : leverage ratio
- : expected return
- : return variance
Solving this simple equation yields the continuous Kelly leverage formula:
where:
- : optimal leverage ratio
- : expected return
- : return variance
This formula is intuitive. Optimal leverage increases with expected return, as you should bet more aggressively when the edge is larger. Optimal leverage decreases with variance, as you should bet more conservatively when uncertainty is higher. The formula can be rewritten using the Sharpe ratio :
where:
- : optimal leverage ratio
- : expected return
- : Sharpe ratio ()
- : return volatility
This alternative form reveals that optimal leverage is the Sharpe ratio divided by volatility. A strategy with higher Sharpe ratio warrants more aggressive position sizing because the edge relative to risk is larger. A strategy with lower volatility also warrants higher leverage because the same proportional bet involves less absolute risk. This formula provides the foundational insight for sizing trading positions optimally.
Properties of Kelly Betting
Kelly betting has several important mathematical properties that make it theoretically attractive:
- Maximizes geometric growth rate: No other fixed-fraction strategy achieves higher long-term wealth growth. This optimality is exact under the model assumptions.
- Never goes bankrupt: Since you only bet a fraction of capital, you always have something left, though it can become arbitrarily small. This contrasts with fixed-dollar betting, which can lead to complete ruin.
- Variance increases with leverage: At Kelly leverage, the variance of log returns equals the squared Sharpe ratio: per unit time. This provides a direct link between strategy quality and wealth volatility.
However, Kelly betting also has significant drawbacks that limit its practical applicability:
- Extreme drawdowns: Full Kelly can produce drawdowns of 50% or more with high probability, even for profitable strategies. These drawdowns are mathematically expected, not rare events, and they create severe psychological challenges for you.
- Parameter sensitivity: The optimal fraction depends critically on and , which must be estimated. Overestimating or underestimating leads to overbetting, which can be catastrophic because overbetting beyond Kelly has worse expected growth than underbetting by the same proportional amount.
- Assumes ergodicity: Kelly assumes you face the same bet repeatedly forever with unchanging parameters. Finite horizons or changing conditions violate this assumption, and the infinite-horizon optimal strategy may perform poorly over realistic investment horizons.
Fractional Kelly
Given the practical dangers of full Kelly betting, most practitioners use fractional Kelly, betting a fraction (typically 0.25 to 0.5) of the Kelly-optimal amount. This sacrifices some expected growth for substantially reduced variance and drawdown risk. The rationale is that we never know the true parameters and , so using full Kelly based on estimates is almost certainly betting too aggressively.
If we denote the Kelly fraction multiplier as , the leveraged position becomes . The multiplier represents our conservatism: is full Kelly, is half-Kelly, and is quarter-Kelly.
The expected geometric growth rate at fractional Kelly follows from substituting the scaled leverage into our growth rate formula:
where:
- : expected geometric growth rate with fractional Kelly
- : Kelly fraction multiplier ()
- : optimal full Kelly leverage
- : expected return
- : volatility
This formula reveals the fundamental tradeoff in fractional Kelly. The term in the parentheses represents growth that increases linearly with aggressiveness, while the term represents the variance penalty that increases quadratically. As increases from zero, growth initially increases faster than the penalty, but eventually the penalty dominates.
At full Kelly (), the growth rate is . At half-Kelly (), the growth rate is:
where:
- : expected geometric growth rate at half-Kelly
- : expected geometric growth rate at full Kelly
- : expected return
- : volatility
This calculation shows the efficiency of half-Kelly: it achieves 75% of the growth rate but with only 25% of the variance, since variance scales as . This tradeoff is highly attractive for risk-averse investors who value smoother wealth paths over maximum expected growth. The insight that you can sacrifice only 25% of growth while eliminating 75% of variance explains why fractional Kelly dominates practical applications.
import numpy as np
# Analyze fractional Kelly tradeoffs
kappa = np.linspace(0.01, 2, 200) # Kelly fraction from 0 to 2x
# Normalized growth rate (as fraction of maximum Kelly growth)
# G(kappa) / G(1) = 2*kappa - kappa^2
growth_rate = 2 * kappa - kappa**2
# Variance (as fraction of full Kelly variance)
variance = kappa**2
# Growth-to-variance ratio (efficiency)
efficiency = growth_rate / variance
efficiency[variance < 0.01] = np.nan # Avoid division issues


The efficiency plot shows that smaller Kelly fractions provide better return per unit of risk taken. As the fraction increases toward full Kelly and beyond, efficiency deteriorates rapidly. This mathematical relationship explains why experienced practitioners almost universally advocate for conservative position sizing.