UTC

Sign up free

Kelly Criterion Calculator

You know your strategy’s win rate and payoff ratio, so how much should you bet on each trade? The Kelly criterion gives the fraction that grows your account fastest in the long run, and also shows how dangerous it is to bet too much.

Data I have
Fraction of Kelly

Max loss per trade

8.75%

½ Kelly: if a trade hits its stop, you lose at most 8.75% of your account, or 875 USDT. Full Kelly is 17.5%.

This is far above the usual 1%–2% per trade. If your win rate or payoff ratio is even slightly overestimated, you are actually overbetting. Check the simulation below first.

Expectancy per trade
+0.35 R
Full Kelly fraction
17.5%
Payoff ratio
2.00
Break-even win rate
33.3%
Loss limit per trade
875 USDT

2,000 simulations: after 100 trades

Risk per tradeMedian balanceWorst 5%50% drawdownEnded at a loss
Fixed 1%+40.3%+10.5%0.0%1.1%
Fixed 2%+92.3%+19.5%0.0%1.1%
¼ Kelly (4.38%)+272.2%+33.0%3.9%2.1%
½ Kelly (8.75%) (yours)+821.5%+21.9%58.9%4.5%
Full Kelly (17.5%)+1,762%−63.8%99.8%13.9%
2× Kelly (35.0%)+20.3%−99.9%100.0%45.1%

This is a math simulation based on the win rate and payoff you entered, not a return forecast. “Median balance” and “Worst 5%” show how the balance changed after 100 trades: half the simulations did better than the median, and 5% did worse than “Worst 5%”. “50% drawdown” is the chance that the balance fell more than half from a peak at some point. “Ended at a loss” is the chance that the balance after 100 trades is below where it started. Fixed random seed, no fees.

Hand this risk per trade to the AI for a backtest (you can swap in your own entry rules)

Add a fixed-fraction position sizing rule to my strategy and backtest it: lose at most 8.75% of the account per trade when the stop is hit, and size each position automatically from the distance between the entry price and the stop price. Entry rules: on BTC/USDT 4-hour candles, go long when the 20-period moving average crosses above the 60-period moving average, and stop out when a candle closes below the 60-period moving average. Backtest the last 2 years, then run it again with 1% risk per trade for comparison, and report the win rate, payoff ratio, max drawdown and longest losing streak for both settings.

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.

Note

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.