Risk management

How to calculate position size

Decide the loss first, then let the size follow. The formula, worked examples, and the two details most guides skip: fees and leverage.

Most traders decide how much to buy by feel: "this looks good, I'll put in $2,000". Then the trade hits the stop loss, and the loss is bigger than they were comfortable with. Position sizing fixes this. You decide the loss first, and the size follows from it.

The formula in three steps

1. Risk amount = account balance × risk % 2. Stop distance = (entry − stop) ÷ entry 3. Position size = risk amount ÷ stop distance

The position size is the total value of the trade, not the margin. Divide it by the entry price to get the number of coins or shares.

Example 1: a Bitcoin trade

Account balance: $10,000. Risk per trade: 1%.

Entry: $60,000. Stop loss: $58,500.

1. Risk amount = $10,000 × 1% = $100

2. Stop distance = ($60,000 − $58,500) ÷ $60,000 = 2.5%

3. Position size = $100 ÷ 2.5% = $4,000, which is 0.0667 BTC

If the price falls to $58,500, a $4,000 position loses 2.5%, which is exactly $100. If you had moved the stop to $57,000 (a 5% distance), the same $100 risk would allow only a $2,000 position. Wider stop, smaller size. The risk stays the same.

Example 2: a stock trade

Account: $25,000. Risk: 0.5% = $125.

Entry: $48.20. Stop: $46.90. Distance per share: $1.30.

Shares = $125 ÷ $1.30 = 96.15, rounded down to 96 shares (about $4,627).

With shares it is often easier to work in dollars per share instead of percent. Always round down, so you never risk more than planned.

Detail most guides skip #1: fees

The formula above assumes no fees. In reality you pay a fee when you open the trade and another when the stop closes it. With a 0.1% fee on each side, the $4,000 Bitcoin position costs about $8 in fees, so the real loss at the stop is about $108, not $100.

To include fees, add them to the stop distance:

Position size = risk amount ÷ (stop distance + 2 × fee rate) = $100 ÷ (2.5% + 0.2%) = $3,704

The tighter your stop, the more fees matter. With a 0.5% stop, round-trip fees of 0.2% make up almost a third of the loss.

Detail most guides skip #2: leverage doesn't change your risk

A common misunderstanding is that 10x leverage means 10x more risk. With correct position sizing it doesn't. Leverage only changes how much margin you lock up to open the same $4,000 position:

LeverageMargin neededLoss at stop ($58,500)Approx. liquidation price (long)
1x (spot)$4,000$100none
5x$800$100$48,300
10x$400$100$54,300
50x$80never reached$59,100

Up to 10x, the loss at the stop is the same $100. At 50x something breaks: the liquidation price ($59,100) is above your stop ($58,500). The exchange closes the trade before your stop is reached, on a normal 1.5% dip. You lose less money, but your trade idea never got a chance.

The rule: your liquidation price must always be further away than your stop loss. The liquidation guide explains why, and the liquidation calculator shows it for every leverage level.

How much should you risk per trade?

There is no single correct number, but most risk management guides land between 0.5% and 2%. The reason is losing streaks. Even a good strategy has them:

Risk per tradeAfter 5 losses in a rowAfter 10 losses in a row
1%−4.9%−9.6%
2%−9.6%−18.3%
5%−22.6%−40.1%
10%−41.0%−65.1%

At 1% risk, ten losses in a row is an annoying drawdown. At 10% risk, it is the end of the account, and getting back from −65% requires a gain of almost +190%.

A quick checklist before each trade

  1. Decide the stop loss first, based on where the trade idea is wrong, not on how much you want to lose.
  2. Calculate the size from your fixed risk %.
  3. Include fees if your stop is tight.
  4. If you use leverage, check that the liquidation price is beyond the stop.
  5. Write the trade down. A trading journal shows over time whether your stops and sizes actually work.

Calculate it automatically

The free position size calculator does all of the above in one place: risk %, stop as a price or percent, leverage, margin, liquidation estimate and break-even win rate. It can also work backwards and find the stop loss for a position size you already have in mind.

Examples use simplified numbers and a 0.5% maintenance margin for liquidation prices. Your exchange's fees and margin rules may differ. This is educational content, not financial advice.