Trading Calculator

Kelly Criterion Calculator

Keel's Kelly criterion calculator turns your win rate and your average win and loss into the share of your account to risk on each trade. It shows full Kelly and the half and quarter Kelly most traders use, because full Kelly assumes you know your edge exactly.

Inputs

From your strategy backtest. Example: 42 means 42% of trades close in profit.

Enter it as a positive number.

Full Kelly maximizes growth but is psychologically punishing. Half-Kelly is the common practical default.

Result
Recommended bet size (% of bankroll)
4.89%
Full Kelly fraction
9.78%
Win/loss ratio (b)
1.800
Expected value per $1 bet
$0.176

How likely is a deep drawdown at that size? Check the risk of ruin at 4.89% a trade.

By Keel Research Team · Updated October 15, 2026
How it works

Methodology

The Kelly criterion answers: given a known edge, what fraction of bankroll bet maximizes long-run logarithmic growth?

f* = (b × p − q) / b
  p = probability of winning
  q = 1 − p
  b = avg_win / avg_loss (positive)

The result f* is your bet size as a fraction of bankroll for each trade. Compounding at f* gives the highest expected long-run wealth, but the path there is extreme. Full Kelly drawdowns can hit 50%+ even when the underlying edge is positive; the variance of returns scales with f.

Why half or quarter Kelly: Kelly assumes you know p and b exactly. In real trading, you estimate them from limited samples. Overestimate the edge and full Kelly bets more than the true Kelly size; at twice the true size the account stops growing, and beyond it shrinks. Half Kelly is much more forgiving. Half Kelly keeps about 75% of full Kelly’s growth with about a quarter of the variance.

Use this calculator with backtested inputs: the win rate, average win and average loss from a backtest are the right numbers to feed in, not gut-feel estimates.

A worked example

A backtest shows a 55% win rate, an average win of $150 and an average loss of $100. Then p = 0.55, q = 0.45 and b = 1.5, so full Kelly is (1.5 × 0.55 − 0.45) / 1.5 = 0.25: risk 25% of the account on each trade. Half Kelly is 12.5% and quarter Kelly 6.25%. Even the quarter Kelly figure is far above the 1% a trade many traders use, which is why Kelly works best as a ceiling.

How a wrong estimate hurts

  • Overestimating the edge. With the same payoff, a true win rate of 52% gives a Kelly size of 20%. Betting the 25% you estimated is already 1.25 times the right size, and every step further above it adds drawdown while taking growth away.
  • A change in conditions. A backtest win rate is an average over its sample. At a payoff of 1.5 the break-even win rate is 40%: if the market shifts and the strategy wins 40% of the time, the edge is gone, yet full Kelly from the old numbers still risks 25% a trade.

To turn the Kelly fraction into a position, combine it with your stop in the position size calculator, and check how deep the losses can run with the max drawdown calculator.

Automate it

Trade systematically on Keel

Keel is a strategy builder for Hyperliquid. Describe an idea, backtest it with fees, slippage and funding, and run it live on Hyperliquid’s crypto perps. Start free, and connect a wallet when you’re ready to trade.

What you can do
  • Backtest any strategy with realistic fees, slippage, and funding modeled.
  • Change a parameter and run it again. Every backtest is kept.
  • Run it live on Hyperliquid with stop-losses and leverage caps.
  • Start from a sentence. Describe your idea and Keel builds a strategy you can test.
FAQ

Calculator questions

What does the Kelly criterion calculate?

The share of your account to risk on each trade that grows it fastest over many trades, given your win rate and your average win and loss. The formula is f* = (b × p − q) / b, where p is your win rate, q = 1 − p, and b is your average win divided by your average loss.

How do I use the Kelly criterion in trading?

Take your win rate and your average win and loss from a long run of trades or a backtest, and enter them here. The result is the Kelly fraction: the share of your account to risk per trade. Most traders then bet a fraction of that, usually half or a quarter, and use a position size calculator to turn it into a position.

What should my Kelly multiplier be?

Most traders use between a quarter and a half of full Kelly. Full Kelly assumes your win rate and payoff are exactly right, and they never are. If you overestimate your edge, full Kelly bets too much and the drawdowns get very deep. Half Kelly keeps most of the growth with much smaller swings.

What is fractional Kelly?

Betting a fixed fraction of the full Kelly size, such as half or a quarter. It gives up some long-run growth in exchange for smaller drawdowns and protection against an edge that is smaller than you think. This calculator shows full, three-quarter, half and quarter Kelly.

What does a negative Kelly result mean?

Your numbers have no edge: with that win rate and payoff, the strategy loses money on average. Kelly would tell you to take the other side, which in practice means do not take the trade. Check your win rate against the win rate you need to break even before you size anything.

How is Kelly different from risking a fixed percent?

Risking a fixed percent, say 1% a trade, ignores how good the trade is. Kelly sizes up when your edge is bigger and down when it is smaller. Many traders use Kelly as a ceiling and a fixed percent in practice, never risking more than half Kelly.

Should I use Kelly or a fixed percent per trade?

Use both. Size each trade by a fixed share of the account at the stop, and take the smaller of that and half Kelly. The fixed percent keeps any one loss small; the Kelly ceiling stops you from risking much when the edge is thin or uncertain.

Where do I get reliable win rate and payoff numbers?

From as many trades as you can get. A backtest returns your win rate, average win and average loss over the whole history you test. Run the same strategy over different periods to see how stable those numbers are before you size a live position on them.