Crypto position size calculator
Work out how many coins to buy or short so that hitting your stop-loss costs exactly the amount you decided to risk. Enter your balance, the risk per trade, the entry and the stop — the calculator returns the position size, its value and the margin it needs at your leverage.
Estimates for linear USDT-margined contracts and spot. Exchanges round quantities to their lot step and charge funding on perpetuals, so real numbers can differ slightly. Not financial advice.
How to use the calculator
- Enter your account balance in USDT and how much of it you accept to lose on this trade — as a percentage (many traders keep it at 1–2%) or as a fixed amount.
- Enter the entry price and the stop-loss price. A stop below the entry means a long, a stop above it means a short: the direction is detected automatically.
- Optionally add a take-profit to see the potential profit and the risk/reward ratio, and set your leverage to see the margin.
- Use the position size in coins as the order quantity. Round it down to your exchange's quantity step so the risk stays within your limit.
The position size formula
The money you risk is a share of your balance. Divide it by the distance from the entry to the stop and you get the number of coins for which that distance costs exactly that much. Leverage changes neither the size nor the risk — only how much margin the exchange locks.
Risk amount = Balance × Risk % ÷ 100Position size (coins) = Risk amount ÷ |Entry − Stop|Position value = Position size × EntryMargin = Position value ÷ LeverageR:R = |Take-profit − Entry| ÷ |Entry − Stop|
Worked example
Balance 10,000 USDT, risk 1% per trade. You want to long BTC at 100,000 with a stop at 98,000 and a take-profit at 106,000, using 5× leverage.
Risk amount = 10,000 × 1% = 100 USDT. The stop is 2,000 away from the entry (2%), so the position size is 100 ÷ 2,000 = 0.05 BTC. Its value is 0.05 × 100,000 = 5,000 USDT, and at 5× the margin is 5,000 ÷ 5 = 1,000 USDT.
If the stop is hit, you lose 0.05 × 2,000 = 100 USDT — exactly 1% of the balance. If the take-profit is hit, you make 0.05 × 6,000 = 300 USDT: a risk/reward of 1:3.
A short works the same way with the stop above the entry: shorting ETH at 2,500 with a stop at 2,550 and the same 100 USDT risk gives 100 ÷ 50 = 2 ETH, worth 5,000 USDT.
Questions and answers
Does leverage change the position size?
No. The size comes from your risk amount and the distance to the stop. Leverage only sets how much margin the exchange holds: the same 0.05 BTC position needs 5,000 USDT of margin at 1× and 500 USDT at 10×. The loss at the stop is the same in both cases.
What percentage of my account should I risk per trade?
There is no universal number; many traders risk between 0.5% and 2% of the balance per trade. The smaller the share, the easier a losing streak is to survive: ten stops in a row at 1% leave about 90% of the account.
Are trading fees included?
No. The calculator sizes the position so that the move to the stop costs your risk amount, and the exchange also charges a fee on entry and on exit. With a tight stop the fees can be a noticeable part of the loss, so leave a small buffer or lower the risk slightly. The PnL calculator shows a result with fees.
Why doesn't the calculator show a liquidation price?
Because it depends on the exchange's maintenance-margin tiers and the margin mode (isolated or cross), not only on the leverage. The liquidation price calculator estimates it for an isolated position from your maintenance margin rate; check the exact price in your exchange's order form and keep the stop well before it.
Track every trade automatically
PnLTrack syncs your trades from Binance, Bybit, OKX, MEXC, BingX, WhiteBIT, Hyperliquid and Propr through read-only API keys — no manual entry. There is a free plan, and registration is open.
Start for freeMore from PnLTrack
PnL and ROE calculator
Net profit or loss of a long or short after fees, ROE on margin and the price move behind it.
Liquidation price calculator
Where a leveraged long or short gets liquidated, how far that is from the entry, and how added margin moves it.
Supported exchanges
Which exchanges PnLTrack syncs and how to connect each one.
Plans and pricing
What the FREE, TRADER and MENTOR plans include.