Kelly Criterion Calculator

How much of your account should you risk on each trade? This Kelly calculator works out full Kelly, half Kelly and quarter Kelly from your win rate and your average win, and shows what each one costs in drawdowns.

This calculator uses the numbers you enter. It shows what can happen, not what will happen.

Your trading record

How many of every 100 trades you win.
1.5 means a winning trade makes 1.5 times what a losing trade costs. Also called the reward-to-risk ratio.
How many trades the results cover, up to 1,000.

Not sure of your win rate or your average win? Paste your trade results and the page works them out for you.

The risk you take now

The share of your account you lose when a trade hits its stop-loss. Leave blank to skip the comparison.

Optional

How many trades you counted to get your win rate. The calculator then shows how far the answer can be trusted. Leave blank to skip.
To see each size as an amount of money, in your account’s currency. Leave blank to skip.

Starts with an example trader. Results update as you change the inputs.

Your Kelly percentage

Your result will appear here when the calculator loads.

Work out Kelly from your own trade results

Put a minus sign in front of a loss, or write it in brackets. Use money or pips, as long as every trade uses the same unit and you risked about the same on each. You can paste a column from a spreadsheet or a broker statement.

What is the Kelly criterion?

The Kelly criterion is a formula for sizing a bet or a trade. It gives the share of your money to risk each time so that, over many trades, the account grows as fast as it can. Risk less than that share and the account grows more slowly. Risk more and it also grows more slowly, with bigger swings, and past a certain point it shrinks.

It is named after John Kelly, a researcher at Bell Labs, who published it in 1956. Gamblers used it first, then investors and traders. You will also see it called the Kelly formula, the Kelly rule, the Kelly bet or the Kelly system. They all mean the same thing.

Kelly needs two numbers from you: how often you win, and how big your average win is compared with your average loss. The answer is only as good as those two numbers.

The Kelly formula

Kelly % = win rate − (loss rate ÷ average win)

  • Win rate is the share of your trades that win, written as a decimal. The loss rate is the rest.
  • Average win is how many times bigger your average winning trade is than your average losing trade. If you win USD 150 on average and lose USD 100 on average, it is 1.5.

Take the trader in the calculator. They win 45% of their trades, and a winning trade makes 1.5 times what a losing trade costs. 0.45 − (0.55 ÷ 1.5) = 0.45 − 0.367 = 0.083, so full Kelly is 8.33% of the account risked on each trade.

The same formula is often written as edge ÷ odds. The edge is what an average trade makes, as a multiple of the amount risked. For this trader it is 0.45 × 1.5 − 0.55 = 0.125. Divide it by the average win, 1.5, and the answer is the same 0.083.

Full Kelly, as a share of the account risked on each trade
Win rateAverage win 0.5 × the loss1 ×1.5 ×2 ×3 ×
30%No edgeNo edgeNo edgeNo edge6.67%
40%No edgeNo edgeNo edge10%20%
50%No edgeNo edge16.67%25%33.33%
60%No edge20%33.33%40%46.67%
70%10%40%50%55%60%

“No edge” means the formula gives zero or a negative number. Those trades break even or lose money on average, and Kelly’s answer is not to take them. No way of sizing a trade can turn a losing record into a winning one.

The Kelly formula for a bet

For a bet, the formula is usually written with the odds:

Kelly % = (b × p − q) ÷ b

Here p is the chance of winning, q is the chance of losing, and b is what a winning bet pays for each unit staked (the decimal odds minus 1). A bet at even money that wins 60% of the time gives (1 × 0.60 − 0.40) ÷ 1 = 0.20, so the Kelly bet is 20% of the bankroll, the money set aside for betting.

It is the same formula as the one for trades. To use the calculator for a bet, enter the chance of winning as the win rate and b as the average win.

To work Kelly out from a list of your own trades, use the trade results tool under the calculator.

Full Kelly, half Kelly and quarter Kelly

