The position sizing formula, with worked examples

By Gosuoo · Published · 4 min read

Most traders spend their energy on entries. Professionals spend it on position sizing, because the size of a position decides how much a losing trade costs you. And every strategy has losing trades. This guide gives you the formula, three worked examples and the mistakes that quietly blow up accounts.

Skip the math: use the free position size calculator.
Open calculator →

The core idea: risk a fixed fraction, not a fixed size

Instead of buying "100 shares" or "0.1 BTC" every time, you decide how much of your account you are willing to lose if your stop-loss is hit, then work backwards to the size.

This is often called fixed fractional position sizing. Many traders use 0.5%–2% of equity per trade. The exact number is a personal choice. The point is that it's consistent and decided before the trade.

The position sizing formula

  1. Amount at risk = Account equity × Risk %
  2. Risk per unit = |Entry price − Stop price|
  3. Position size (units) = Amount at risk ÷ Risk per unit
  4. Position value = Position size × Entry price

Equivalent shortcut: Position value = Amount at risk ÷ Stop distance %.

That's it. The stop determines the size, not the other way round.

Worked example 1: a stock trade

If the stop is hit, you lose 40 × $2.50 = $100, exactly 1% of the account. The position is only 20% of your equity, so no leverage is needed.

Worked example 2: a crypto trade with a tight stop

Same rule, different market. A tight stop gives a larger position. A wide stop gives a smaller one. Your loss at the stop stays $50.

Worked example 3: a wide stop on a volatile coin

Wide stop, small position. That is exactly how position sizing protects you in volatile markets.

Try your own numbers in the free position size calculator. It also shows the leverage needed if the position is bigger than your equity.

Including fees

Fees make each loser a bit worse. If you pay a taker fee on entry and exit, the real loss at the stop is:

Loss ≈ Size × (Risk per unit + Entry × fee + Stop × fee)

Example: 0.8333 ETH, 0.05% fee each way: fees ≈ 0.8333 × (3,000 + 2,940) × 0.0005 ≈ $2.47. To keep the total loss at $50, reduce the size slightly: $50 ÷ ($60 + $2.97) ≈ 0.794 ETH. With frequent trading, ignoring fees means you consistently risk more than you think.

Where leverage fits in

Leverage does not change your risk if you size correctly. It only changes the margin needed to hold the position.

In example 2, the $2,500 position could be held:

Either way the loss at the stop is $50. What leverage does change is where the exchange liquidates you. Always check that your liquidation price is beyond your stop. See how to calculate liquidation price for the formula.

Pair sizing with reward:risk

Position sizing controls how much you lose. Your reward:risk ratio and win rate decide whether you make money over many trades.

If your target is $3,120 on the ETH trade (+$120 per unit) and the stop costs $60 per unit, reward:risk is 2:1. With 2:1 you only need to win more than 33.3% of trades to break even before fees. The break-even win rate guide explains the math. Check a setup with the risk/reward calculator.

Common mistakes

How big should your risk % be?

There is no universally correct number, and anyone who quotes one "proven" percentage is guessing about your situation. Think about the sequence of losses you could realistically hit. At 1% per trade, ten losses in a row cost roughly 9.6% of the account (because each loss is 1% of a smaller balance). At 5% per trade, the same streak costs about 40%, and you'd need a gain of roughly 67% to recover. The loss recovery calculator shows why big drawdowns are so hard to climb out of.

A repeatable checklist

  1. Entry price and stop-loss price (from your analysis)
  2. Current account equity
  3. Risk % for this trade
  4. Size = (Equity × Risk %) ÷ |Entry − Stop|
  5. Check margin needed and liquidation price
  6. Record it all in your journal

Doing this by hand works, but it is slow and error-prone when the market moves. The Position Size & Risk Calculator template for Excel and Google Sheets does steps 4–5 for every trade and keeps a running risk dashboard.