Kelly Criterion in Trading

The Kelly Criterion formula f = (bp − q) / b sizes positions to maximize long-term growth. In practice, use half-Kelly to smooth drawdowns

TRADING & RISK5 min readBy AlgoSys Editorial TeamPublished Apr 25, 2026Updated Jun 26, 2026
Contents

The Kelly Criterion (a mathematical formula for calculating the optimal bet size) tells you exactly what fraction of your capital it makes sense to put into a specific trade. It was originally developed for gambling and investing, but it maps cleanly onto trading: the formula is based on your trading edge (the statistical advantage of a setup) and your probability of success.

This approach is especially useful for intermediate traders who want to squeeze out maximum long-term portfolio growth without losing control of risk. Unlike a fixed percentage rule, Kelly works dynamically: position size changes depending on how confident you are in the trade.

Applying Kelly in crypto is harder than in a casino, because here you have to estimate probabilities and coefficients yourself. But with honest estimates, the formula gives a clear logic: enter more aggressively on high-conviction trades and more cautiously where the probability is lower.

MECHANICS

The core formula looks like this: f = (bp - q) / b. Let's break it down part by part:

  • f: the fraction of capital the formula proposes to bet.
  • b: the net win coefficient, that is, the ratio of payout to risk.
  • p: the probability of winning.
  • q: the probability of losing, equal to 1 - p.

Let's work through the numbers. Suppose a trade has a 60% chance of winning (p = 0.6) and a 2:1 payout (b = 2). The Kelly fraction is then: f = (2 × 0.6 - 0.4) / 2 = 0.4. The formula says to bet 40% of capital.

In practice, the hardest part is honestly estimating b, p, and q. Traders rely on historical data, statistical analysis of price action, or expert-estimated probabilities. The payout coefficient b can be derived directly from the trade plan: b = (Take Profit - Entry) / (Entry - Stop Loss). This is essentially the ratio of what you expect to earn to what you are risking.

An important detail that is easy to overlook: commissions and slippage (the difference between the expected and actual execution price) eat into the payout. They need to be built into the b calculation; otherwise the formula will paint a rosier picture than reality.

EXECUTION

To translate Kelly from theory into a concrete position size, work through these steps:

  1. Define your trading edge and the specific setup you are evaluating.
  2. Estimate the probability of success (p) from historical data or statistical analysis.
  3. Find the probability of loss as q = 1 - p.
  4. Calculate the net win coefficient (b) from your planned Stop Loss and Take Profit levels.
  5. Plug the values into the formula f = (bp - q) / b.
  6. Convert the fraction f into a position size by multiplying it by your total trading capital.
  7. Execute the trade using appropriate order types on your platform.
  8. Monitor the position and recalculate the size if market conditions or probabilities change significantly.

To see how these steps work together, here is a short example. Capital is 10,000 USDT, the setup has an honestly estimated probability of p = 0.55, and the plan has Take Profit twice as far from entry as the Stop Loss, meaning b = 2. The calculation: q = 0.45, and f = (2 × 0.55 - 0.45) / 2 = 0.325. Full Kelly calls for 32.5% of capital, about 3,250 USDT. That is clearly too much for a single trade, so the actual size will be cut further by the risk limit discussed in the next section.

COMMON MISTAKES

The most common trap is overestimating the probability of success p. The setup seems like it "almost certainly" will work, the trader bets too much, and capital disappears quickly. Take conservative estimates of p and confirm them with backtesting (testing your strategy on historical data).

The second mistake is ignoring the full cost of trading. Commissions and slippage reduce the effective payout coefficient b, making the trade look more attractive than it is. Make sure your b calculation honestly reflects these costs.

The third problem lives inside the full Kelly formula itself: it allows for enormous capital volatility. Drawdowns hit hard. A sensible compromise is fractional Kelly, for example half or a quarter of the calculated fraction. It noticeably smooths the equity curve at the cost of a small reduction in theoretical growth.

Approach Capital Growth Drawdowns
Full Kelly maximum theoretical very deep, hard to endure
Half Kelly slightly lower noticeably gentler
Quarter Kelly lower still smoothest of all

RISK MANAGEMENT

The basic rule stays the same: a single stop-out should cost no more than 1% of your total trading capital. The Kelly Criterion is a layer on top of this principle, not a replacement for it.

Let's look at how they coexist. Suppose the formula produces a fraction of around 40% of capital. That almost always exceeds the risk limit per trade, so that size needs to be cut down to the level at which the loss at the stop fits within your 1%. If Kelly asks for more than your risk limit allows, the limit always wins.

Set your Stop Loss at a logical price level, which is often defined by volatility measures such as Average True Range (ATR, average true range). A common starting point is 1.5x or 2x ATR below the entry price for long positions.

Use leverage cautiously. High leverage amplifies both profit and loss, and breaks the clean logic of Kelly. Keep effective leverage at a level that will not trigger a margin call (forced close due to insufficient collateral) before your Stop Loss is hit.

How to tell sensible sizing from excessive sizing: if the Kelly fraction requires risking more than 1% of capital on a single trade or pushes you into high leverage, that is a signal to cut the position, not a reason to trust the formula. A healthy calculation produces a size where the stop hits the equity curve gently and the balance curve stays smooth.

FAQ

What does the Kelly Criterion show in trading?

It shows the optimal fraction of capital to allocate to a specific trade. The calculation is based on the probability of winning and the ratio of potential profit to risk, so position size grows where you have more confidence and shrinks where you have less.

How is the Kelly fraction calculated?

The formula is f = (bp - q) / b, where f is the fraction of capital, b is the net win coefficient, p is the probability of winning, and q is the probability of losing (1 - p). For example, with p = 0.6 and b = 2, f = 0.4, meaning 40% of capital.

Why is full Kelly considered risky?

The full formula allows for very large swings in capital, and drawdowns become hard to endure. That is why many traders use fractional Kelly, for example half or a quarter of the calculated fraction, to smooth the equity curve at the cost of a small reduction in theoretical growth.

How do you combine Kelly with the 1% risk rule per trade?

The 1% rule remains primary. If the Kelly fraction requires risking more than 1% of capital at the stop, the position size is cut to the limit. Kelly is a layer on top of risk management, not a replacement for it, and whenever there is a conflict the risk limit always wins.

How do you account for commissions and slippage in the calculation?

They reduce the effective payout, so they are built into the coefficient b. If you do not do this, the formula will make the trade look more favorable than it really is and push you toward an oversized position.

Why is the probability estimate p so important?

The entire formula is very sensitive to p, and an inflated estimate leads to overbetting and rapid capital loss. That is why you use conservative probability values and confirm them with backtesting on historical data.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →