Enter how much of your account you accept to lose and where your stop goes. The calculator returns the size that loses that amount if the stop is hit, fees included.
The risk amount is account size times the risk percentage. Size is that amount divided by the distance between entry and stop, plus the fees you pay to get in and out. The full explanation, with a worked example, is in the guide.
These are the default numbers in the calculator above: a 10,000 USD account, 1% risk, a long on BTC with entry 60,000 and stop 58,800, 10x leverage and a 0.055% taker fee per side.
Size = risk amount ÷ (stop distance + fees per unit), where fees per unit = fee % × (entry + stop)
| Step | Calculation | Result |
| 1. Risk amount | 10,000 × 1% | 100 USD |
| 2. Stop distance | 60,000 − 58,800 | 1,200 USD (2.00%) |
| 3. Fees per BTC, both sides | 0.055% × 118,800 | 65.34 USD |
| 4. Size | 100 ÷ (1,200 + 65.34) | 0.0790 BTC (0.0833 without fees) |
| 5. Position value | 0.0790 × 60,000 | about 4,742 USD (47.4%) |
| 6. Margin at 10x | 4,742 ÷ 10 | about 474 USD (4.7%) |
| 7. Loss if the stop is hit | move + fees | about 94.84 + 5.16 = 100 USD |
The 1% you chose is the total you lose at the stop, fees included. That is why the size is a little smaller than the simple "risk ÷ stop distance" figure.
Leverage does not change the size. It changes the margin you tie up and how close liquidation sits. Same trade as above, leverage only (liquidation is an estimate for isolated margin with 0.5% maintenance margin):
| Leverage | Size | Margin | Est. liquidation | Calculator |
| 3x | 0.0790 BTC | 1,581 USD (15.8%) | 40,300 | Well inside |
| 10x | 0.0790 BTC | 474 USD (4.7%) | 54,300 | Well inside |
| 25x | 0.0790 BTC | 190 USD (1.9%) | 57,900 | Warning: little room |
| 50x | 0.0790 BTC | 95 USD (0.9%) | 59,100 | Stop beyond liquidation |
The stop distance changes the size a lot. Same 100 USD risk, entry 60,000, 10x, only the stop moves:
| Stop | Distance | Size | Value | Fees |
| 57,000 | 5.00% | 0.0326 BTC | 1,958 USD | 2.10 USD |
| 58,800 | 2.00% | 0.0790 BTC | 4,742 USD | 5.16 USD |
| 59,400 | 1.00% | 0.1502 BTC | 9,013 USD | 9.87 USD |
| 59,700 | 0.50% | 0.2733 BTC | 16,401 USD | 18.00 USD (warning) |
At 0.50% the fees are 18% of the risk, above the 15% level where the calculator warns. A tighter stop means a bigger position for the same risk, and a bigger position means more fees and less room for a bad fill. The risk percentage scales the size in a straight line: 0.5% gives 0.0395 BTC, 1% gives 0.0790 BTC and 2% gives 0.1581 BTC, with the stop and entry unchanged.
For a short, choose short and put the stop above the entry. With entry 60,000, stop 61,200 and the same inputs the size is about 0.0789 BTC and the estimated liquidation sits at 65,700. The fee is a little higher because it is charged on a higher stop price.
- Sizing from leverage or margin. Choosing "50 USD of margin at 20x" fixes the position value, not the loss at the stop.
- Ignoring fees. On a tight stop they can be a large part of the risk.
- A stop beyond the liquidation price. The stop never triggers because the exchange closes the position first.
- Moving the stop without resizing. If the stop distance changes, the size has to change with it.
Assumptions: isolated margin with 0.5% maintenance margin, linear contracts, fees charged on entry and exit, and no slippage. A stop order can fill worse than its price, and exchanges use their own margin tiers, mark prices and funding. Check the formula on your venue. Related: liquidation price calculator, funding rate calculator, trading fees calculator, risk of ruin. Education only, not investment advice.
Questions people ask
How do I calculate position size for a crypto trade?
Multiply your account size by the risk percentage to get the amount you accept to lose. Divide that amount by the distance between entry and stop, and include the fees you pay to get in and out. With a 10,000 USD account, 1% risk, an entry at 60,000 and a stop at 58,800, the size is about 0.083 BTC before fees and about 0.079 BTC with a 0.055% taker fee per side, because the fees are part of what you lose at the stop.
Does leverage change my position size?
No. Leverage changes the margin the exchange asks for and how close liquidation sits. The amount you lose at the stop depends on the size and the stop distance, not on leverage.
What risk per trade should I use?
Many traders use between 0.5% and 2% of the account per trade. What matters more is keeping the number fixed so every loss is survivable and every result comparable. This is education, not advice.
Can I use it for long and short trades on perpetual futures?
Yes. Choose long or short, enter the taker fee per side and the leverage, and it also shows an estimated liquidation price for isolated margin so you can check that your stop sits well inside it.
Why is the size smaller when I include fees?
The fees you pay to enter and exit are part of the loss when the stop is hit. If you risk 100 USD in total, the price move can only cost you about 95 USD and the rest goes to fees, so the size has to shrink. In the default example that is 0.079 BTC instead of 0.083 BTC.
How far should liquidation be from my stop?
The calculator warns when the liquidation price is less than twice as far from the entry as the stop, and flags a stop that sits beyond liquidation. That margin leaves room for a fast move or a bad fill, but it is a rule of thumb, not a guarantee. Exchanges use their own margin tiers and mark prices, so check the venue before you rely on the estimate.
Does this work for stocks, forex or futures contracts?
It works when one unit is one coin or share and the contract is margined linearly, as on most crypto perpetuals. For forex lots and pip value use the forex position size and lot size calculators in the Market tools; contracts with a multiplier need their own tick value.