Guides How to calculate position size
How to calculate position size
Position size is the one number in a trade that is entirely yours. Set it from what you are willing to lose if the stop is hit, and every losing trade costs the same share of your account, whatever the market and wherever the stop. This guide works through the arithmetic with real BTCUSDT prices and shows where AlphaChart does it with you.
Start from the loss, not the size
Most traders start by asking how much to buy. Position sizing turns the question around: how much am I willing to lose if this trade is wrong? That amount, the amount at risk, is usually a fixed share of the account, 1% for example. The size follows from it and from one other number: how far the stop is from the entry.
Sized this way, a trade with a wide stop is small and a trade with a tight stop is large, and both lose the same amount when they fail. A run of losses then costs a predictable share of the account instead of whatever the last few positions happened to be.
The formula
Four lines cover it:
- Amount at risk = account balance × risk per trade
- Position size = amount at risk ÷ |entry − stop|
- Position value = position size × entry
- Leverage needed = position value ÷ account balance
Take the trade drawn below with AlphaChart’s long position tool:
With a 10,000 USDT account and 1% risk per trade:
- Amount at risk: 10,000 × 1% = 100 USDT.
- Distance to the stop: 59,880 − 58,980 = 900 per BTC.
- Position size: 100 ÷ 900 = 0.1111 BTC.
- Position value: 0.1111 × 59,880 = 6,653 USDT, less than the balance, so no leverage is needed.
If price falls to 58,980, the position loses 0.1111 × 900 = 100 USDT, before fees and slippage. If it reaches the target, it makes 200.
The stop decides the size
Keep the account, the risk and the entry the same and move only the stop:
| Stop | Distance | Size | Value | Leverage needed |
|---|---|---|---|---|
| 59,580 | 300 (0.50%) | 0.3333 BTC | 19,960 USDT | 2.00× |
| 58,980 | 900 (1.50%) | 0.1111 BTC | 6,653 USDT | none |
| 58,080 | 1,800 (3.01%) | 0.0556 BTC | 3,327 USDT | none |
All three lose 100 USDT at their stop. That is the point of sizing from the stop. It also sets the order of decisions: put the stop where the idea behind the trade is proven wrong, then size. Moving the stop closer to afford a bigger position puts it where the market can reach it for no reason at all.
Leverage changes the margin, not the risk
In the first row of the table the position is worth twice the balance, so it needs 2× leverage, or a smaller size. Leverage decides how much margin the exchange holds for the position; it does not change what the stop costs. At 58,980, 0.1111 BTC loses 100 USDT with or without leverage.
What leverage does add is a liquidation price. On a leveraged position it has to sit well beyond the stop, or the exchange may close the trade before the stop does. The liquidation price calculator works it out.
Reward to risk, and the win rate it needs
The position tool shows the ratio between the distance to the target and the distance to the stop: 2.00 in the example, a 200 USDT target for 100 USDT at risk. The ratio sets the share of trades that has to win just to break even:
Break-even win rate = 1 ÷ (1 + reward to risk)
At 2.00, one trade in three: 33.3%, before fees. At 1.00 it is 50%; at 3.00, 25%. A high ratio is not better by itself: the further the target, the less often price reaches it. The risk/reward calculator does the arithmetic.
Sizing an order in AlphaChart
In bar replay and paper trading, the order panel at the side of the chart does this sum for you: choose Risk % as the size, set the stop loss (by typing it, or by dragging its line on the chart), and the quantity is the one that loses that share of the account at the stop. It also shows the take profit and stop loss in money and the reward to risk:
Here the stop is 400 below the entry, so 100 ÷ 400 = 0.25 BTC puts exactly 100.00 at the stop and 200.00 at the take profit. The position is worth 15,285 USDT, 1.53 times the 10,000 USDT account: on an exchange, that size needs leverage.
The long and short position tools draw the same plan on any chart, and the position size calculator does the whole calculation, in units or forex lots.
Common mistakes
- A fixed quantity for every trade. The same 0.1 BTC risks 30 USDT with a tight stop and 300 with a wide one.
- Forgetting fees and slippage. A stop in a fast market can fill worse than its price, and fees are paid on both sides of the trade. Leave room for both.
- Several trades on one idea. A long on BTC and a long on ETH often move together; at the stops they can cost close to two risks at once.
- Raising the risk to win losses back. The arithmetic works only when the risk stays a steady share of the account.
- Sizing from the account you wish you had. The balance in the formula is the money actually in the account.
Try it in AlphaChart
- Pick Long position or Short position in the drawing toolbar on the left and click the entry on the chart; drag the target and the stop into place to see the distances and the reward to risk.
- To practise, press Replay in the top bar and click a past bar; in the order panel choose Risk %, enter 1, and drag the stop loss line where your setup says.
- For the numbers alone, use the position size calculator.
All of it is free. This guide explains arithmetic; it is not advice on how much to risk.
Questions
How much should I risk per trade?
Many traders keep it between 0.5% and 2% of the account, so that a run of losses doesn’t take too much of it. It is a choice about your own money, not advice.
Does leverage change the position size?
No. The size comes from the amount at risk and the distance to the stop. Leverage only decides how much margin the position needs, and adds a liquidation price that should sit beyond the stop.
How do I size a forex trade in lots?
Work out the units the same way, with the amount at risk in the pair’s quote currency, then divide by 100,000 for standard lots. The calculator does both.
Should the stop include fees and slippage?
The formula doesn’t. In practice, leave some room: a stop can fill worse than its price in a fast market, and fees are paid on the way in and out.
Can AlphaChart size the order for me?
In bar replay and paper trading the order row shows the profit or loss at the take profit and stop loss for the quantity you enter; set the quantity until the stop shows your amount at risk. The calculator gives the exact figure.