Risk a fixed fraction
Pros risk a small, constant slice of equity per trade — typically 0.5–2%. The calculator turns that rule into an exact number of units so a single bad trade can never sink you.
Before your automated strategy fires a single order, work out the exact position size, dollar risk and reward-to-risk ratio — then project where disciplined compounding actually takes your account. Two correct calculators, zero fluff.
Size each trade by the dollars you can afford to lose
Where a repeatable edge takes your equity
Strategy choice gets the headlines, but position size and compounding are what actually keep an automated account alive — and growing.
Pros risk a small, constant slice of equity per trade — typically 0.5–2%. The calculator turns that rule into an exact number of units so a single bad trade can never sink you.
The reward-to-risk ratio tells you the win rate you must clear to break even. A 2:1 trade only needs to be right 34% of the time — sizing and R:R are joined at the hip.
A modest, repeatable edge compounds into serious numbers — but only if drawdowns stay small. The projector shows the curve so you can feel the trade-off.
You get both the share/coin/contract count and the dollar notional, plus whether that notional needs leverage above your cash balance.
Everything runs in your browser. No account, no upload, no tracking of your numbers. Refresh and it's gone.
Use these formulas directly in your bot's order-sizing function. Our build guide shows the Python.
Single-purpose tools for the rest of the risk-and-sizing toolkit. Each runs in your browser, shows its formula, and stores nothing.
Practical, original guides on planning, building and running automated strategies — written without the hype.
The methodology that separates a bot that survives a bad month from one that blows up.
Position size equals your dollar risk divided by the per-unit risk. Dollar risk is account × risk%; per-unit risk is the absolute distance between entry and stop. So size = (account × risk%) ÷ |entry − stop|. The notional value is that size times the entry price — if it exceeds your cash, you'd need margin or leverage.
There's no single answer — it trades off against win rate. A 1:1 trade needs to win more than 50% of the time to profit; a 2:1 trade only needs ~34%; a 3:1 needs ~25%. The calculator shows the break-even win rate for whatever target you enter. Read more in risk management.
Because it assumes a constant positive return on every trade with no losing streaks, fees or slippage. That never happens. Use it to understand the shape of compounding and to sanity-check a target, not as a forecast. Validate any edge with forward testing first.
No. Both calculators are pure client-side JavaScript. Your numbers never leave the page, and nothing is stored. Close the tab and it's gone.