Position size calculator

How many lots to open so the planned loss at your stop-loss matches the amount you chose; slippage and gaps can make the real loss larger.

This tool needs JavaScript. The formula and a worked example are below.

Amount at risk
—
Distance to SL
—
Position size
—

Round down to your broker’s lot step. Check the contract specification — the point value differs between brokers.

Embed this tool on your site

Free to use on any website or blog: paste the code below. The tool keeps a small credit link to WICKVIPER.

<iframe src="https://wickviper.com/en/embed/position-size/" title="Position size calculator — WICKVIPER" width="100%" height="520" loading="lazy" style="border:0;max-width:640px"></iframe>

How we calculate it

Size (lots) = amount at risk ÷ (distance to SL × value of 1 point per lot). Example: a 10,000 USD account, 1% risk = 100 USD; gold, entry 4,150, SL 4,140 → a 10 USD move (100 pips) × 100 USD per lot for each 1 USD = 1,000 USD per lot → 100 ÷ 1,000 = 0.10 lots. Spread, commission and slippage come on top, so the real loss at the stop can be larger.