Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Kelly Criterion explained: formula, worked example and common mistakes

Find the mathematically optimal position size for each trade based on your win rate and payoff ratio. The formula professional gamblers and traders use. Free, no sign-up, your numbers stay in your browser.

Updated

What is the Kelly criterion?

The Kelly criterion is a mathematical formula that calculates the optimal fraction of your capital to risk on a single bet or trade, given your probability of winning and the size of your typical win relative to your typical loss. It was developed by John L. Kelly Jr. at Bell Labs in 1956, originally for analyzing long-distance telephone signal noise, but it was quickly adopted by professional gamblers and later by investors and traders as the theoretically optimal position-sizing method.

The core insight of the Kelly criterion is that there is an optimal bet size that maximizes the long-term growth rate of your capital. Bet too small, and you leave growth on the table. Bet too large, and the variance of outcomes causes you to go broke before the positive expected value can compound. The Kelly fraction is the sweet spot — the exact bet size that maximizes the geometric growth rate of your bankroll over many bets.

The formula is deceptively simple:

K = W - (1 - W) / R

Where:

  • K = Kelly fraction (the percentage of your capital to bet)
  • W = win probability (as a decimal, e.g. 0.55 for 55%)
  • R = win/loss ratio (average win ÷ average loss)

If K comes out negative, the bet has negative expected value — the formula is telling you not to bet. A K above 1 is the formula asking for more than the whole bankroll, which takes leverage to do at all.

A concrete example makes the formula intuitive. Suppose your trading strategy wins 55% of the time, your average win is 2, and your average loss is 1. The win/loss ratio is 2.0.

K = 0.55 - (1 - 0.55) / 2.0
K = 0.55 - 0.45 / 2.0
K = 0.55 - 0.225
K = 0.325

So the Kelly criterion says the formula puts 32.5% of your capital on each trade. That is a massive position size — far larger than the 1-2% that most risk management guidelines recommend. This is the central tension of the Kelly criterion: it is mathematically optimal for long-term growth, but the drawdowns along the way are brutal. A 32.5% per-trade risk means a string of 3 losses (which is common) costs you nearly 70% of your capital.

This is why almost all practitioners use fractional Kelly — betting a fraction of the Kelly-recommended amount. Half-Kelly (16.25% in the example) is the most common, because it cuts the variance dramatically while still capturing 75% of the optimal growth rate. Quarter-Kelly (8.125%) is even safer and is closer to what most professional traders actually use. Full Kelly has been attributed to investors making very few, very high-conviction bets; it assumes the win rate and the payoff ratio are known rather than estimated, which is rarely the case.

The other major caveat is that the Kelly formula assumes you know your true win probability and payoff ratio. In reality, these are estimated from historical data, which is noisy and may not reflect future performance. If you overestimate your edge, Kelly will tell you to bet too much, and the resulting drawdowns can be catastrophic. Conservative position sizing — 1% fixed fractional risk — is safer than Kelly for traders without a long, well-documented track record.

The Kelly criterion formula

The Kelly criterion for a binary outcome (win or lose) is:

K = W - (1 - W) / R

Or equivalently:

K = (W × R - (1 - W)) / R
K = (W × (R + 1) - 1) / R

Where:

  • K = Kelly fraction (decimal — multiply by 100 for percentage)
  • W = win probability (decimal — e.g. 0.55 for 55%)
  • R = win/loss ratio = average win ÷ average loss

Worked example 1: Symmetric payoff, edge from win rate

You win 55% of trades. Average win = average loss = 1,000. So R = 1.0.

K = 0.55 - (1 - 0.55) / 1.0
K = 0.55 - 0.45
K = 0.10 = 10%

Full Kelly is 10% of capital per trade. Half-Kelly is 5%. Quarter-Kelly is 2.5%. Most retail traders would still consider 2.5% too aggressive; the conservative fixed-fractional 1% rule is essentially one-tenth Kelly.

Worked example 2: Asymmetric payoff, lower win rate

You win 40% of trades. Average win = 3,000. Average loss = 1,000. So R = 3.0.

K = 0.40 - (1 - 0.40) / 3.0
K = 0.40 - 0.60 / 3.0
K = 0.40 - 0.20
K = 0.20 = 20%

Full Kelly is 20% per trade. Half-Kelly is 10%. This shows that the Kelly criterion rewards favorable payoff ratios — even with a sub-50% win rate, a strong win/loss ratio produces a high Kelly fraction.

Worked example 3: Negative expected value

You win 45% of trades. Average win = average loss = 1,000. R = 1.0.

K = 0.45 - (1 - 0.45) / 1.0
K = 0.45 - 0.55
K = -0.10 = -10%

Negative Kelly means negative expected value. The formula is telling you to pass. This is one of the most useful features of the formula — it tells you when to walk away.

Multi-outcome Kelly (for traders with multiple scenarios):

For trades with more than two outcomes (e.g., a small win, a big win, a small loss, a big loss), the formula generalizes to:

K = expected return / variance of returns

This requires more inputs and is rarely used in practice. The binary Kelly formula above is the version 99% of traders use.

Growth rate under Kelly:

The theoretical long-term growth rate of your capital under full Kelly is:

g = W × ln(1 + K × R) + (1 - W) × ln(1 - K)

Where ln is the natural logarithm. For Worked Example 2 above:

g = 0.40 × ln(1 + 0.20 × 3) + 0.60 × ln(1 - 0.20)
g = 0.40 × ln(1.60) + 0.60 × ln(0.80)
g = 0.40 × 0.470 + 0.60 × (-0.223)
g = 0.188 - 0.134
g = 0.054 = 5.4% per trade

So with full Kelly, your capital grows at 5.4% per trade over the long run — a strong expected growth rate, but accompanied by high variance (frequent large drawdowns).