Full Kelly grows an account fastest, but the ride is rough. That is why many traders who use Kelly risk only a part of it. Half Kelly is half the Kelly percentage, and quarter Kelly is a quarter of it. Risking a set part of Kelly like this is called fractional Kelly.

Here is the example trader over 200 trades. Full Kelly is 8.33% a trade.

The example trader at different shares of Kelly, over 200 trades (45% win rate, wins of 1.5 times the risk)
Share of KellyRisk per tradeTypical resultTypical worst drawdownChance of a 50% drawdown
Quarter Kelly2.08%+57%23%About 1%
Half Kelly4.17%+117%42%About 29%
Full Kelly8.33%+180%70%About 94%
1.5 × Kelly12.5%+118%87%More than 99%
2 × Kelly16.67%+3%95%More than 99%

The typical result is what the account makes if exactly 45% of the 200 trades win. A drawdown is a fall in the account from a high point. The typical worst drawdown is the deepest fall in a run that is neither lucky nor unlucky: half of the runs had a deeper one.

At full Kelly this trader should expect the account to fall about 70% from a high at some point in 200 trades, and a fall of 50% is close to certain. Very few people can keep trading the same way through that. At half Kelly the typical worst drawdown is 42%, and at quarter Kelly it is 23%.

The price of the smoother ride is slower growth, but less than you might expect. Half Kelly keeps about 75% of full Kelly’s growth rate, so the account takes about a third longer to reach the same balance. Quarter Kelly keeps about 44%.

Risking more than Kelly: more risk for less growth

Below full Kelly, taking more risk buys more growth. Above it, more risk buys less. At 1.5 times Kelly the example trader’s typical result is +118%, about the same as half Kelly’s +117%, but the typical worst drawdown is 87% instead of 42%.

At twice Kelly the typical result is +3%. Almost all of the growth is gone. Past 16.78% a trade the account shrinks over time, even though the trades still make money on average.

The reason is that losses weigh more than gains of the same size. An account that loses 50% needs a gain of 100% to get back to where it was. The bigger each trade, the more the losing trades take out of the balance that the next winning trade has to work with. The Forex Drawdown Calculator shows the gain needed to recover from any loss.

If your win rate is lower than you think

The Kelly formula assumes you know your win rate and your average win exactly. Nobody does. They come from past trades, and the next 200 trades will not match them.

Suppose the example trader works out Kelly from a 45% win rate, but the win rate they really get is lower. The average win stays at 1.5 times the risk.

Typical result after 200 trades when Kelly was worked out from a 45% win rate
Real win rateRisking full Kelly (8.33%)Half Kelly (4.17%)Quarter Kelly (2.08%)
45%+180%+117%+57%
43%+23%+44%+28%
42%−18%+17%+15%
41%−46%−5%+4%
40%−64%−23%−6%

A win rate just three points lower than expected turns full Kelly from +180% into a loss of 18%, while half Kelly still makes 17%. At 40% the trades only break even, and the bigger the trades, the faster the account falls. The calculator draws the same picture for your own numbers, in the chart “If your win rate is lower than you think”.

This is the main reason to use a part of Kelly. A number that is a little too high is expensive at full Kelly and cheap at half or quarter Kelly. There are others:

  • The drawdowns. A plan only works if you can keep to it, and few traders keep to a plan through a 70% fall.
  • Wins and losses are not all the same size. The formula uses averages. One loss much bigger than planned, from slippage or a price gap, does more damage than the formula allows for.
  • Loss limits. The seven firms in our Forex prop firms comparison allow a maximum loss of 7% to 10%. At 8.33% a trade, one or two losing trades would end a challenge, the test account a firm asks a trader to pass before it funds them.

Kelly and position sizing in Forex

Kelly gives a share of your account to risk. It does not give a trade size. Risk here means what you lose if the trade hits its stop-loss, not the margin and not the full value of the position.

To turn a risk percentage into a trade size you also need the distance to your stop-loss. The Position Size and Lot Size Calculator does that sum: enter the Kelly percentage, or the part of it you have chosen, as the risk, and it gives the lots to trade.

