Skip to content
The Calculatorz
Investing

Kelly Criterion Calculator (Optimal Position Size)

Find the fraction of capital to commit to a favourable opportunity with the Kelly criterion, from the win probability and payoff, with half and quarter Kelly options.

Results are mathematical estimates from the values you enter. They are not financial, legal or tax advice. Gambling and trading carry the risk of losing money.

Odds and capital

Opportunity

How to use this calculator

Enter your estimated probability of success, what you gain per unit risked if right (for example 1 for even money, 2 for a 2-to-1 payoff) and how much of the stake you lose if wrong. The calculator gives the Kelly fraction that maximises long-run growth and the amount to commit at the fraction you choose. Many practitioners use half or quarter Kelly because probability estimates are uncertain.

Formula

Generalised Kelly fraction f* = p ÷ a − (1 − p) ÷ b, where p is the win probability, b the net gain per unit and a the fraction lost when wrong (a = 1 for a total loss, giving the classic f* = p − (1 − p) ÷ b). Expected growth per bet g = p ln(1 + f b) + (1 − p) ln(1 − f a). Stake = f × capital.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewQasimACCA, CFA, Senior Financial Analyst

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What is the Kelly criterion?

A formula from John Kelly's 1956 paper that sets the bet or position size maximising the long-run growth rate of capital.

Why use half Kelly?

Full Kelly is very volatile and assumes your probabilities are exact. Half Kelly gives about three-quarters of the growth with much smaller drawdowns.

What if the Kelly fraction is negative?

The opportunity has negative expected value: the formula says not to take it.

Can I use it for stocks?

Only as a rough guide. Real investments have many possible outcomes, not just win or lose, and the inputs are hard to estimate.

Why does over-betting hurt?

Betting more than the Kelly fraction lowers growth, and betting about twice Kelly or more makes long-run growth zero or negative even with an edge.

Does Kelly guarantee profit?

No. It maximises expected log growth in the long run; short-run losses can still be large.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Kelly, J. L., Jr. (1956). A new interpretation of information rate. IRE Transactions on Information Theory, 2(3), 185–189. View source
  2. Thorp, E. O. (2006). The Kelly criterion in blackjack, sports betting, and the stock market. In Handbook of asset and liability management (Vol. 1, pp. 385–428). Elsevier. View source
  3. U.S. Securities and Exchange Commission. (n.d.). Stocks. View source
  4. Dahlquist, J. R., & Knight, R. (2022). Principles of finance. OpenStax. View source