The calculator runs these calculations and lets you adjust between full Kelly, half-Kelly, and quarter-Kelly so you can see the trade-off between growth rate and drawdown risk.

When to use a Kelly criterion calculator (and when not to)

Use this calculator when:

  • You have a documented trading track record with enough trades (50+) to estimate your true win rate and payoff ratio.
  • You want to know whether your edge justifies the position size you’ve been using.
  • You are comparing multiple trading strategies and want to size each according to its Kelly fraction.
  • You want to understand why your position sizing feels too aggressive or too conservative given your edge.
  • You are mathematically inclined and want to optimize long-term capital growth.

When NOT to use this calculator:

  • If you don’t have a documented track record, you cannot estimate your win rate or payoff ratio with any confidence. Kelly without accurate inputs is worse than no Kelly at all. Use fixed fractional position sizing (1% per trade) instead.
  • If your trades are correlated (multiple positions in the same sector, or all long the market), the Kelly formula overstates optimal size because it assumes independent bets. Reduce position size further when trades are correlated.
  • If you trade with leverage, the Kelly formula needs adjustment because leverage amplifies both wins and losses. Kelly assumes you can only lose your bet amount — with leverage, you can lose more.
  • If your edge varies across trade types (different win rates for different setups), you need separate Kelly calculations for each setup, not a single Kelly for your whole strategy.
  • If you trade options or other asymmetric payoff instruments, the binary Kelly formula does not apply — use the general multi-outcome Kelly formula instead.

Common mistakes people make

1. Using Kelly without a documented track record. The formula’s accuracy depends entirely on the accuracy of your win rate and payoff ratio inputs. If you estimate these from intuition or from a small sample of recent trades, you’ll get a Kelly fraction that’s wildly off — usually too high, because most traders are overconfident about their edge. Document 100+ trades before trusting Kelly sizing.

2. Using full Kelly in practice. Full Kelly produces drawdowns of 30-50% even with a positive expected value strategy. Most professional traders use half-Kelly or quarter-Kelly to reduce variance. The growth rate sacrifice is modest (half-Kelly captures about 75% of full Kelly’s growth rate); the drawdown reduction is dramatic.

3. Treating Kelly as a license to overleverage. A Kelly fraction above 50% doesn’t mean “bet 50%+ per trade” — it means the edge is so large that the optimal bet exceeds practical limits. Cap your position size at 5-10% regardless of what Kelly suggests.

4. Assuming trades are independent. The Kelly formula assumes each bet’s outcome is independent of previous bets. In trading, this is rarely true — if you have 5 long positions in tech stocks, they’re all exposed to the same sector risk. Treat correlated positions as a single bet, not five independent bets, when calculating Kelly.

5. Updating Kelly too frequently. Your true edge doesn’t change much from week to week, but your recent win rate will swing wildly due to short-term variance. Recalculating Kelly every week based on the last 10 trades leads to erratic position sizing. Update Kelly quarterly based on a sample of at least 50 trades.

6. Forgetting that Kelly assumes you can rebet indefinitely. The Kelly formula optimizes long-term growth assuming you can keep making the same bet indefinitely. In real trading, your edge erodes over time as markets change, new competitors enter, or your strategy gets crowded. Kelly sizing with a stale edge estimate will lead to losses.

Frequently asked questions

What is the Kelly criterion?

The Kelly criterion is a mathematical formula that calculates the optimal fraction of your capital to risk on a single bet or trade, given your probability of winning and the size of your typical win relative to your typical loss. It maximizes the long-term growth rate of your capital.

What is the Kelly formula?

K = W - (1 - W) / R, where K is the Kelly fraction, W is the win probability, and R is the win/loss ratio (average win ÷ average loss). A negative K means the bet has negative expected value, and the formula returns nothing to stake.

What is half-Kelly?

Half-Kelly is betting half of the Kelly-recommended amount. It captures about 75% of the optimal growth rate while dramatically reducing variance and drawdowns. Most professional traders use half-Kelly or quarter-Kelly rather than full Kelly.

What is a good Kelly fraction?

For most retail trading strategies, the Kelly fraction is between 5% and 25%. Anything above 25% suggests either an exceptionally strong edge or an overestimate of your win rate. Anything below 5% suggests a marginal edge that may not survive transaction costs.

Is Kelly better than fixed fractional position sizing?

Theoretically yes — Kelly maximizes long-term growth. Practically, Kelly requires accurate estimates of win rate and payoff ratio, which most traders don't have. Fixed fractional sizing (1% per trade) is simpler, more robust to estimation errors, and safer for traders without a long track record.

Can Kelly be negative?

Yes. If your win rate is too low relative to your payoff ratio, the Kelly formula returns a negative number. This means the bet has negative expected value and the formula is telling you to pass. Negative Kelly is a useful signal — it tells you to walk away from a marginal or losing strategy.

Does Kelly work for investing (not just trading)?

Kelly can be applied to any bet with a probability distribution of outcomes, including long-term investing. Warren Buffett's concentrated portfolio has been described as approximate Kelly sizing — betting big on high-conviction positions. However, estimating win probability for a 10-year investment thesis is much harder than for a 1-week trade, which limits Kelly's practical use for long-term investing.

What is the difference between Kelly and Markowitz portfolio optimization?

Kelly maximizes long-term geometric growth (compounding). Markowitz mean-variance optimization maximizes risk-adjusted return (Sharpe ratio). For long horizons, Kelly and Markowitz converge on similar portfolios. For short horizons or when leverage is involved, they diverge — Kelly favors higher-variance portfolios with higher expected returns.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Kelly Criterion Calculator”. Updated 2026-10-27. https://investmentmathcalculator.com/guides/kelly-criterion-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.