How to Calculate Stock Returns β Complete Framework
Stock return calculation goes far beyond subtracting buy price from sell price. A complete stock return analysis must account for dividends received during the holding period, brokerage and transaction costs (STT, exchange charges, GST on brokerage), LTCG or STCG tax based on the holding period, and bonus/split adjustments if applicable. Missing any of these elements gives you an inflated or deflated picture of your actual wealth creation.
Components of Total Stock Return
| Component | Formula | Notes |
| Capital Gain | (Sell Price β Buy Price) Γ Shares | Can be negative (capital loss) |
| Dividend Income | Annual DPS Γ Shares Γ Years Held | Taxable as per income slab from FY2020 |
| Bonus Shares Value | Bonus shares Γ sell price | Cost basis = βΉ0 for bonus shares |
| Transaction Costs | Brokerage + STT + Exchange charges + GST | STT: 0.1% on delivery, 0.025% on intraday sell |
| LTCG/STCG Tax | Based on holding period and gain amount | See table below |
Stock Taxation in India (2026 β Post-Budget 2024)
| Holding Period | Type | Tax Rate | Exemption |
| <12 months | STCG (Short-Term Capital Gain) | 20% | None |
| β₯12 months | LTCG (Long-Term Capital Gain) | 12.5% | First βΉ1.25 lakh per year exempt |
| Any period (dividends) | Dividend Income | As per income slab | None |
π‘ LTCG Tax Harvesting Strategy: Sell and rebuy positions every financial year to realise up to βΉ1.25 lakh in gains tax-free. Over 10 years, this saves up to βΉ1.56 lakh in taxes (βΉ1.25L Γ 10 Γ 12.5%). This strategy is fully legal and widely used by long-term investors.
Transaction Costs β What You Actually Pay in India
| Cost Component | Rate | On βΉ1 Lakh Trade (Delivery) |
| Brokerage (discount broker) | βΉ0β20 flat or 0.01% | ~βΉ20 |
| STT (Securities Transaction Tax) | 0.1% on sell side | βΉ100 |
| Exchange Transaction Charges | 0.00297% (NSE) | ~βΉ3 |
| GST on brokerage+charges | 18% | ~βΉ4 |
| SEBI Fees | βΉ10 per crore | Negligible |
| Total (approx) | | ~βΉ130 per βΉ1 lakh delivery trade |
For long-term investors holding for years, brokerage and transaction costs are a one-time small drag. The bigger cost is LTCG tax. For frequent traders, brokerage + STT can eat 1β3% of corpus annually, severely impacting net returns.
Stock Return Benchmarks β How Does Your Stock Compare?
| Benchmark | 10-Year CAGR (approx, Jun 2016βJun 2026) |
| Nifty 50 (index) | ~13% |
| Nifty Next 50 | ~14% |
| Nifty Midcap 100 | ~16% |
| Nifty Smallcap 100 | ~17% |
| Sensex | ~13% |
If your stock's 10-year CAGR is below 13%, you'd have done better in a simple Nifty 50 index fund with less effort and risk. This benchmark test is the quickest sanity check for any individual stock investment.
Stock Returns FAQs
Q. How does bonus/split affect my stock return calculation?
When a company declares a bonus (e.g., 1:1 bonus), your share count doubles but your cost basis stays the same β only the per-share cost halves. When calculating returns post-bonus, you must adjust the buy price. For a 1:1 bonus on shares bought at βΉ500, your adjusted buy price becomes βΉ250 per share. Stock screeners and brokerage platforms typically show bonus-adjusted prices in their historical data, so always verify if the price you're using in the calculator has been adjusted for corporate actions.
Q. Are dividends included in CAGR for stocks?
Standard CAGR for stocks uses only price appreciation (buy price to sell price). To get Total Return CAGR β which includes dividends reinvested β you need to either add dividend income to the final value or use a Total Return Index (TRI). The Nifty 50 TRI, for example, consistently shows 1.5β2% higher CAGR than the plain price index because dividends are included. Our calculator above shows both capital gain CAGR and includes dividends in the net profit calculation for a more accurate real-world picture.
Q. I booked a loss on a stock β can I offset it against gains?
Yes. Under Indian tax law, Short-Term Capital Loss (STCL) from stocks can be offset against both STCG and LTCG in the same financial year. Long-Term Capital Loss (LTCL) can only be set off against LTCG (not STCG). Both STCL and LTCL can be carried forward for 8 financial years and set off against future capital gains. File ITR-2 or ITR-3 to declare and carry forward capital losses β you must file within the due date to preserve the carry-forward benefit.
Q. How is LTCG calculated when I bought shares at different prices?
When you've accumulated shares at different prices (e.g., bought in batches), the tax department uses FIFO (First In, First Out) for determining which shares are sold and their cost basis. For shares purchased before January 31, 2018, there is a grandfathering provision β the cost basis is the higher of the actual purchase price or the January 31, 2018 market price, which eliminates tax on pre-2018 gains for those stocks.