IMRYN

Calculator · Reviewed 2026-10-24

Kelly criterion calculator

The Kelly criterion gives the fraction of capital that maximises long-run logarithmic growth. For a trade that either wins R times the amount risked or loses it, the Kelly fraction is f = p - (1 - p) / R, where p is the win probability. Example: a 55 % win rate with a 2:1 win/loss ratio gives f = 0.55 - 0.45 / 2 = 32.5 %. Most practitioners stake a fraction of Kelly, because the inputs are estimates and full Kelly swings hard.

Calculated in your browser. Nothing you type is sent to IMRYN. Source code and tests (MIT).

Educational calculator, not financial advice. It does not know your situation, costs, taxes or the real distribution of your returns. Past or estimated figures do not predict future results.

Worked example

Win rate 55 %, win/loss ratio 2: full Kelly 32.5 %, half Kelly 16.25 %, quarter Kelly 8.125 %. Expected log growth per trade: 9.86 % at full Kelly, 7.50 % at half Kelly. Continuous form with 8 % expected return, 3 % risk-free rate and 20 % volatility: 125 %, which means leverage.

Formula

  • Binary outcome, general form (Kelly 1956): f = p / l - q / g, where p is the win probability, q = 1 - p, g is the fraction of the stake gained on a win and l the fraction lost on a loss.
  • Trading form with a full loss of the amount risked (l = 1) and payoff ratio R = average win / average loss: f = p - q / R.
  • Expected log growth per bet at fraction f: G(f) = p ln(1 + g f) + q ln(1 - l f). Betting twice the Kelly fraction brings growth back to about zero.
  • Continuous approximation for an investment: f = (mu - r) / sigma^2, with mu the expected return, r the risk-free rate and sigma the volatility, all annual. A result above 100 % implies leverage.

Limits

  • p and R are estimates. A small error in the win rate moves the Kelly fraction a lot, and an overestimated edge leads to over-betting, which lowers growth and deepens drawdowns.
  • The formula assumes independent repeated bets with known odds. Trades are often correlated, fat tailed and affected by costs and slippage.
  • Fractional Kelly (half or quarter) reduces volatility and the chance of ruin at the cost of slower growth.
  • The continuous form assumes a symmetric return distribution.

Questions

What is a good Kelly fraction?

There is no universal value. Full Kelly maximises long-run log growth only if the inputs are exact. Many traders use half or quarter Kelly to absorb estimation error.

What if the Kelly result is negative?

A zero or negative result means the inputs show no edge: the criterion says not to take the bet.

Is Kelly the amount to risk or the position size?

In the trading form it is the fraction of capital put at risk on a trade that loses the full amount risked at the stop. Convert it into units with the position size calculator.

Sources

  1. Kelly, J. L. (1956), A New Interpretation of Information Rate, Bell System Technical Journal 35(4), 917-926 2026-10-24
  2. Kelly criterion, Wikipedia (formulas f = p/l - q/g and f = (mu - r)/sigma^2) 2026-10-24

Editorial responsibility

Victor Laybats

Victor Laybats reviewed the formulas, worked examples and claim boundaries for this page. The formulas are covered by automated tests.