Home / Stock Profit & Loss Calculator

Stock Profit & Loss Calculator

Enter your buy price, sell price and quantity to see profit or loss after brokerage and other charges.

–
Net profit / loss
Gross profit / loss–
Total charges–
Return on investment–

How this calculator works

Gross P&L = (sell price − buy price) × quantity. Charges = brokerage × 2 orders + (buy value + sell value) × other charges %. Other charges such as STT, exchange fees, stamp duty and GST vary by trade type and broker, so the 0.2% is only an example. Taxes on gains are not included. This is not investment advice.

Frequently asked questions

Why is my result different from my broker's contract note?

Brokers charge different fees by trade type (delivery or intraday). Use the exact charge percentages from your contract note.

Does this include capital gains tax?

No. Short-term and long-term gains are taxed differently, so check the current rules or ask a tax professional.

More calculators