Market Cap-- BTC Dom-- 24h Vol-- Fear & Greed30 Fear Market Cap-- BTC Dom-- 24h Vol-- Fear & Greed30 Fear Market Cap-- BTC Dom-- 24h Vol-- Fear & Greed30 Fear

Stock Profit Loss Calculator

Calculate your stock trading profit or loss instantly. Enter buy price, sell price, and quantity to analyze your trade performance.

Enter Trade Details

Your Profit & Loss

Net Profit / Loss
₹3,000
Profit / Loss %
+20.00%
Total Investment
₹15,000
Total Returns
₹18,000
Buy/Sell Price Ratio
1.20x

What is a Stock Profit/Loss Calculator?

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.

How to Calculate Stock Profit and Loss

The formula for calculating stock profit or loss is straightforward:

P&L = (Sell Price - Buy Price) × Quantity

Where:

  • Sell Price = Price per share at which the stock was sold (or current market price for unrealized P&L)
  • Buy Price = Price per share at which the stock was purchased
  • Quantity = Number of shares traded

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.

Why Track Your Stock Trade Profit & Loss?

Regularly tracking your profit and loss on each stock trade is crucial for several reasons:

  • Performance Analysis: By tracking P&L on each trade, you can identify which trading strategies are working for you and which ones need improvement. You might discover that you perform better in certain market conditions or with specific types of stocks (e.g., large caps vs. small caps, growth vs. value).
  • Win Rate Calculation: Analyzing your P&L across multiple trades helps you calculate important metrics like your win rate (percentage of profitable trades), average profit on winning trades, average loss on losing trades, and the profit factor (total profits divided by total losses). A win rate of 50-60% combined with a profit factor above 1.5 is generally considered good for stock traders.
  • Tax Planning: In India, capital gains from stock trading are classified as either short-term capital gains (STCG) or long-term capital gains (LTCG). For equity shares, STCG (holding period under 12 months) is taxed at 15%, while LTCG (holding period over 12 months) exceeding ₹1 lakh is taxed at 10% without indexation. Tracking your P&L accurately is essential for calculating and paying the correct capital gains tax.
  • Risk Management: Knowing your maximum loss on any trade helps you set stop-loss levels and position sizes that align with your risk tolerance. A common rule is to risk no more than 1-2% of your total trading capital on any single trade.
  • Portfolio Rebalancing: Regularly reviewing your realized and unrealized P&L helps you decide when to book profits, cut losses, or rebalance your portfolio back to your target asset allocation.

Tips for Profitable Stock Trading in India

Here are some practical tips for Indian stock market traders looking to improve their profitability:

  • Use Stop-Loss Orders: Always set a stop-loss order when entering a trade to limit your downside risk. A stop-loss automatically sells your shares when the price drops to a predetermined level, preventing emotional decision-making during market volatility. As a rule of thumb, set your stop-loss at 5-8% below your buy price for delivery trades and 1-2% for intraday trades.
  • Maintain a Trading Journal: Log every trade with entry price, exit price, quantity, holding period, and your rationale for the trade. Over time, reviewing your trading journal will reveal patterns and help you refine your strategy. Our P&L calculator is a great tool for recording trade outcomes.
  • Understand Transaction Costs: Indian stock market transactions include several costs beyond the buy/sell price difference. These include brokerage (zero for many discount brokers on delivery trades, flat ₹10-20 per trade for intraday), Securities Transaction Tax (STT, 0.1% on delivery sell), GST (18% on brokerage), exchange transaction charges (0.00345%), SEBI turnover fees (₹10 per crore), and stamp duty (0.003-0.015%). Always calculate your net profit after these costs.
  • Avoid Overtrading: Quality over quantity is key in stock trading. Making too many trades increases your transaction costs and often leads to poor decision-making. Focus on high-conviction setups rather than trying to trade every market move.
  • Manage Position Sizing: Never put all your capital into a single trade. Diversify across different stocks, sectors, and market caps. A common position sizing strategy is to risk no more than 1-2% of your total capital on any single trade, and hold no more than 10-15% in a single sector to avoid concentration risk.

Frequently Asked Questions About Stock Profit & Loss

What is the difference between realized and unrealized P&L?

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.

How do I calculate profit percentage on a stock trade?

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.

Are brokerage fees included in this P&L calculation?

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.

How is stock trading profit taxed in India?

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.

What does a negative profit percentage mean?

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.