Two more things to keep in mind:

  • Kelly is for one trade at a time. If you hold several trades at once, and they are in pairs that tend to move together, their risks add up. Compare the total with your Kelly percentage, not each trade alone.
  • Leverage decides what is possible, not what is wise. A broker’s leverage may let you open a trade many times bigger than Kelly would. The Margin and Leverage Calculator shows the leverage a trade really uses.

Kelly and risk of ruin

On paper, an account that risks a share of its balance on each trade can never reach zero, because every loss takes only a part of what is left. That is no comfort in practice. Ruin for a real trader is a loss they cannot or will not come back from, and full Kelly gets there often.

Say ruin means losing 40% of the starting balance. Within 200 trades, the example trader’s risk of ruin is about 1% at quarter Kelly, about 16% at half Kelly and about 50% at full Kelly. The Account Survival Calculator works this out for your own numbers and your own ruin level.

How traders use Kelly in practice

  • They treat full Kelly as a ceiling. It is the most that is worth risking, not a target. Anything above it adds risk and takes away growth.
  • They risk a part of it. Half Kelly or less leaves room for a win rate that turns out lower than expected.
  • They measure their own numbers. A win rate and an average win from a few hundred of your own trades are worth more than a guess. The Win Rate Calculator works out both from a count or a list of your trades, and shows how far a short record can be trusted. The Free Trading Journal keeps the record for you.
  • They count every cost. Spread, commission, slippage and overnight swaps make the average win smaller and the average loss bigger, and both lower Kelly. The Forex Profit Calculator shows a trade after costs.
  • They work it out again. Markets change and so does a trader’s record. A Kelly percentage from last year’s trades may not fit this year’s.

Common questions

What is the Kelly criterion?

The Kelly criterion is a formula that gives the share of an account to risk on each trade or bet so that the account grows as fast as possible over many trades. It uses two numbers: how often you win, and how big your average win is compared with your average loss. It was published by John Kelly in 1956.

What is the Kelly formula?

Kelly % = win rate − (loss rate ÷ average win), where the average win is measured in multiples of the average loss. A trader who wins 45% of the time, with wins 1.5 times the size of losses, gets 0.45 − (0.55 ÷ 1.5) = 0.083, or 8.33% of the account risked on each trade.

What is half Kelly?

Half Kelly means risking half of the Kelly percentage on each trade. It keeps about 75% of full Kelly’s growth rate with much smaller drawdowns. For a trader whose full Kelly is 8.33%, half Kelly is 4.17% a trade and quarter Kelly is 2.08%. Risking a set part of Kelly like this is called fractional Kelly.

Should traders risk full Kelly?

Most do not. Full Kelly gives the fastest growth only if your win rate and average win are exactly right, and it brings very deep drawdowns. For a trader with a 45% win rate and wins of 1.5 times the risk, the typical worst drawdown over 200 trades is about 70% at full Kelly, 42% at half Kelly and 23% at quarter Kelly.

What does a negative Kelly percentage mean?

A negative Kelly percentage means the trades lose money on average: the wins are too few or too small to cover the losses. Kelly’s answer is not to take those trades. Changing the size of the trades cannot fix it. The win rate or the average win has to improve first.

How many trades do I need before I can trust my Kelly percentage?

More than most traders expect. A trader whose real win rate is 45% will see anything from about 27% to 63% over 30 trades, nineteen times in twenty. Over 300 trades that narrows to about 39% to 51%. A few points change Kelly a lot, so treat a number from a short record as a rough guide and risk only a part of it.

Does the Kelly criterion work for betting?

Yes. It was first used for betting, and the formula is the same: Kelly % = (b × p − q) ÷ b, where p is the chance of winning, q is the chance of losing and b is the decimal odds minus 1 (what a winning bet pays for each unit staked). A bet at even money that wins 60% of the time gives a Kelly bet of 20% of the bankroll.

