What this calculator tells you
If you pick your position size by feel, one stop-out can take a big bite out of your account. This calculator starts from the rule "on this trade I will lose at most X% of my balance" and works backward from your entry and stop-loss to the size you should open. It also shows the margin you need and the liquidation price at your chosen leverage, so you can see whether the stop gets hit before liquidation.
How to use it
- Coin and exchange: fills in the taker fee and maintenance margin rate confirmed from the exchange's official data.
- Account balance: the total in your futures account.
- Risk per trade: how much of the balance you accept losing if the stop is hit, in percent.
- Entry and stop-loss: a stop below the entry means a long, a stop above it means a short.
- Leverage: used for the margin and the liquidation price. It does not change the quantity.
Formula and example
Amount at risk = balance × risk %
Loss per coin = |entry − stop| + entry × fee rate + stop × fee rate
Quantity = amount at risk ÷ loss per coin
Say your balance is 5,000 USDT and you are willing to lose 2%, or 100 USDT. You plan to go long Bitcoin at $60,000 with a stop at $58,800, and the market fee is 0.05%. The loss per coin is 1,200 + 30 + 29.4 = 1,259.4 dollars, so the quantity is about 0.0794 BTC and the position is about 4,764 USDT. At 5x you need about 953 USDT of margin.
Common mistakes
- Thinking more leverage means less risk: for the same quantity, the loss at your stop is the same whatever the leverage. Leverage only changes how much margin you tie up.
- Skipping the liquidation check: open the example above at 50x and the liquidation price is about $59,069, only 1.55% below your entry. You get liquidated before the stop at $58,800 is ever hit.
- Pulling the stop in to make the size bigger: a stop that is too tight gets hit by normal noise. Set the stop from your chart first, then size the trade to it.
FAQ
What risk per trade is reasonable?
There is no fixed number, but many traders use 1% to 2% of the balance per trade. Ask yourself whether the account could survive a string of losing trades at that level.
What if the margin needed is more than my balance?
Raise the leverage, move the stop, or lower the risk percentage. The calculator warns you when this happens.
What if the quantity is smaller than the exchange's minimum step?
Every exchange has a minimum order step. Round the quantity down to that step and your real loss at the stop will be a little smaller than planned. Rounding up takes you over your limit, so round down.
Related calculators
- Liquidation Price Calculator: liquidation price at each leverage
- Risk/Reward Ratio Calculator: how many times your stop distance the target is
- Crypto PnL & ROI Calculator: your result if you close at the target