Kelly Criterion Position Sizing Calculator
Enter how often your trades win and how big wins are compared with losses; see the bet size that maximises long-run growth and what each fraction does to drawdowns.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Enter your edge
Type the win rate and the average win and average loss in money or in R.
- 2Set the account
Enter the bankroll and the distance from entry to your stop.
- 3Add a cap
Optionally limit any fraction to a maximum share of the account.
- 4Read the fractions
Compare full, half, quarter and double Kelly in money at risk and position size.
- 5Study the risk
Look at the growth curve, the median equity paths and the drawdown chances.
- 6Test your estimate
Add scenarios with a lower or higher win rate and export the tables.
Informazioni su questo strumento
The Kelly criterion answers a simple question: if you have an edge, what share of your capital should you risk on each bet so that your wealth grows as fast as possible over many bets? John Kelly derived it at Bell Labs in 1956, and Edward Thorp applied it to blackjack and then to markets. For a bet that wins with probability p and pays b times the stake, while a loss costs the stake, the answer is f* = p - (1 - p) / b. Risk less and you grow more slowly than you could; risk more and growth falls, until at twice the Kelly fraction it is zero and beyond that the account shrinks even though every bet has a positive expectation. In trading, b is your average win divided by your average loss and the stake is the amount you lose if the stop is hit, so the Kelly fraction is a share of the account to risk per trade, not the size of the position. Because full Kelly produces very deep drawdowns and because nobody knows their true win rate exactly, most practitioners use half or a quarter of it. This calculator shows full, half, quarter and double Kelly side by side, turns each into money at risk and a position size from your stop distance, plots the growth curve and runs a repeatable simulation of hundreds of trade sequences to show the drawdowns you should expect.
Growth per trade
The expected logarithmic growth per bet when you risk a fraction f is g(f) = p ln(1 + f b) + (1 - p) ln(1 - f). The curve in the first chart rises to a peak at f* and falls back to zero near 2f*. Half Kelly gives about three quarters of the maximum growth, and a quarter gives a little under half, with far smaller swings.
From fraction to position size
Money at risk is the fraction times the bankroll. To turn that into a position, divide by the distance from entry to stop: risking $1,000 with a stop 5% below the entry means a $20,000 position. Positions that are open at the same time share the same capital, so their risks add up.
Worked example
A trend system wins 45% of the time and its average win is twice its average loss, so b = 2 and f* = 0.45 - 0.55 / 2 = 0.175, or 17.5% of the account per trade. Half Kelly is 8.75%: on a $20,000 account that is $1,750 at risk, and with a 5% stop a $35,000 position. Expected growth per trade is 2.924% at full Kelly and 2.221% at half Kelly. The continuous formula gives the chance of ever falling 50% below a peak as 50% for full Kelly, 12.5% for half and 0.8% for a quarter. In the seeded simulation of 500 runs of 200 trades, a 50% drawdown happened in 100% of the full Kelly runs, 85.4% of the half Kelly runs and 10.0% of the quarter Kelly runs, because each loss at these sizes takes a big bite.
Limits
Kelly assumes the win rate and payoff are known and stay the same, and that trades are independent. Real estimates are noisy, losses can be bigger than the stop because of gaps, and a losing streak can follow a change in the market. The output is a mathematical sizing guide, not financial advice or a recommendation to trade with leverage.
Esempio svolto
45% win rate, wins twice the size of losses: full Kelly 17.5%, half Kelly 8.75%, which is $1,750 at risk on $20,000.
In breve
- Categoria: Soldi e tasse
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: J. L. Kelly Jr., A New Interpretation of Information Rate, Bell System Technical Journal (1956)
Domande frequenti
What is the Kelly formula?
f* = p - (1 - p) / b, where p is the win probability and b is the average win divided by the average loss. The result is the share of capital to risk on each bet.
Why do traders use half Kelly?
It keeps about 75% of the growth rate while cutting the depth and frequency of drawdowns a lot, and it gives a margin of safety when the win rate has been overestimated.
What does a negative Kelly fraction mean?
The bet has no edge: the expected result per unit risked is below zero. Kelly says do not take it at any size.
Is the Kelly fraction the size of my position?
No, it is the amount you risk losing. The position size is that amount divided by the distance to your stop as a percentage.
Why does betting twice Kelly give zero growth?
Because losses compound faster than gains. Near 2f* the gains from winning bets are exactly cancelled by the damage from losing ones over the long run.
Why is the simulation repeatable?
It uses a fixed random seed, so the same inputs give the same paths. Change the seed to see a different set of sequences.