Can I find my Kelly numbers on a demo account?

Yes. Trade a demo account with virtual funds, keep a record of every trade, and work out your win rate and average win from it. Demo fills are simulated, so the spread and slippage can differ from a live account. If you hold trades overnight, make sure the demo charges current swap rates, because old rates give an unrealistic profit and loss.

Find your own numbers on a demo account first

The Kelly formula is only as good as the win rate and the average win you give it. A demo account lets you find them with virtual funds. Trade your plan for a few months, keep a record of every trade, and then enter your real numbers.

Demo fills are simulated, so the spread and slippage can differ from a live account. If you hold trades overnight, make sure the demo charges current swap rates, because old rates give an unrealistic profit and loss.

Find a Forex demo account

More tools: Position Size Calculator for how many lots to trade, Account Survival Calculator for your risk of ruin, Forex Drawdown Calculator for what a losing run does to your balance, Risk Reward Calculator for the win rate a trade needs to break even, Win Rate Calculator for your win rate and profit factor, Forex Profit Calculator for the profit or loss on one trade, Margin and Leverage Calculator for the margin a trade needs, Forex Compounding Calculator for account growth over time, Free Trading Journal to log every trade and see what your trades add up to and Pip Calculator for what one pip is worth.

How the calculation works and its limits

Full Kelly is your win rate minus your loss rate divided by your average win, with the rates written as decimals. Half Kelly and quarter Kelly are a half and a quarter of that figure. If the answer is zero or less, the calculator shows 0%. The same sum is often written as the edge divided by the average win: for the example trader, 0.125 ÷ 1.5.

The calculator assumes you risk a share of your balance at the time, so trades get smaller after losses and bigger after wins. A loss takes your risk percentage off the balance, and a win adds your risk multiplied by your average win.

The typical result is what the account makes when the wins come at exactly your win rate. With this way of sizing trades, the order of the wins and losses does not change it. A result of ten times the starting balance or more is shown as a multiple, such as ×12. The growth rate is the average growth per trade over a long run, and “the account shrinks above” is the risk per trade at which that average is zero.

The chance of a 50% drawdown is counted exactly. The fall from the last high depends only on the wins and losses since that high, so the calculator follows every possible count of them, trade by trade, and adds up the chance of each one that takes the balance to half of an earlier high. A very small risk over many hundreds of trades would take too long to count; the calculator then estimates the chance from the random runs below and says so under the table.

For the typical worst drawdown, the calculator runs your trades up to 5,000 times, with each trade a win or a loss chosen at random at your win rate. The typical worst drawdown is the middle value of the deepest fall from a high in each run. Every level of risk uses the same runs, and the same inputs always give the same answer. An estimate from 5,000 runs can be a point or two away from the true figure. Above 200 trades the calculator uses fewer runs, down to 1,000, and an estimate can then be about three points away.

The chart “If your win rate is lower than you think” keeps each size as worked out from the win rate you entered, and shows the typical result if the win rate you really get is lower. Results above +300% are cut off at the top of that chart.

If you say how many past trades your win rate comes from, the calculator works out the range the real win rate is likely to be in, nineteen times in twenty, and the Kelly percentage at each end of that range. It treats your average win as exact, so the real range is wider.

A comma is read as a decimal point, so 45,5 is 45.5. An account balance, if you enter one, is only used to show each size as an amount of money.

The tool for your own trade results counts a profit as a win and a loss as a loss, and leaves out trades that broke even. It divides the average win by the average loss and puts the result in the Kelly formula. It assumes you risked about the same amount on each trade. It reads thousands written with a comma, a space or a full stop, losses written in brackets, and leaves out dates, currency names and a heading. When every line holds more than one entry, it takes the last one on each line.

Real trading differs from all of this. Wins and losses are not all the same size, results come in good and bad spells, costs change, and a fast market can fill a stop-loss at a worse price than you set. It is an educational tool, not advice or a prediction. Read the risks.

Kelly Criterion Calculator · free from ForexDemo.com