Inferensys

Glossary

Kelly Criterion

A formula for determining the optimal size of a series of bets to maximize the geometric growth rate of capital over the long term.
Developer building retrieval augmentation on laptop, document chunks and embeddings visualized, technical workspace.
OPTIMAL BET SIZING

What is the Kelly Criterion?

The Kelly Criterion is a mathematical formula for determining the optimal fraction of capital to wager on a series of positive-expectation bets to maximize the long-term geometric growth rate of wealth.

The Kelly Criterion calculates the optimal bet size ( f^* = \frac{bp - q}{b} ), where ( b ) is the net odds received on the wager, ( p ) is the probability of winning, and ( q = 1-p ) is the probability of losing. By maximizing the expected logarithm of wealth rather than the expected value, the criterion inherently balances aggressive compounding against the risk of ruin, making it a foundational tool in portfolio optimization theory and quantitative finance.

In practice, traders often use a fractional Kelly strategy—wagering only half or a quarter of the full Kelly amount—to reduce the high volatility and severe drawdowns associated with the full criterion. While the full Kelly Criterion guarantees the asymptotic maximum growth rate, it assumes precise knowledge of edge and odds; estimation errors in these inputs can lead to overbetting, making robust extensions like Bayesian Kelly essential for real-world algorithmic trading.

KELLY CRITERION EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the Kelly Criterion, its mathematical derivation, and its practical application in portfolio optimization and algorithmic trading.

The Kelly Criterion is a mathematical formula for determining the optimal fraction of capital to allocate to a series of favorable bets or investments to maximize the long-term geometric growth rate of wealth. It works by balancing the trade-off between risk and reward: allocating too little capital underutilizes an edge, while allocating too much risks catastrophic drawdowns due to the volatility drag inherent in compounding returns.

The core mechanism calculates the optimal fraction f* using the formula:

code
f* = (bp - q) / b

Where:

  • b is the net odds received on the bet (i.e., the multiplier on a win, excluding the stake)
  • p is the probability of winning
  • q is the probability of losing (1 - p)

For continuous outcomes or portfolio allocation, the multivariate extension is often expressed as:

code
f* = Σ⁻¹ μ

Where Σ⁻¹ is the inverse covariance matrix of asset returns and μ is the vector of expected excess returns. The criterion assumes that the investor's objective is to maximize the expected logarithm of wealth, a goal that asymptotically outperforms any other strategy with probability 1 over an infinite time horizon.

Optimal Bet Sizing

Key Characteristics of the Kelly Criterion

The Kelly Criterion is a mathematical formula for determining the optimal fraction of capital to allocate to a series of favorable bets to maximize the long-term geometric growth rate while preventing ruin.

01

The Core Formula

The fundamental equation is f = p - (q / b)* , where f* is the optimal fraction of the bankroll, p is the probability of winning, q is the probability of losing (1-p), and b is the net odds received on the wager (i.e., you win $b for every $1 bet).

  • Edge Calculation: The numerator (bp - q) represents the mathematical edge.
  • Growth Maximization: The criterion maximizes the expected value of the logarithm of wealth, not the simple arithmetic return.
  • Example: For a bet with a 60% chance of doubling your money (b=1), f* = 0.6 - (0.4/1) = 0.20, suggesting a 20% allocation.
02

Geometric Growth Maximization

Unlike strategies maximizing arithmetic mean return, the Kelly Criterion optimizes the expected logarithm of wealth, which corresponds to the compound growth rate.

  • Long-Run Dominance: A Kelly bettor's bankroll will asymptotically exceed that of any essentially different strategy over a sufficiently long sequence of bets.
  • Volatility Drag: The logarithmic utility function inherently penalizes large drawdowns, recognizing that a 50% loss requires a 100% gain to recover.
  • Time Horizon: The strategy assumes an infinite or very long sequence of independent, identical opportunities.
03

Fractional Kelly (Risk Management)

In practice, traders rarely use the full Kelly fraction due to estimation errors in inputs. Fractional Kelly involves betting a fixed fraction of the full Kelly amount (e.g., Half-Kelly).

  • Volatility Reduction: Betting half the Kelly fraction reduces portfolio volatility by 50% while only sacrificing 25% of the expected growth rate.
  • Error Buffer: This provides a margin of safety against overestimating one's edge or win probability.
  • Drawdown Control: Fractional strategies significantly reduce the probability and magnitude of severe peak-to-trough drawdowns.
04

Continuous & Multi-Asset Application

The criterion extends beyond discrete binary bets to continuous financial markets via the Multivariate Kelly Criterion.

  • Continuous Form: In markets, the optimal allocation vector f = (Σ⁻¹)μ, where Σ⁻¹ is the inverse covariance matrix and μ is the vector of excess returns.
  • Leverage Constraint: The sum of the weights often exceeds 1.0, requiring explicit leverage constraints in portfolio optimization.
  • Signal Integration: It naturally integrates with alpha models, converting a vector of expected returns and a covariance matrix directly into position sizes.
05

Theoretical Limitations

Despite its mathematical elegance, strict application faces practical hurdles in quantitative finance.

  • Parameter Uncertainty: The output is highly sensitive to errors in estimating expected returns (μ), often leading to unstable and concentrated portfolios.
  • IID Assumption: The standard model assumes independent and identically distributed returns, ignoring serial correlation and volatility clustering.
  • Non-Stationarity: Market edges are transient; the assumption of a repeating, identical opportunity set is violated in non-stationary financial environments.
06

Relationship to the Sortino Ratio

PMPT and the Kelly Criterion share a philosophical alignment with the Sortino Ratio, which replaces standard deviation with downside deviation.

  • Downside Focus: Both frameworks recognize that only returns falling below a specified threshold (MAR or 0%) constitute risk.
  • Portfolio Selection: A strategy maximizing the Sortino ratio is often mathematically linked to a Kelly-optimal solution under specific return distributions.
  • Asymmetric Utility: They formalize the behavioral reality that investors possess asymmetric risk preferences, fearing losses more than they value equivalent gains.
POSITION SIZING METHODOLOGY COMPARISON

Kelly Criterion vs. Other Position Sizing Strategies

A comparison of the Kelly Criterion against fixed-fraction, fixed-dollar, and volatility-targeting position sizing strategies across key risk and return dimensions.

FeatureKelly CriterionFixed FractionFixed DollarVolatility Targeting

Core mechanism

Sizes bets proportionally to edge and odds

Risks a constant % of equity per trade

Risks a constant dollar amount per trade

Adjusts size inversely to realized volatility

Maximizes geometric growth rate

Risk of ruin

Zero with fractional Kelly

Low if fraction is small

High as equity declines

Low if volatility cap is enforced

Adapts to changing edge

Requires edge estimation

Position size volatility

High

Moderate

Low

Moderate

Typical risk per trade

Varies with edge (often 10-25% full Kelly)

1-2% of equity

$500-1,000

Targets 1% portfolio volatility

Computational complexity

Moderate

Low

Low

Moderate

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.