Calculate your stock trading profit or loss instantly. Enter buy price, sell price, and quantity to analyze your trade performance.
A Stock Profit/Loss Calculator helps investors and traders calculate the profit or loss from their stock trades. Simply enter your buy price (the price at which you purchased the shares), the sell price (the price at which you sold the shares or the current market price for unrealized P&L), and the quantity of shares traded. The calculator instantly shows your net profit or loss in absolute rupees and as a percentage of your investment.
For Indian stock market participants trading on NSE (National Stock Exchange) and BSE (Bombay Stock Exchange), understanding your profit and loss on each trade is essential for effective portfolio management, tax planning, and improving your trading strategy. Whether you are a short-term intraday trader, a swing trader holding positions for days or weeks, or a long-term investor, our P&L calculator helps you track and analyze your trade performance accurately. The calculator also shows the buy/sell price ratio, giving you a quick sense of your return multiple.
The formula for calculating stock profit or loss is straightforward:
P&L = (Sell Price - Buy Price) × Quantity
Where:
For example, if you bought 100 shares of Reliance Industries at ₹2,500 each and sold them at ₹2,800 each, your profit would be (₹2,800 - ₹2,500) × 100 = ₹30,000. The percentage return would be (₹2,800 - ₹2,500) / ₹2,500 × 100 = 12%.
Important Note: The profit/loss calculated above does not include brokerage fees, securities transaction tax (STT), GST, stamp duty, SEBI turnover fees, or other charges that apply to actual stock trades in India. These transaction costs typically add up to 0.1-0.5% of the trade value depending on your broker and the type of trade (delivery vs. intraday). Always factor in these costs for accurate net P&L calculations.
Regularly tracking your profit and loss on each stock trade is crucial for several reasons:
Here are some practical tips for Indian stock market traders looking to improve their profitability:
Realized P&L refers to the profit or loss from stock trades that have been completed (shares bought and sold). It represents actual cash gain or loss in your trading account. Unrealized P&L (also called paper profit/loss) refers to the current gain or loss on stocks you still hold — calculated as (current market price − buy price) × quantity. Unrealized gains become realized only when you actually sell the shares. Stock market investors track both: unrealized P&L helps in portfolio monitoring, while realized P&L matters for tax purposes.
The profit percentage on a stock trade is calculated as: [(Sell Price − Buy Price) / Buy Price] × 100. For example, if you bought a stock at ₹500 and sold it at ₹600, the profit percentage is (100/500) × 100 = 20%. Our calculator above does this automatically, showing both the absolute profit/loss amount and the percentage return on your invested capital.
No, this calculator shows the gross P&L based purely on the buy and sell prices. Actual net profit/lash would be lower for profitable trades and higher for losing trades after accounting for brokerage fees, STT, GST, exchange charges, SEBI turnover fees, and stamp duty. For accurate net P&L, subtract approximately 0.1-0.5% of the total trade value for transaction costs, depending on your broker and trade type. Discount brokers like Zerodha, Groww, and Angel One offer competitive pricing with zero brokerage on delivery trades.
In India, stock trading profits are classified as capital gains. For equity shares held for less than 12 months, profits are treated as Short Term Capital Gains (STCG) and taxed at 15% (plus applicable surcharge and cess). For shares held for more than 12 months, gains exceeding ₹1 lakh in a financial year are treated as Long Term Capital Gains (LTCG) and taxed at 10% without indexation benefit. Losses can be set off against capital gains within the same category, and unabsorbed losses can be carried forward for up to 8 assessment years.
A negative profit percentage indicates that you sold the stock at a price lower than your purchase price, resulting in a loss on the trade. For example, if you bought at ₹200 and sold at ₹150, the profit percentage would be −25%, meaning you lost 25% of your invested capital on that trade. Our calculator displays negative values in red and positive values in green, making it easy to visually assess your trade performance at a glance.