← Back to trading calculators

P&L Planner

See how much you could gain or lose before you enter a trade

How this calculator works

The P&L Planner helps you estimate profit or loss before you place a trade. Enter your entry price, quantity, position direction and the prices where you may exit. The calculator keeps the trade form at the top so you can test numbers quickly, then use this guide below to understand what those numbers mean.

In Single Exit mode, you can compare one stop-loss and one target against the same entry. This is useful when you have a simple plan: buy or short once, then exit at one planned level. The result uses signed P&L, so a trailing stop that has moved into profit will show as green instead of being treated as a loss.

In Multiple Exits mode, you can split the same position across several exit levels. This fits GTT-style planning where part of the quantity may exit at one price and the rest may exit later. The warning message tells you if the exit quantities do not match your total quantity.

The formula used

Long P&L per exit = (Exit price − Entry price) × Quantity

Short P&L per exit = (Entry price − Exit price) × Quantity

P&L % = Price difference ÷ Entry price × 100

Total P&L = Sum of all exit-level P&L amounts

  • Entry price is the price where your position starts.
  • Exit price can be a stop-loss, target, trailing stop, or partial-booking level.
  • Quantity is the number of shares or units assigned to that exit.

Worked example

Suppose you buy 100 shares at ₹150. You place a stop-loss at ₹145 and a target at ₹165.

  • Stop-loss P&L: (145 − 150) × 100 = −₹500
  • Stop-loss %: −5 ÷ 150 × 100 = −3.33%
  • Target P&L: (165 − 150) × 100 = ₹1,500
  • Target %: 15 ÷ 150 × 100 = 10.00%
  • Total invested value: 150 × 100 = ₹15,000

If the stock rises and you move the stop-loss up to ₹155, the stop-loss result becomes (155 − 150) × 100 = ₹500 profit. That is why the calculator supports signed stop-loss results instead of assuming every stop-loss is negative.

Practical tips and common mistakes

  • Do not mix total quantity and exit quantity. In Multiple Exits mode, the sum of all exit quantities should equal the full position size unless you intentionally want to leave some quantity open.
  • Use realistic exit prices. A target may look attractive on paper, but if it is far beyond recent resistance or average movement, the plan may not be practical.
  • Charges are not included here. This tool focuses on gross P&L from price movement. Broker charges, taxes, slippage and spread can reduce the final take-home result.

Related calculators

You may also find useful: Risk : Reward Ratio and Target / Stop-Loss %.