Position sizing calculator

Size a position from the loss you can accept: shares from the stop distance, the reward for the risk, and the Kelly fraction.

Risk · Stop loss · Kelly · Free

The account and the idea

The share of the account lost if the stop is hit.

Below the entry for a long, above it for a short.

0 to leave it out.

Over many such ideas

Your own estimate; nothing here can supply it.

Shares to buy

250

1.0k at risk over 4.00 a share

Position size

12.5k

12.5% of the account

Reward for the risk

3.00R

3.0k at the target against 1.0k at the stop

Expectancy a trade

0.80R

Positive: the wins outweigh the losses at this hit rate

Kelly fraction

26.7%

A share of the account to risk at the stop, against 1% now; a ceiling even if the odds were known

Straight losses to a 20% drawdown

23

At 1% a position

The account through twenty straight losses

05101520

Each loss takes the same share of a smaller account, so the fall slows and the account never reaches zero. That is the point of sizing on a fraction: a bad run costs a known amount.

Risk a position
1%
Entry
50
Stop
46

The loss at the stop assumes it fills at the stop price; a gap, slippage and commissions make it larger. Arithmetic for learning how sizing works, on numbers you supply. It is not advice to buy or sell anything.

How it works

Start from the loss the account can take on one idea, as a share of its value. Divide that amount by the loss per share if the stop is hit, the distance between entry and stop, and the result is the number of shares. The size follows from the stop and is never chosen first.

The reward for the risk is the distance to the target over the distance to the stop, written in R. With an estimate of how often such ideas work, expectancy is the hit rate times that reward, less the miss rate: the average result per trade in units of risk.

The Kelly fraction, the hit rate less the miss rate over the reward, is the share of capital that maximises long-run growth if the odds are known exactly. They never are, which is why practitioners treat it as a ceiling and size well below it.

Conventions and simplifications

Kelly here is a share of the account to lose if the stop is hit, comparable with the risk on the position, not a share of the account to hold. The loss at the stop assumes the stop fills at its price: a gap through it, slippage and commissions make the real loss larger. All of this is arithmetic for learning, on your own estimates, and not advice on any investment.

Markets and trading: learn it, then use it

How bonds, options and positions behave when prices move, and the quick arithmetic a trading floor expects.