DoberInvest Channel RU

Risk and discipline

Position size calculator for crypto:formula, margin and costs

Position size starts with the loss you can accept and the distance to the stop. This guide adds modeled fees, quantity steps and borrowed exposure without confusing margin with risk.

Three positions of different width, each topped by a red risk band of equal area
In this guide 8

Position size calculator for crypto

Position sizing answers a narrow question: how much can you buy or sell if the stop is reached and the loss must stay within a chosen budget? It does not predict whether the trade will work.

The calculation is useful only when its inputs are honest. A stop can execute away from its trigger, fees vary by venue and order type, and instruments can impose quantity steps or contract multipliers. Treat the output as a planning limit, not an assured loss.

01The core formula#

For a simple long position quoted in dollars:

loss budget = account value × chosen risk fraction
loss per coin before costs = entry price − stop price
quantity before rounding = loss budget ÷ loss per coin

For a short, reverse the price subtraction. For derivatives, first translate one contract's price move into cash using the contract multiplier.

02Worked model with fees and rounding#

Assume an invented model with an account value of $10,000, a loss budget of $100, an entry at $200, a stop at $190, modeled entry cost of $0.100 per coin, modeled exit cost of $0.095 per coin, a quantity step of 0.1 coin, and a conservative executable quantity of 9.8 coins. These are not a current quote, fee schedule or recommendation.

The model inputs are:

  • account value: $10,000;
  • chosen loss budget: $100 (equal to 1% of the modeled account);
  • modeled entry: $200;
  • modeled stop: $190;
  • modeled entry cost: $0.100 per coin;
  • modeled exit cost: $0.095 per coin;
  • modeled quantity step: 0.1 coin.

The loss budget is:

$10,000 × 1% = $100

The price loss per coin is:

$200 − $190 = $10

Under the fee assumptions, modeled costs per coin are:

$0.100 + $0.095 = $0.195

So the modeled loss per coin is $10.195. The exact quotient begins:

$100 ÷ $10.195 = 9.80872977... coins

Displayed to three decimal places, the quotient is approximately 9.809 coins. If the venue accepts increments of 0.1 coin, select the next permitted quantity that does not exceed the quotient: 9.8 coins. The modeled position notional is then:

9.8 × $200 = $1,960

Rounding down leaves a small buffer. Rounding up would exceed the modeled loss budget.

03Where leverage fits#

Leverage does not belong in the risk-based quantity formula. It changes how much margin supports the position.

Using the same modeled $1,960 position, 5× leverage would imply $392 of initial margin before venue-specific adjustments:

$1,960 ÷ 5 = $392

The entry-to-stop loss is still based on 9.8 coins moving from $200 to $190, plus modeled costs. If someone multiplies the quantity merely because more buying power is available, the planned loss scales with it before slippage and liquidation effects.

Investor.gov warns that leverage can magnify losses and may expose an investor to losses beyond the initial amount invested. Crypto derivatives have venue-specific margin and liquidation rules, so check the contract specification rather than importing an equity-margin example.

04Add a slippage allowance when needed#

The model above assumes an exit at the stop price. Actual execution can differ. Investor.gov explains that a stop order becomes a market order when its stop price is reached, and the execution price may differ significantly in a fast-moving market.

A cautious calculator can add a modeled slippage allowance:

modeled loss per coin = stop distance + fees + slippage allowance

The allowance is a scenario input, not a forecast. Compare several values instead of hiding the uncertainty behind a single precise result.

05Practical checklist#

Before using the output, verify:

  1. Account value excludes money unavailable for the strategy.
  2. The chosen loss budget is acceptable even through a losing sequence.
  3. Entry and stop prices refer to the same instrument and venue.
  4. Fees match the likely order type and account tier.
  5. Quantity step, minimum notional and contract multiplier are correct.
  6. The result is rounded down to the permitted quantity.
  7. Extra room exists for spread, slippage and funding where relevant.

06What the calculator cannot promise#

It cannot assure the stop price, prevent liquidation, estimate market depth or tell you whether the setup has positive expectancy. Its job is simpler: turn a stated loss budget and a stated stop into a reproducible maximum quantity.

07Sources#

Educational material, not investment advice. The worked model uses invented inputs; check current venue rules and costs before trading.

FAQ#

How do you calculate position size in crypto?
Choose a maximum loss, then divide it by the loss per coin between entry and stop. In the worked model, the exact quotient begins 9.80872977 coins, displayed as approximately 9.809 to three decimals. With a 0.1-coin step, the conservative executable quantity is 9.8 coins.
Does borrowed exposure change risk-based position size?
No. Leverage changes the margin posted for a given position, not the entry-to-stop loss. Increasing the position because more buying power is available increases the loss at the same stop.
Should fees be included?
Include costs that would be charged if both entry and exit execute. Use the actual venue schedule when placing a trade; the per-coin costs below are assumptions for a worked model, not a live fee quote.
Can realized loss differ from the plan?
Yes. A stop order can become a market order, and its execution price can differ from the stop price. Fast markets, gaps, spread and insufficient depth can make the realized loss larger than the calculation.

DoberInvest on Telegram

Questions about this guide?

Ask in the English channel. That is also where we post charts, the levels we watch and what would change our mind. A system, not signals, and no profit promises.

Join the channel

This guide explains how the mechanics work; what you do with them is your own decision. Trading can lose you money, and leverage makes losses bigger and faster. 18+

Konstantin Shulga
AuthorKonstantin Shulga

Founder of DoberInvest, in the market since 2018. Teaches a system, not signals.

Read next

All guides

Charts and market context every day

Bitcoin, altcoins and the US market: levels we watch, what would change the picture, and why. A system, not signals, and no profit promises.