Kelly criterion: calculate it from your trades and choose a fraction
The Kelly criterion gives the share of your account an average losing trade can cost at the fastest long-run growth. Calculate it from your win rate and payoff ratio, see what it sizes, and choose a fraction your trade count supports.
Import your history once. Tradeways computes every number in this article on every trade you have ever taken, and keeps it current with every trade you take next.
We may email you checkout reminders, trading tips, product updates and occasional offers. Unsubscribe anytime.
MetaTrader 5 and ATAS sync on their own. Tradovate and TradingView sync through the browser extension. Every other platform arrives as a file.
We use cookies for analytics to improve Tradeways. You choose which ones we use.We use cookies, including analytics, to improve Tradeways.· Privacy
On this page7
The Kelly criterion is the share of your account to put at risk on each trade so that the account grows at the fastest possible long-run rate. For trades that either win or lose, it is Kelly % = W − (1 − W) ÷ R, where W is your win rate and R is your average win divided by your average loss. With a 45% win rate and an average win twice your average loss, Kelly is 0.45 − 0.55 ÷ 2 = 17.5%.
That 17.5% is the share of the account an average losing trade would cost, and it is a ceiling, not a target. This guide shows how to calculate it from your journal, what happens to growth on either side of it, and why the number of trades behind your win rate decides how much of it to use.
Count your winning and losing trades over the period you want to judge. Leave breakeven trades out of both counts.
Divide the winners by winners plus losers. That is W, your win rate.
Divide your total from winning trades by the number of winners, and your total from losing trades by the number of losers. These are your average win and average loss.
Divide the average win by the absolute average loss. That is R, your payoff ratio.
Calculate W − (1 − W) ÷ R.
A positive result is the most an average loss should cost, as a share of the account. A result of 0 or below means the trades measured had no edge to size: on these averages, any amount at risk lowers the account's long-run growth.
The Kelly criterion calculator runs these steps from your winning and losing trade counts and averages, applies the fraction of Kelly you choose, and shows the Kelly figure at a win rate one standard error lower.
The trader below is hypothetical. Over 44 closed trades they had 18 winners, 22 losers and 4 breakevens, on a 25,000 USD account.
Input
Calculation
Value
Win rate W
18 ÷ (18 + 22)
45%
Average win
5,400 USD ÷ 18
300 USD
Average loss
3,300 USD ÷ 22
150 USD
Payoff R
300 ÷ 150
2.0
Kelly
0.45 − (0.55 ÷ 2.0)
17.5%
At full Kelly, an average losing trade would cost 17.5% of 25,000 USD, which is 4,375 USD. Half Kelly is 2,187.50 USD and quarter Kelly is 1,093.75 USD. The trader's actual average loss of 150 USD is 0.6% of the account.
The formula treats a trade as a bet: you lose the amount you put at risk, or you win R times that amount. So the Kelly fraction sizes your average loss, not your position value and not necessarily your stop.
If your average loss equals the amount you plan to risk to your stop, the two are the same. If you often exit before the stop, your average loss is smaller than your planned risk. Say the trader above loses on average 0.8 of their planned risk. To keep the average loss at half Kelly, 8.75% of the account, their planned risk per trade would be 8.75% ÷ 0.8 ≈ 10.9%. That shows the conversion, not a size to use: the section on trade counts below shows why 40 decisive trades support far less. To convert a planned risk into a position size for your instrument, use the position size calculator.
Kelly maximizes growth, but near the peak the growth curve is flat while the drawdowns keep growing with the fraction. The long-run growth per trade at a fraction f of the account is W × ln(1 + f × R) + (1 − W) × ln(1 − f). For the example:
Fraction of Kelly
Average loss costs
Growth, share of full Kelly
Five losses in a row cost
Quarter
4.375%
45%
20.0%
Half
8.75%
76%
36.7%
Full
17.5%
100%
61.8%
One and a half
26.25%
77%
78.2%
Double
35%
6%
88.4%
Each loss in the last column costs the fraction of what the account holds at that point. Half Kelly keeps 76% of the growth rate and cuts the cost of five straight losses from 61.8% of the account to 36.7%. One and a half times Kelly grows about as fast as half Kelly, with more than twice the drawdown from the same streak. At double Kelly, growth is close to zero, and above about 35.6% it turns negative: the account shrinks over time even though every trade has a positive expected value. Below Kelly you give up some growth for smaller drawdowns; above it you give up about the same growth and take larger drawdowns.
Five losses in a row is not a rare event at this win rate. With a 55% chance of losing each decisive trade, and trades independent of each other, the chance of at least one run of five or more losses is about 62% over 40 trades and about 92% over 100, by direct calculation.
Hypothetical trader. Half Kelly and one and a half times Kelly grow at about the same rate, but the larger fraction carries far deeper drawdowns, and growth turns negative just above double Kelly.
John Kelly's 1956 paper A New Interpretation of Information Rate, read on 16 October 2026, defines the long-run growth rate this formula is built on and shows that, for even-money bets, it is maximized by betting the win probability minus the loss probability, the formula above with R = 1. The same paper shows that betting the whole bankroll every time leaves a gambler who keeps betting broke with probability one.
Your win rate is an estimate from a limited number of trades. Its standard error is √(W × (1 − W) ÷ n), where n is the number of winners plus losers. For the example's 40 decisive trades, that is √(0.45 × 0.55 ÷ 40) ≈ 7.9 percentage points.
A win rate one standard error lower, 37.1%, with the same payoff ratio gives a Kelly of 0.3713 − 0.6287 ÷ 2 ≈ 5.7%. If that were the true win rate, sizing at the measured 17.5% would be about three times Kelly, and the growth rate at that size is negative. So 40 trades at a 45% win rate cannot rule out that full Kelly shrinks the account.
The table keeps the measured win rate at 45% and the payoff ratio at 2.0, and changes only the number of decisive trades.
Decisive trades
Standard error
Win rate one error lower
Kelly at that win rate
40
7.9 points
37.1%
5.7%
100
5.0 points
40.0%
10.0%
200
3.5 points
41.5%
12.2%
400
2.5 points
42.5%
13.8%
The payoff ratio is an estimate too, and a few large winners can move it. Sizing to the Kelly figure of a pessimistic win rate keeps you below the peak when your estimates turn out high. Half Kelly is not automatically safe: at 40 trades, the example's half Kelly of 8.75% is still above the 5.7% from a win rate one standard error lower. Growth at 8.75% would still be positive at that win rate, but you would be past its peak, taking larger drawdowns for less growth.
Breakeven trades. A trade that closes at exactly zero leaves the account unchanged, so it does not move the fraction that maximizes growth. It only lowers the growth per trade, because fewer trades decide the outcome. That is why breakevens stay out of both W and R. If your breakevens are small losses after fees, they belong with the losers. In Tradeways, a breakeven threshold moves small wins and losses into breakeven. If it moves losing trades you want counted as losses, lower it before you read the Kelly figure.
Trades of different sizes. The formula assumes every win equals the average win and every loss equals the average loss. Real trades vary. If the example's winners were split between 100 USD and 500 USD, still averaging 300 USD, the fraction that maximizes long-run growth over those outcomes is about 14.5%, not 17.5%. In this example, the spread in winners lowers the optimum by 3 percentage points, one more reason to size below the formula.
The Kelly criterion widget on a Tradeways dashboard, described in the widgets documentation, uses:
Trades: closed trades in the dashboard's account scope and global filter.
Win rate: winners divided by winners plus losers, among trades with a known P&L. Breakeven trades, including any your breakeven threshold reclassifies, count in neither.
Payoff ratio: the average winner divided by the absolute average loser, in account-currency P&L, shown on the card as R:R. This is the realized ratio from your closed trades, not the reward-to-risk you planned at entry.
Kelly: W − (1 − W) ÷ R, shown as a percentage. The card shows full Kelly; halve or quarter it yourself.
For the example's 44 trades, the card shows 17.5% with "45% WR · 2.00 R:R", and the average win and loss below. A negative figure means the trades in that scope had no edge on these averages. The card shows "—" when the scope has no winners or no losers.
Because the widget follows the global filter, you can read a separate Kelly figure for one strategy, symbol, or time of day. Each filtered figure rests on fewer trades, so check its trade count against the table above before you size to it. A Monte Carlo simulation shows what a chosen fraction does across different orderings of the same trades, the risk of ruin is the chance that a fraction takes the account down to a drawdown threshold you set, and position sizing covers fixed-fractional sizing.
The Kelly fraction describes past results and does not predict the next trade. Read the Tradeways risk disclosure before you use it to size a position.