How to calculate crypto position size
For a hypothetical spot long, multiply account balance by risk percentage to find a dollar risk budget. Divide this by the difference between the entry price and assumed stop price. Limit the resulting quantity to what available cash can buy without borrowing.
Quantity = min((balance × risk % ÷ 100) ÷ (entry − stop), balance ÷ entry)
Worked example
With $1,000 available, a 1% hypothetical risk budget is $10. At a $2 entry and $1.80 stop, the modeled price loss per token is $0.20. The quantity is 50 tokens, costing $100 before fees. If all tokens sell at $1.80, the price loss is $10 before fees.
Why the cash cap matters
A very narrow difference between entry and stop could imply a position larger than the account balance. This tool caps the position by available cash instead of assuming leverage. The modeled loss can then be below the selected budget.
Limitations
Spot only: no shorts, derivatives, margin or liquidation calculations. Fees, token taxes, gaps, slippage, liquidity and order execution are not included. Actual loss can exceed the modeled loss, including the full position value. Round down to the exchange's permitted quantity increment and allow room for fees. The displayed quantity is an estimate, not an order or recommendation. Use the fee-aware profit calculator to model trading costs separately.