How the Kelly criterion is calculated
- Kelly fraction f* = win rate − (1 − win rate) ÷ payoff ratio. For example, with a 45% win rate and a payoff ratio of 2: f* = 0.45 − 0.55 ÷ 2 = 17.5%.
- In trading, f* is the share of your account you lose on a trade “when the stop is hit”, not the share of your account in the position. How big the position is also depends on your stop distance; convert it with the position size calculator.
- Payoff ratio = average win ÷ average loss. If your backtest report only shows the profit factor (gross profit ÷ gross loss), payoff ratio = profit factor × (1 − win rate) ÷ win rate.
- Expected return per trade = win rate × payoff ratio − (1 − win rate), measured in R (the loss on one stopped-out trade). When the expectancy is zero or negative, so is the Kelly fraction: the strategy isn’t worth betting on.
Why almost no one uses full Kelly
Full Kelly is only optimal when the win rate and payoff ratio are exactly right and every trade’s outcome is independent. In reality both numbers come from a backtest and are almost certainly overestimated; once they are, betting full Kelly means overbetting. Bet twice the Kelly fraction and the long-run growth rate drops to roughly 0; bet more than that and the more you bet, the less you end up with.
Full Kelly’s swings are also hard to stomach: falling more than half from a peak at some point along the way is common, and the simulation table in the calculator shows the actual odds. That’s why half Kelly or quarter Kelly is common in practice, giving up a little growth for much smaller drawdowns.
Where the win rate and payoff ratio come from
Ideally from a backtest or paper trading with enough trades: at least 100, covering up, down and sideways markets. With only a dozen or so trades, a few percentage points of difference in the win rate change the Kelly fraction a lot. For how to read each metric in a backtest report, see How to Read a Backtest Report; for why backtests often overestimate, see 5 Traps Every Quant Beginner Should Know.
FAQ
What if the Kelly criterion comes out negative?
It means that with the win rate and payoff ratio you entered, the strategy loses money in the long run (expectancy per trade below 0), and the Kelly criterion’s advice is not to bet. Improve the strategy or recheck the backtest first, rather than trying to rescue it with position sizing.
Why is the Kelly fraction so much bigger than the usual 1%–2% per trade?
The Kelly criterion assumes the win rate and payoff ratio are known exactly and only aims for the fastest long-run growth, without asking whether you can stomach the drawdowns along the way. Risking 1%–2% per trade is a more conservative approach for when the parameters are uncertain and you also have to survive losing streaks. You can use the two together: if the Kelly fraction itself is below 2%, your edge is thin; if it is far above 2%, half Kelly or less is already plenty.
What’s the difference between payoff ratio and profit factor?
Payoff ratio is the average win ÷ the average loss; profit factor is gross profit ÷ gross loss, which already has the win rate built in. The same 2 means different things: a strategy with a payoff ratio of 2 and a 40% win rate has a profit factor of only 1.33. The calculator lets you switch between the two inputs.
Can I use the Kelly criterion for futures trading?
You can calculate it, but be clear about what it means: the Kelly fraction is the share of your account you lose at the stop, not the margin ratio and not the leverage. Futures also have liquidation, slippage and funding fees, so actual losses can be bigger than the stop implies, and the fraction should be more conservative than for spot.
How are the simulation results calculated?
Using the win rate and payoff ratio you entered, we randomly generate 2,000 sequences of wins and losses, each 100 trades long. Each trade bets a fixed fraction: a win gains “fraction × payoff ratio”, a loss loses “the fraction”, and the balance compounds. Every fraction uses the same sequences of wins and losses with a fixed random seed, so the same parameters always give the same result. Fees and slippage are not included.
This page is only a position-sizing calculator and mathematical simulation, and is not investment advice. The simulation assumes every trade is independent and the win rate and payoff ratio never change, which real trading does not satisfy; the Kelly fraction can change dramatically with errors in estimating its inputs. Only use money you can afford to lose.