SpreadAtlas

Stop loss calculator: set the stop first, then the size

Decide how much of your account you can lose on one trade, then place the stop. This calculator gives the stop price and the position size that makes the loss, with fees, equal to your limit.

Try:

—

Amount at risk
—
Position size
—
Quantity
—
Loss from the price move alone
—
Fees for entering and leaving
—
Position size as a multiple of the account
—

Calculations run in your browser. Nothing you type is sent or stored. Results are estimates for information only, not investment advice.

Advertisement

How it works

The stop price comes from the distance you choose. The position size then follows from the amount you are willing to lose: the loss on a stopped trade is the size times the stop distance, plus the fees on both sides. Setting that equal to the risk amount and solving for the size gives:

Stop = entry × (1 − distance %) for a long, entry × (1 + distance %) for a short

Position size = risk amount ÷ (distance % + 2 × fee %)

Worked example

An account of 10,000, a risk of 1% and a stop 2% below an entry of 100: the stop is at 98 and the risk is 100. With a 0.1% fee per side, the position size is 100 ÷ (0.02 + 0.002) = 4,545.45, which is 45.45 coins. The price move costs 90.91 and fees 9.09, for 100 in total. The position is 0.45 times the account, so it needs no leverage.

A tight stop is not a safe stop

A narrow stop allows a bigger position for the same risk, but it is also hit by normal noise. Whether stops help at all is tested in do stop losses help?. Fast markets can also fill a stop beyond its price, so the real loss can be larger than the amount you set. For a plain size calculation without fees, see the position size calculator.

Questions

How much should I risk per trade?

There is no right number, but many traders keep it to 1% or less of the account so that a run of losses does not end the account. The risk of ruin calculator shows how risk size and win rate interact.

Why do fees change the position size?

A stopped trade pays fees on entry and exit as well as the price loss. The size has to be a little smaller to keep the total inside your limit.

What if the stop is skipped by a gap?

The order then fills at the next available price, and the loss is larger than planned. This is called slippage, and it is worse in thin markets.

More calculators