Trading Education Platform SystemSubscribe for FreeSupport
Tools / Position size

Position size calculator for crypto and futures

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.

FREE TOOL

Know the exact size before you click buy

Most blown accounts start with a size picked by feel. Enter account, risk and stop. Get the exact size, the margin it ties up and the liquidation price, fees included.

  • Risk a fixed % on every trade
  • Fees counted in and out
  • Warns when the stop sits near liquidation

▶ Free lesson: how to size a position with leverage

Direction

Leverage does not change the amount you lose at the stop. It changes the margin you tie up and how close liquidation sits. Liquidation is an estimate for isolated margin with 0.5% maintenance margin.

How it works

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.

A worked example, step by step

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)
StepCalculationResult
1. Risk amount10,000 × 1%100 USD
2. Stop distance60,000 − 58,8001,200 USD (2.00%)
3. Fees per BTC, both sides0.055% × 118,80065.34 USD
4. Size100 ÷ (1,200 + 65.34)0.0790 BTC (0.0833 without fees)
5. Position value0.0790 × 60,000about 4,742 USD (47.4%)
6. Margin at 10x4,742 ÷ 10about 474 USD (4.7%)
7. Loss if the stop is hitmove + feesabout 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.

What changes when you change one input

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):

LeverageSizeMarginEst. liquidationCalculator
3x0.0790 BTC1,581 USD (15.8%)40,300Well inside
10x0.0790 BTC474 USD (4.7%)54,300Well inside
25x0.0790 BTC190 USD (1.9%)57,900Warning: little room
50x0.0790 BTC95 USD (0.9%)59,100Stop beyond liquidation

The stop distance changes the size a lot. Same 100 USD risk, entry 60,000, 10x, only the stop moves:

StopDistanceSizeValueFees
57,0005.00%0.0326 BTC1,958 USD2.10 USD
58,8002.00%0.0790 BTC4,742 USD5.16 USD
59,4001.00%0.1502 BTC9,013 USD9.87 USD
59,7000.50%0.2733 BTC16,401 USD18.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.

Long and short

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.

Common mistakes this avoids

  • 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.