Position size calculator
Work out how big to trade so a stopped-out loss is the amount you planned to risk, fees included. For crypto, forex and stocks.
By Ayoub, founder of QuanlioUpdated
Position size
1.1717coins
Stop distance 40 per coin
Worked out on this page. Nothing you type is sent anywhere.
How it works
Your risk is your balance times the percentage you are willing to lose, say 1%. The distance from entry to stop is how far price can go against you.
Position size is your risk divided by that distance plus the fees you pay to get in and out. Counting fees means a stopped-out trade loses what you planned, not a little more.
For forex, the distance is counted in pips, and each pip on a standard lot of 100,000 units is worth a fixed amount of the quote currency, converted to your account currency.
Worked example
A $5,000 account risking 1% can lose $50.
Long at 2,450 with a stop at 2,410 is a 40 point stop.
A 0.055% taker fee on entry and exit adds 2.673 per coin.
50 ÷ 42.673 = 1.1717 coins, worth about $2,871.
At 10x leverage that ties up $287 of margin.
Before you pick the leverage, check that liquidation sits beyond your stop with the liquidation price calculator.
The calculator also shows a 2R target. To see what it is worth after fees, use the risk reward calculator.
Position size formula for stocks
For stocks, position size is your dollar risk divided by the distance from entry to stop, rounded down to whole shares.
A $10,000 account risking 1% can lose $100.
Long at $50 with a stop at $48 is a $2 stop.
100 ÷ 2 = 50 shares, worth $2,500.
If your broker charges a fee, enter it as a percentage per side and the calculator takes it out of the same $100.
Forex position size (lots and pips)
Forex sizes in lots of 100,000 units. On a pair quoted in US dollars, like EUR/USD, one pip (0.0001) on one lot is worth 10 US dollars.
A $10,000 account risking 1% can lose $100.
Long EUR/USD at 1.0850 with a stop at 1.0830 is a 20 pip stop, so one lot would lose $200.
100 ÷ 200 = 0.50 lots, or 50,000 units.
For a pair quoted in another currency, the calculator asks how many dollars one unit of that currency is worth.
How much of my account should I risk per trade?
A common rule of thumb is 1% to 2% of your account per trade. The point is survival: every strategy has losing streaks, and a small risk keeps any one streak from doing lasting damage.
Ten losses in a row at 1% leave you with about 90% of your account. At 5% per trade the same streak leaves about 60%, and you then need a 67% gain just to get back to where you started.
Pick a number you can keep to on every trade. A rule only helps if you follow it, so journal your trades and check whether you kept to your risk rule. If you are choosing a journal for that, compare Quanlio with Edgewonk, TraderSync and TradeZella.
Questions
Does leverage change my risk?
No. Your stop and your position size set the risk. Leverage only changes how much margin the position ties up. That holds as long as liquidation sits beyond your stop.
Why count fees?
On a tight stop, entry and exit fees can be a large share of the loss. Leave them out and every stopped-out trade loses more than you planned.
My forex pair is not quoted in USD. What do I enter?
Enter how many US dollars one unit of the quote currency is worth. The calculator does not fetch live rates, so nothing you type leaves this page.
What is a good risk per trade?
A common rule of thumb is 1% to 2% of your account on each trade, and less while a strategy is unproven. What matters most is using the same rule on every trade.
How do I calculate position size for stocks?
Divide the amount you are willing to lose by the distance from your entry to your stop, then round down to whole shares. Risking $100 with a $2 stop gives 50 shares.
Does position size include fees?
In this calculator, yes. Fees on entry and exit (or the forex commission) count as part of the loss at your stop, so the size comes out smaller than a sum that ignores them, and much smaller on a tight stop.
Link to this calculator
Free to link from a post, a guide or a forum reply. Copy either one.
HTML link
<a href="https://quanlio.com/tools/position-size-calculator">Position size calculator</a> by QuanlioCitation
Quanlio. "Position size calculator." https://quanlio.com/tools/position-size-calculatorDo this sum on every trade
Quanlio does it for every trade you log, then shows what breaking the rule cost you. The free tier is a full journal.