CoinPopBit

Crypto Position Size Calculator (Risk-Based, Fees Included)

Decide how much you are willing to lose if the stop-loss is hit, then let the calculator size the position. The calculation runs in your browser.

By CoinPop Market Desk · Fee rates checked 2026-11-14 · Editorial policy

Position
Position size (notional)
-
Amount at risk
-
Quantity
-
Margin at this leverage
-
Distance to stop
-
Estimated liquidation price
-

Fees: OKX 0.020% / 0.050% (okx.com/fees), Bybit 0.020% / 0.055% (Trading Fee Structure), MEXC BTCUSDT 0.000% / 0.040% (mexc.com/fee), regular tier, checked 2026-11-14. The stop-loss is counted as a taker fill at the stop price; slippage can make the real loss larger.

How the position size is calculated

Fix the loss first, then solve for the size. At the stop the trade loses the price move plus the opening and closing fees, so all three go in the denominator:

Amount at risk = balance × risk % Long: quantity = risk ÷ ((entry − stop) + entry × opening fee + stop × closing fee) Short: quantity = risk ÷ ((stop − entry) + entry × opening fee + stop × closing fee) Position size = quantity × entry Margin = position size ÷ leverage

Leverage does not change the position size here. It only changes how much margin the position ties up, and how close the liquidation price sits to your entry.

Worked examples (balance 2,000 USDT, risk 1.5%, long at 3,000, OKX taker both ways, 3x)

Stop-lossPosition size (USDT)QuantityMargin at 3x (USDT)
2,970 (−1%)2,728.510.90950909.50
2,940 (−2%)1,429.250.47642476.42
2,910 (−3%)968.210.32274322.74
2,850 (−5%)588.520.19617196.17

Calculated values. A wider stop gives a smaller position for the same 100 USDT at risk.

How much to risk per trade

Frequently asked questions

How do I calculate position size in crypto?
Multiply your balance by the share you are willing to lose to get the amount at risk, then divide it by the loss per coin at your stop, including fees. Position size is that quantity times the entry price.
Does leverage change the position size?
Not in risk-based sizing. The size comes from the amount at risk and the stop distance. Leverage only sets the margin the position uses and how close liquidation is.
What risk percentage should I use?
Many traders keep each trade small enough that a long losing streak does not empty the account, often 1-2% of the balance. It is a personal choice; the calculator shows the size for whatever you enter.
Why is my real loss larger than the amount at risk?
Stop orders can fill below the stop price in a fast market (slippage), funding may be paid while you hold, and a liquidation before the stop loses the margin instead.

Sources and limits

Fee pages: OKX, Bybit, MEXC, checked 2026-11-14. The liquidation estimate uses the isolated-margin formulas of our liquidation calculator with the maintenance margin rate you enter. Planning tool, not trading advice. Leveraged futures can lose the whole margin.