Position size calculator
Size a position from the share of your account you accept losing at your stop, fees included. For BTC, Delta contracts, EUR/USD and gold.
Size
3 · How it is calculated
Runs in your browser. Nothing you type leaves this page.
Size a position from the loss you accept, not from the leverage on offer. Enter how much of your account you are willing to lose if the stop fills, and the distance to that stop; the calculator returns the size, rounded down so the loss at the stop price stays within what you set, and checks that liquidation does not come first.
Arithmetic on your inputs, not advice. A leveraged position can lose all the margin behind it; in cross margin, the whole balance.
How to read this number: what it means, the formula in plain words, a worked example, the common mistake and the venue's rule. The full arithmetic and more examples follow.
How to read the result
The position size, in five parts
What the number means
The largest size whose loss at your stop price stays within the share of equity you set, rounded down to the size step. Rounding down keeps the loss at the stop price at or below that share; it does not cover slippage.
The formula, in plain words
The money you accept losing is your equity times the risk you set. The loss per unit is the distance from the open price to the stop, plus the fee on each side if fees are ticked. Divide the first by the second and round down to the size step.
The fee terms are zero when fees are left out; for contracts and lots, the loss per unit is multiplied by the contract value.
One worked example
The calculator's starting inputs: equity 10,000 USD, risk 1%, a BTC long opened at 60,000 with the stop at 59,400, fees left out.
- Money you accept losing10,000 × 1% = 100.00 USD
- Loss per BTC at the stop60,000 − 59,400 = 600 USD
- Size100.00 ÷ 600 = 0.1667, rounded down: 0.166 BTC
Panel 2 shows 0.166 BTC. At the stop it loses 0.166 × 600 = 99.60 USD, the first row of the worked examples below.
The common mistake
Sizing from the leverage on offer instead of from the stop. At 10× this account could open 1.666 BTC; at the same stop that loses 999.60 USD, 10.0% of equity instead of 1%. And a stop is a trigger, not a fill price: in a fast market the fill can be worse, so the real loss can be larger than the number shown.
Source and venue rule
- Fee rates: Binance taker 0.05%, read 2026-11-15; Bybit taker 0.055%, read 2026-11-15, from the venues' fee pages. The fee field starts at 0.05% and is yours to change.
- Size step: 0.001 BTC, the venue's minimum order in the parameter table.
- Liquidation check: the same formulas and brackets as the liquidation price calculator. With the starting inputs at 10×, Binance liquidates this long at 54,216.9, below the stop at 59,400, so the stop is reached first.
If the venue's order screen shows a different size or cost, the venue's number counts.
The arithmetic
- open, stop
- your open price and your stop price
- fee_in, fee_out
- the fee rate on each side, as a decimal; zero if fees are left out
- contract_value
- 1 for BTC sized in BTC; the BTCUSD contract value for Delta; 100,000 for a EUR/USD lot; 100 oz for an XAU/USD lot
Rounding down means the loss at the stop price is at or below the share you set; slippage and gaps can make the real loss larger. When the size rounds to zero, the calculator says so and shows the loss that one size step would carry.
The liquidation check uses the same isolated-margin formulas as the liquidation price calculator. If liquidation sits between the open price and the stop, the stop cannot fill: the venue closes the position first.
Worked examples
Illustrative inputs, not market prices. Computed by the reference code the calculator is tested against.
| Instrument | Equity | Risk | Open → stop | Fees | Size | Loss if the stop fills |
|---|---|---|---|---|---|---|
| BTC, long | 10,000.00 | 1% | 60,000.0 → 59,400.0 | none | 0.166 BTC | 99.60 |
| BTC, short | 10,000.00 | 1% | 60,000.0 → 60,900.0 | 0.05% each side | 0.104 BTC | 99.89 |
| Delta BTCUSD | 25,000.00 | 0.5% | 60,000.0 → 58,500.0 | 0.05% each side | 80 contracts | 124.74 |
| EUR/USD | 10,000.00 | 1% | 1.08500 → 1.08300 | none | 0.50 lots | 100.00 |
| XAU/USD | 10,000.00 | 1% | 2,000.00 → 1,990.00 | none | 0.10 lots | 100.00 |
What this does not cover
- A stop is a trigger, not a fill price. In a fast market the fill can be worse than the stop, so the real loss can be larger.
- Funding and swap costs while the position is open are not included.
- For FX and gold, the result assumes your account is in USD and the instrument is quoted in USD.
When not to use this
It does not tell you where to put the stop or how much to risk. Those are your decisions; the calculator only turns them into a size.