Position size and risk calculator
Size a bot trade from the risk budget instead of gut feeling: quantity, margin, net risk-reward and the break-even win rate after fees.
Risk-first sizing: how many units, at what margin, and what win rate this trade needs - before the position exists, not after.
waiting for values…
How to read it
Risk-first sizing flips the usual question: instead of "how big a position do I want", it asks "how much can I lose if the bot is wrong". The calculator derives position size from your account and risk budget, then shows the leverage and margin needed, the net risk-reward after fees, and the win rate required just to break even. A single trade carrying half the account is a bet, not a position - most systematic traders risk 0.5-2% per trade.
Model and assumptions
Long-position model with the stop below entry. Fees are charged on entry and exit notional at your per-side rate; slippage and funding are not included, so treat the net reward-reward as slightly optimistic. The break-even win rate is 1 / (1 + R) computed on net (fee-adjusted) win and loss amounts - full edge math here.
// FAQ
Why size from risk, not from account size?
Because the loss per trade is the only number you control. Risk-first sizing fixes that loss and derives quantity and margin from it - the same stop distance then fits any balance.
What does the break-even win rate tell me?
The share of trades a strategy must win at this risk-reward and fee level just to break even. If the strategy historically wins less, the setup loses money regardless of bot quality.
Does leverage change the risk?
Only through the stop distance and liquidation. A high leverage with a wide stop carries the same risk as low leverage with the same position size - but less buffer to liquidation.
Runs entirely in your browser, no requests, no signup. Method and weights: how we verify. Background numbers: bot guides.