Position size calculator

Size every trade from the amount you are willing to lose, not from a gut feeling. Free, private, runs in your browser.

How it works

Amount at risk = Equity × Risk %. Risk per unit = |Entry − Stop| + fees on both sides (Fee × (Entry + Stop)).

Position size = Amount at risk ÷ Risk per unit.

Example: $10,000 equity, 1% risk ($100), entry 100, stop 95 and no fees → 100 ÷ 5 = 20 units ($2,000 position).

Learn more

How to calculate liquidation price for a leveraged positionLearn the liquidation price formula for isolated-margin long and short futures positions, with worked BTC examples at 10x and 50x leverage and how maintenance margin changes the result.The position sizing formula, with worked examplesThe position sizing formula explained step by step: account risk, stop distance and units to buy, with worked stock and crypto examples, fees, and how leverage fits in.Risk-reward ratio and the win rate you need to break evenHow to calculate risk:reward, the break-even win rate for any ratio, and trade expectancy in R, with worked examples and a table showing why a 40% win rate can be profitable.How much gain do you need to recover from a loss?Why a 50% loss needs a 100% gain to break even: the loss recovery formula, a full table from 5% to 90%, worked portfolio examples and what it means for risk management.

FAQ

What risk % should I use?

Many traders risk between 0.5% and 2% of their account per trade, so a losing streak does not wipe them out. Pick a level you can stick to.

Does it work for shorts?

Yes. If your stop is above the entry, the trade is treated as a short. The math is the same.

Why include fees?

Fees on entry and exit make each stop-out cost slightly more than the price distance. Including them keeps your real loss close to your planned risk.

Embed this calculator

Free to embed on your blog or site. Paste this HTML where you want the calculator to appear: