Position size calculator

How many shares or coins to buy so that hitting your stop-loss costs exactly the share of your account you planned to risk.

Updates as you typeNothing leaves your browser
Optional, for risk/reward.

Your trade on one price scale

Entry, stop-loss and take-profit, with the money at risk and the money you stand to make.

How position size is calculated

Position size = (account × risk %) ÷ (entry price − stop price)Fees on entry and exit are added to the per-unit risk so the loss at the stop stays within your limit.

For example, with a $10,000 account and 1% risk, you are willing to lose $100. If you buy at $100 with a stop at $95, each unit risks $5 (plus a little in fees), so you can buy about 19 units, a position worth about $1,900.

Using this with leverage

Leverage changes how much margin you post, not how much you lose if the stop is hit. Size the position here first, then check that your exchange margin and liquidation price sit safely beyond your stop.

Frequently asked questions

What is position sizing?

Deciding how much to buy so that, if your stop-loss is hit, you lose a fixed, small share of your account. It keeps any single bad trade from doing serious damage.

How much should I risk per trade?

Many traders risk 0.5% to 2% of their account on a single trade. At 1%, it would take a long run of losing trades to cause a large drawdown. The right level depends on your strategy and tolerance for losses.

What is the risk/reward ratio?

The distance to your profit target divided by the distance to your stop. A 1:2 ratio means you aim to make twice what you risk. With that ratio, you could be right less than half the time and still come out ahead before fees.

Does this work for short trades?

Yes. If your stop is above your entry, the calculator treats the trade as a short and works out the size the same way.