InvestCal

Stock P&L Calculator

Profit or loss and percentage return including charges.

Trade details

One hundred rupees

One hundred twenty-five rupees

Forty rupees

Profit / Loss

₹1,210

Return

24.10%

Total buy cost

₹5,020

Net sell proceeds

₹6,230

Tips for tracking stock trades

  • 1Include all charges (brokerage, STT, GST, stamp duty, exchange fees) for an accurate P&L — the net difference is what actually hits your bank account.
  • 2Track your trades in a spreadsheet or portfolio tracker — relying on memory leads to inaccurate cost basis and wrong tax calculations.
  • 3Know the tax rules: short-term capital gains (held < 1 year) are taxed differently from long-term gains in most countries.
  • 4Set a target exit price and stop-loss before entering a trade — this removes emotion from selling decisions.
  • 5Don't average down blindly — if the fundamentals have changed, adding more to a losing position increases your risk.
  • 6Compare your per-trade return against what a simple index fund would have returned over the same period — it keeps you honest about active trading skill.

Related calculators

Explore tools that pair well with this one—loans, investing, and planning.

What is this?

This calculator compares sale proceeds to what you invested in a position—including a single line for charges—so you see net profit or loss and percentage return. It complements the average-price tool when you already know your blended buy and sell prices for a closed or marked-to-market view.

Formula

P&L = net proceeds − invested amount (including allocated charges); return = P&L / invested amount.

How to use

Enter buy price, sell price, quantity, and total charges. Read absolute and percentage P&L.

FAQ

How are charges applied?

Total charges are spread notionally across buy and sell for P&L in this model—match your broker’s breakdown if you need exact per-leg fees.

Is percentage return on invested amount?

Typically yes—profit or loss divided by total invested including your share of charges, unless you customize inputs.

Does this handle intraday vs delivery?

The math is generic; tax and margin rules differ by product. Use it for directional P&L, not tax filing.

Can I include STT and GST?

Add them into the total charges field so net P&L reflects what left your pocket beyond price alone.

What if I bought in multiple lots?

Use the stock average calculator for blended buy price, then enter that average here with total quantity for a simple round-trip P&L.

Deeper guide

Use these notes to stress-test the calculator, understand what drives the result, and choose the right tool for the decision you are making.

Key assumptions

The tool assumes one aggregate buy price, one aggregate sell price, one quantity, and a simple charge adjustment. It is ideal for directional trade analysis but not a substitute for broker-grade tax reporting across multiple lots and different holding periods.

Worked example

A trade that looks profitable before costs can become marginal after brokerage, STT, and other charges are added back in. That matters most for short-term trades where the gross price move is relatively small.

How to interpret the result

Look at both the absolute P&L and the percentage return. A high percentage on a tiny position can matter less financially than a moderate percentage on a larger allocation, and both views together give better context.

Limitations to keep in mind

This output does not replace tax-lot accounting, dividend adjustments, or jurisdiction-specific capital gains rules. Use it to understand the economics of the trade first, then reconcile with your broker statement for final reporting.

The stock market is a device for transferring money from the impatient to the patient.

Warren Buffett