Skip to content

Free tool · no login

Position size and stop-loss calculator

Enter your capital, the percentage you are willing to risk, your entry price and your stop-loss. The calculator shows how many board lots to buy so that one losing trade stays within your limit.

Your risk

RM
%

Your trade

RM
RM

The stop-loss is the price where your idea is proven wrong. It must be below the entry price.

Result

Position size

10 lots

1,000 shares

At risk if stopped out

RM 200.00

before fees

Risk limit (capital × risk %)
RM 200.00
Risk per share (entry − stop)
RM 0.200
Position value
RM 2,000.00
Share of capital used
10.0%

A calculation on the numbers you entered. Not advice on what or how much to buy.

How is position size calculated?

shares = (capital × risk %) ÷ (entry price − stop-loss price)

The answer is rounded down to whole board lots, because Bursa Malaysia shares trade in lots of 100 units.

What does a worked example look like?

  • Capital RM 20,000 × 1% risk = RM 200.00 risk limit.
  • Entry RM 2.00 − stop-loss RM 1.80 = RM 0.20 risk per share.
  • RM 200.00 ÷ RM 0.20 = 1,000 shares = 10 lots.
  • Position value: RM 2,000.00, which is 10% of capital.

Why size a position from risk?

Sizing from risk means every losing trade costs about the same small share of your capital, whatever the stock or the stop-loss distance. A wider stop gives a smaller position, and a tighter stop gives a larger one. It is the first of the risk rules in my system.

What should I check after sizing?

  1. Can you afford it? Position value must be less than your available cash.
  2. Fees: run the same trade through the trading fees calculator.
  3. Concentration: decide the largest share of capital you allow in a single stock.

Sources

Rates last checked on 17 November 2026. Rates can change, so confirm with your broker’s contract note.

Frequently asked questions

How do I calculate position size?

Divide the amount you are willing to lose by the loss per share if your stop-loss is hit. Position size = (capital × risk %) ÷ (entry price − stop-loss price), rounded down to whole board lots of 100 shares.

What risk percentage should I use?

That is your decision. Many traders keep risk on a single trade to a small fixed percentage of capital, often between 0.5% and 2%. The calculator works with any percentage you enter.

Why does the calculator round down?

Bursa Malaysia shares trade in board lots of 100 units. Rounding down to whole lots keeps your actual risk at or below the limit you set.

Does this include trading fees?

No. Fees add a little to the loss if your stop-loss is hit. Use the trading fees calculator to see the round-trip cost for the same trade.

Can I use it for short selling?

This version is for buying shares, where the stop-loss is below the entry price.

Want stock tracking for your own portfolio?

Join the waitlist to get early access to the XpertStocks dashboard: holdings grouped by short, mid and long term, a win/loss scorecard, dividends and a watchlist with your own target prices.