Home Live Ticker Fear & Greed
Sign in

Trading Calculators

Crypto Position Size Calculator

Spot the edge. Swoop in.

Size a spot or leveraged crypto trade from your account balance, entry, and stop price — then see notional value, margin required, fee burden, and an approximate liquidation distance before you place the order.

How Do You Calculate Crypto Position Size?

Crypto position size = maximum dollar risk ÷ risk per token unit, where maximum dollar risk is account balance × risk percentage, and risk per unit is the difference between entry price and stop price. Leverage changes how much margin the position ties up, not the planned dollar risk — but it adds a separate risk of liquidation before the stop is reached, which the calculator below flags separately.

Crypto Position-Size Calculator

Enter account balance, risk percentage, entry and stop price. Switch to Leveraged to add a margin multiplier and see an approximate liquidation price; add exchange fees, slippage, and an exchange minimum order value for a more complete cost picture.

What This Calculator Does

It converts a dollar risk budget into a token quantity, then reports the practical numbers that follow from that quantity: how much notional value that represents, how much margin a leveraged trade requires, what fees and slippage do to the realized loss, and — for leveraged trades — roughly how far price can move against you before the exchange force-closes the position.

It does not predict price, recommend an asset, or replace the liquidation calculation shown on your exchange. It only turns the numbers you enter into a consistent, risk-based size.

Required Inputs

Optional Advanced Inputs

What the Results Mean

OutputWhat it tells you
Max planned riskAccount balance × risk % — the dollar amount you're budgeting to lose.
Risk per unit|Entry price − stop price| — the loss on one token if the stop fills exactly.
Token quantityMax planned risk ÷ risk per unit, rounded down to your chosen decimal precision.
Notional valueToken quantity × entry price — the total dollar size of the position, regardless of leverage.
Margin requiredNotional value ÷ leverage — the capital locked up to open the trade (equals notional value for spot).
Effective exposureSame as notional value — the amount that actually moves dollar-for-dollar with price.
Loss at stopToken quantity × risk per unit, before fees or slippage.
Loss after costsLoss at stop plus round-trip fee and slippage cost.
Risk % of accountLoss after costs ÷ account balance — your real planned risk once costs are included.
Fee burden vs. planned riskRound-trip fees and slippage as a percentage of the loss at stop — how much costs eat into your risk budget.
Est. liquidation price (leveraged only)A simplified estimate of where the exchange would force-close the position, ignoring maintenance-margin tiers, funding, and fees.
Distance to liquidationHow far price would need to move from entry to reach the estimated liquidation price, as a percentage.

Three warning conditions are checked automatically: the estimated liquidation price sitting at or before your stop, a spot notional value larger than your account balance, and a margin requirement over 50% of your account (a concentrated position).

The Formulas

For a long trade:

Risk per unit = Entry price − Stop price

Quantity = Max planned risk ÷ Risk per unit (rounded down to the chosen decimal precision)

For a short trade, risk per unit flips: Risk per unit = Stop price − Entry price.

Notional value = Quantity × Entry price. Margin required = Notional value ÷ Leverage (leverage is 1 for spot, so margin required equals notional value).

Round-trip cost = notional value × (fee % + slippage %) × 2, applied once for entry and once for exit. Loss after costs = Loss at stop + round-trip cost.

The liquidation estimate uses the standard simplified isolated-margin formula:

This ignores maintenance-margin requirements, funding payments, and fees, all of which typically move the real liquidation price closer to entry than this estimate suggests. It's a distance check, not a substitute for the number your exchange shows before you submit an order.

Worked Example

Hypothetical example — for education only.

A trader has a $10,000 account and risks 1% per trade. They plan a long entry on a token at $100 with a stop at $95, using 10x leverage, a 0.1% exchange fee per side, and 0.05% estimated slippage per side.

  1. Max planned risk: $10,000 × 1% = $100
  2. Risk per unit: $100 − $95 = $5
  3. Quantity: $100 ÷ $5 = 20 units
  4. Notional value: 20 × $100 = $2,000
  5. Margin required: $2,000 ÷ 10 = $200
  6. Loss at stop: 20 × $5 = $100
  7. Round-trip cost: $2,000 × (0.1% + 0.05%) × 2 = $6
  8. Loss after costs: $100 + $6 = $106 (1.06% of the account, slightly over the 1% target)
  9. Estimated liquidation price: $100 × (1 − 1/10) = $90, a 10% move away — beyond the $95 stop, so the stop would be hit first in this estimate

Changing only the leverage to 20x moves the estimated liquidation price to $100 × (1 − 1/20) = $95 — the same level as the stop. At that leverage, the calculator flags that liquidation may occur at or before the stop, meaning the exchange could close the position for reasons unrelated to the trade thesis before the planned exit is ever reached.

How to Interpret the Results

Treat loss after costs, not the raw quantity, as the number that matters — it's the closest estimate of what a losing trade actually costs once fees and slippage are included. If risk % of account comes out noticeably above your target, fees or slippage are eating into the budget and the position should be sized down, not up.

For leveraged trades, check distance to liquidation against your stop distance. If liquidation sits closer to entry than the stop, the position's real risk isn't the planned stop — it's an earlier, exchange-determined exit that a plain position-size formula doesn't otherwise account for.

Common Mistakes

Limitations and Edge Cases

Privacy and Data Handling

All calculations run in your browser. Values you type into this calculator are not sent to Swoopr's servers, stored, or logged — closing or reloading the page clears them. No account or sign-in is required to use this tool.

Crypto Position Sizing FAQs

How do you calculate crypto position size?

Multiply account balance by your risk percentage to get the maximum dollar risk, then divide that by the difference between entry and stop price: quantity = (account balance × risk %) ÷ |entry price − stop price|.

Does leverage change how much I'm risking?

Leverage changes how much margin is tied up, not the planned dollar risk from entry to stop. It does add a separate risk: the position can be liquidated by the exchange before the stop is reached, which a plain position-size formula does not account for.

Is the liquidation price on this calculator exact?

No. It's a simplified isolated-margin estimate that ignores maintenance-margin tiers, funding payments, and fees. Exchanges typically liquidate earlier than this estimate. Always confirm the actual liquidation price shown by your exchange before opening a leveraged position.

What is notional value in a crypto trade?

Notional value is the total dollar value of the position — token quantity multiplied by price — regardless of how much margin was used to open it. It's the amount actually exposed to price movement.

Why is my calculated quantity smaller than expected?

The calculator floors (rounds down) the token quantity to the decimal precision you set, so the position never exceeds your planned dollar risk. Rounding up would let the actual risk exceed the budget you entered.

How is this different from the stock position-size calculator?

The core formula is the same. This version adds leverage, margin, an approximate liquidation-price check, and round-trip exchange fees and slippage as percentages — all relevant to how crypto exchanges price and settle trades, and mostly not applicable to a cash equity purchase.

Related Tools