Trading Calculators

Free tools to help traders calculate position size, risk per trade, stop loss, targets, brokerage charges and potential returns before taking a trade.

01Risk management

Position Size Calculator

Works out how many shares/lots to buy so a stop-loss hit costs no more than the risk you decide in advance.

Amount available for your trading plan.

Maximum % of capital you are willing to risk on this one trade.

Price at which you plan to enter.

Price at which you plan to exit if the trade moves against you.

Trade Direction
Restores the example values

Your result

Updates as you type

Suggested Position Size (Quantity) —
Maximum Risk Amount —
Risk Per Unit —
Position Value —
Actual Risk (Quantity × Risk Per Unit) —
Actual Risk, % of Capital —

How it works & formula

Maximum Risk Amount = Capital × (Risk % ÷ 100). Risk Per Unit = |Entry − Stop Loss|. Quantity is Maximum Risk Amount ÷ Risk Per Unit, rounded down to a whole share so you never risk more than planned. Position Value = Quantity × Entry Price.

For a Long trade the stop loss must sit below the entry price; for a Short trade it must sit above it — the calculator checks this so the direction and the stop make sense together.

Frequently asked questions

What is a position size calculator?

A position size calculator works out how many shares or lots to trade so that if your stop loss is hit, the loss matches an amount you decided on in advance — instead of your position size being a guess.

How do I calculate risk per trade?

Multiply your trading capital by the percentage of it you are willing to risk on one trade. For example, ₹1,00,000 of capital at 1% risk means a maximum planned loss of ₹1,000 on that trade.

How is stop loss calculated?

Divide the amount you are willing to risk by your quantity to get the risk per unit. For a Long trade, subtract that from your entry price; for a Short trade, add it — that gives the stop loss price.

What is risk-reward ratio?

Risk-reward ratio compares how much you stand to lose if your stop loss is hit against how much you stand to gain if your target is hit. A ratio of 1:2 means the potential reward is twice the risk.

How is trading profit and loss calculated?

For a Long trade, profit/loss is (Exit Price − Entry Price) × Quantity. For a Short trade, it is (Entry Price − Exit Price) × Quantity. Subtracting brokerage and other charges gives the net figure.

Are brokerage and trading charges the same for every broker?

No. Brokerage is set individually by each broker and plan. Government charges such as STT, stamp duty and SEBI fees are uniform, but brokerage and, in some cases, exchange charges vary — always check your own broker's current rates.

Is the compounding calculator a guaranteed return calculator?

No. It is a mathematical projection based on the return percentage you enter, repeated for a number of periods. It does not predict or guarantee that any real return is achievable.

These calculators are provided for educational and informational purposes only. They use the inputs and assumptions provided by the user and should not be considered financial, investment or trading advice. Market conditions, broker charges, taxes and regulations may change. Verify applicable charges and rules with your broker or relevant official source before making financial decisions.

Say hello

Let’s connect.

Have an idea, a project, a collaboration — or just want to say hello? I read every message.

Write to me