
MALI Platform
AI Stock Research
Position Size Calculator
Decide how much of your account you are willing to lose if a trade hits its stop, and the calculator tells you how many shares that allows. A second panel works out the Kelly fraction for the win rate and payoff you expect.
Size from your stop
Shares100
Position value$5,000.00
Loss if the stop is hit$250.00
Risk per share$2.50
Position as a share of the account20.0%
Direction (from where the stop sits)Long
Gaps can move a price past a stop, so a loss can be larger than planned. Fees are not included.
Kelly fraction from your edge
Full Kelly: share of capital per trade25.0%
Half Kelly12.5%
Kelly assumes your win rate and payoff are known exactly. They rarely are, which is why many traders use half Kelly or less.
How it works
- 1The amount at risk is your account size times the share you choose to risk.
- 2Each share risks the gap between entry and stop, so the share count is the amount at risk divided by that gap, rounded down.
- 3Kelly sizes a bet as the win rate less the loss rate divided by the ratio of the average win to the average loss. When that comes out at zero or below, there is no edge to size.
Questions
- Does it work for short trades?
- Yes. A stop above the entry is read as a short position; the arithmetic is the same.
- Why half Kelly?
- Full Kelly assumes you know your edge exactly. Estimates are noisy, and betting half the Kelly fraction gives up a little growth for much smaller swings.
- Can a loss be larger than planned?
- Yes. A price can gap past a stop, so the loss at the stop is a plan, not a limit.