Stock Profit & Loss Calculator
Work out profit or loss on a share trade in rupees and percent, with optional charges deducted.
Net profit / loss
–
- Amount invested
- –
- Sale value
- –
- Gross P&L
- –
- Charges
- –
- Net return on investment
- –
Formula
Gross P&L = (Sell price − Buy price) × Quantity
Return % = Gross P&L ÷ (Buy price × Quantity) × 100
Enter total charges (from your contract note or the brokerage calculator) to see net profit. For short trades (sell first), enter the sell price as the entry.
Worked example
You buy 40 shares at ₹250 (₹10,000 invested) and sell at ₹275. Gross profit is (275 − 250) × 40 = ₹1,000, a 10% return. If your contract note shows ₹60 in total charges, net profit is ₹940, or 9.4% on the amount invested.
Where to find your total charges
Your broker's contract note (emailed after every trading day) lists brokerage, STT, exchange charges, SEBI fee, stamp duty, GST and DP charge. Add them up for both the buy and the sell. If you are planning a trade rather than reviewing one, estimate the charges with the brokerage calculator.
Short trades and losses
For an intraday short (sell first, buy back later), enter the buy-back price in the Buy price field and the price you sold at in the Sell price field. The order of the trades does not change the arithmetic: profit is still sell value minus buy value. A negative result is shown as a loss, and the percentage is measured against the buy value.
What this calculator does not do
It does not calculate income tax. Delivery gains are taxed as short-term or long-term capital gains depending on holding period, while intraday profits are treated as speculative business income. Tax rules change with the Union Budget, so check the current rules or speak to a tax professional.
Frequently asked questions
How do I calculate break-even?
Break-even sell price ≈ buy price + (total charges ÷ quantity).