Kelly Position Sizing Calculator
The Kelly Position Sizing Calculator helps traders determine the optimal position size for a bet based on the Kelly Criterion, a mathematical approach to maximizing long-term growth while controlling risk.
What is the Kelly Criterion?
The Kelly Criterion is a formula developed by mathematician John L. Kelly Jr. that calculates the optimal size of a bet to maximize wealth growth over time. It balances risk and reward by considering both the probability of winning and the size of the potential gain.
Key points about the Kelly Criterion:
- It's a mathematical approach, not a guarantee of success
- It assumes independent, identically distributed bets
- It doesn't account for transaction costs or leverage
- It can be applied to various scenarios beyond gambling
The Kelly Criterion is often criticized for being too aggressive. In practice, traders typically use a fraction of the calculated size to account for market volatility and other real-world factors.
How to Use This Calculator
Using the Kelly Position Sizing Calculator is straightforward:
- Enter the probability of winning (as a decimal between 0 and 1)
- Enter the size of the potential gain (as a decimal)
- Enter the size of the potential loss (as a decimal)
- Click "Calculate" to see your optimal position size
The calculator will display the optimal position size as a percentage of your total capital. You can adjust the inputs to see how different probabilities and payouts affect the recommended position size.
The Formula
The Kelly Criterion formula is:
f* = (bp - q) / b
Where:
- f* = optimal position size (fraction of capital)
- b = size of the potential gain (as a decimal)
- p = probability of winning (as a decimal)
- q = probability of losing (1 - p)
For example, if you have a 60% chance of winning (p = 0.6) and a potential gain of 100% (b = 1.0), the calculation would be:
f* = (1.0 × 0.6 - 0.4) / 1.0 = (0.6 - 0.4) / 1.0 = 0.2
This means the optimal position size is 20% of your capital.
Worked Example
Let's say you're considering a trade where:
- Probability of winning: 55%
- Potential gain: 120% (b = 1.2)
- Potential loss: 100% (q = 1.0)
Using the formula:
f* = (1.2 × 0.55 - 0.45) / 1.2 = (0.66 - 0.45) / 1.2 = 0.21 / 1.2 = 0.175
This means the optimal position size is 17.5% of your capital.
In practice, you might choose to use only 10-15% of your capital for this trade to account for market volatility and other risks.
Frequently Asked Questions
Is the Kelly Criterion always the best strategy?
No, the Kelly Criterion provides the mathematically optimal position size under ideal conditions. In real trading, you should adjust the position size based on your risk tolerance and market conditions.
Can I use the Kelly Criterion for all types of bets?
The Kelly Criterion works best for independent, identically distributed bets. It may not be appropriate for correlated bets or situations with significant transaction costs.
What if I don't know the exact probability of winning?
You can use historical data, market analysis, or expert opinions to estimate the probability. Remember that the Kelly Criterion is most effective when you have a reasonable estimate of the win probability.