Tax Loss Harvesting Calculator

Calculate potential tax savings through strategic tax loss harvesting. Offset capital gains with losses, optimize your tax liability, and save thousands on stock investment taxes in India.

Total profits from stock sales this year
Losses you can book by selling loss-making stocks
Select the holding period for your gains
Your current income tax bracket (for STCG only)

Tax Savings Analysis

Tax Without Harvesting
₹0
Tax After Harvesting
₹0
💰 Total Tax Saved
₹0
Net Taxable Gains
₹0

Before vs After Tax Loss Harvesting

Your Optimal Harvesting Strategy:

Key Insights:

Important Rules to Remember:

  • Wash Sale: India doesn't have wash sale rules like USA. You can buy back the same stock immediately after selling for loss.
  • March 31 Deadline: Book losses before March 31 to offset gains from the same financial year.
  • Carry Forward: Unused capital losses can be carried forward for 8 years.
  • STCG vs LTCG: Can offset STCG with both STCL and LTCL, but LTCG can only be offset with LTCL.
  • Maintain Records: Keep all transaction records, contract notes, and profit/loss statements for IT filing.

Complete Guide to Tax Loss Harvesting in India 2026

What is Tax Loss Harvesting?

Tax loss harvesting is a powerful tax optimization strategy where you strategically sell loss-making investments to offset capital gains from profitable investments. This reduces your overall tax liability on stock market profits. It's a legal and legitimate tax-saving technique used by smart investors worldwide.

Example: You made ₹5 lakh profit from Stock A (must pay tax on this). You also have Stock B sitting at ₹2 lakh loss. By selling Stock B before March 31, you can reduce your taxable gains to ₹3 lakh (₹5L - ₹2L), saving significant tax. You can even buy back Stock B immediately if you still believe in it!

Capital Gains Tax Rates in India (2026)

Type Holding Period Tax Rate Notes
STCG (Equity) Less than 1 year 15% + 4% cess = 15.6% On listed equity shares & equity MFs
LTCG (Equity) 1 year or more 10% on gains > ₹1 lakh (no indexation) First ₹1 lakh gains are tax-free annually
STCG (Other) Varies by asset As per your income tax slab Non-equity assets, bonds, debt funds
LTCG (Other) Varies by asset 20% with indexation benefit Real estate, debt funds, gold

How Tax Loss Harvesting Works

Here's the step-by-step process:

  • Step 1 - Review Your Portfolio: Calculate total realized capital gains (stocks already sold at profit) and identify unrealized losses (stocks currently in loss).
  • Step 2 - Identify Loss Candidates: Find stocks in your portfolio that are in loss and unlikely to recover soon. Focus on fundamentally weak companies or sector bets gone wrong.
  • Step 3 - Calculate Offset Amount: Determine how much loss you need to book to offset your gains. You can book losses equal to or exceeding your gains.
  • Step 4 - Execute Before March 31: Sell the loss-making stocks before the financial year ends. Remember, only realized losses (actually sold) can offset gains.
  • Step 5 - Reinvest (Optional): Unlike USA's wash sale rule (30-day waiting period), India has no such restriction. You can buy back the same stock immediately on the next day if you still want exposure.
  • Step 6 - File ITR Correctly: Report both gains and losses in your Income Tax Return under "Capital Gains" section. Use ITR-2 or ITR-3 forms.

Important Rules & Regulations

1. Loss Offsetting Rules:

  • Short-term capital loss (STCL) can offset both STCG and LTCG
  • Long-term capital loss (LTCL) can ONLY offset LTCG (not STCG)
  • Losses from one asset class can generally offset gains from another (equity losses can offset equity gains)
  • Speculative losses (intraday F&O) can only offset speculative gains, not delivery-based gains

2. Carry Forward Rules:

  • Unused capital losses can be carried forward for 8 assessment years
  • You MUST file ITR before the due date to carry forward losses (usually July 31)
  • Late filing means you lose the right to carry forward losses
  • Carried forward losses can be adjusted against future capital gains

3. Set-off Limitations:

  • Capital losses cannot be set-off against salary, business income, or other income heads
  • House property losses cannot be set-off against capital gains
  • Each income head has specific set-off and carry forward rules

Strategic Tax Harvesting Tips

  • Year-End Review: Review your portfolio in February-March every year. Calculate total gains and losses to plan harvesting.
  • Sell Weak Holdings First: Book losses on fundamentally weak stocks you wanted to exit anyway. Don't hold bad investments just to avoid booking loss.
  • Consider Transaction Costs: Factor in brokerage, STT, and GST. For small amounts, transaction costs might exceed tax savings.
  • Use ₹1 Lakh LTCG Exemption: If you have only LTCG, harvest only the amount above ₹1 lakh exemption. No point selling if gains are under ₹1 lakh.
  • Don't Force It: Don't sell good stocks just for tax harvesting. The stock might run up, and you'll miss gains. Only harvest losses on stocks you're okay exiting.
  • Buy Back Strategically: If you believe in the stock long-term, buy it back next day at potentially better prices. You've crystallized the loss for tax purposes.
  • Document Everything: Maintain detailed records - contract notes, P&L statements, broker reports. Crucial during IT department scrutiny.

Common Mistakes to Avoid

  • Missing March 31 Deadline: Losses booked in April won't count for previous financial year. Plan early, execute in time.
  • Not Filing ITR on Time: Late filing means you lose right to carry forward losses for 8 years. File before July 31 deadline.
  • Selling Winners Instead of Losers: Some investors book profits and pay tax, while holding loss-making stocks. Do the opposite!
  • Ignoring Intraday Losses: F&O and intraday losses are speculative losses - they can only offset speculative gains, not delivery gains.
  • Selling in Wrong Account: If you have multiple demat accounts, ensure you sell from the correct one for tax reporting accuracy.
  • Not Calculating STT Impact: Securities Transaction Tax (STT) is NOT added to purchase cost for equity. It's a separate expense.

Advanced Strategies

1. Partial Portfolio Harvesting:

If you hold 100 shares of a stock at ₹500 avg price, currently at ₹400, you don't need to sell all 100. Sell 50 shares to book partial loss, keep 50 for recovery. This gives you tax benefit while maintaining exposure.

2. Inter-Family Transfer:

If you're in 30% tax bracket but your spouse is in 0-5% bracket, consider gifting shares to spouse (no tax on gifts between family). Spouse can then sell and pay lower tax. Legal and legitimate if done properly.

3. Stagger Loss Booking:

If you have huge losses, don't book everything in one year. Spread it across 2-3 years as you generate gains. This ensures you utilize losses optimally and don't waste them.

4. Combine with Portfolio Rebalancing:

Use tax harvesting as opportunity to rebalance portfolio. Exit overweight positions that are in loss, rotate into better opportunities. Get tax benefit + improved portfolio.

Real-World Example

Scenario: Rahul sold Infosys shares and made ₹8 lakh short-term capital gains. He's in 30% tax bracket. Tax liability = ₹8L × 15.6% = ₹1,24,800.

His Portfolio: He also holds Paytm shares bought at ₹1200, now at ₹600. Total investment ₹6 lakh, current value ₹3 lakh (₹3 lakh unrealized loss).

Tax Harvesting Action: Rahul sells entire Paytm holding, booking ₹3 lakh loss before March 31.

Tax Benefit: Taxable gains reduced from ₹8L to ₹5L (₹8L - ₹3L). New tax = ₹5L × 15.6% = ₹78,000. Tax saved = ₹1,24,800 - ₹78,000 = ₹46,800

Next Step: Rahul can buy back Paytm next day if he believes in recovery, or invest ₹3 lakh in better stocks. He saved ₹46,800 in taxes legally!

Income Tax Return Filing

How to report in ITR:

  • Form: Use ITR-2 (if salaried/capital gains) or ITR-3 (if business income)
  • Schedule: Fill "Capital Gains" schedule - separate sections for STCG and LTCG
  • Details Required: Stock name, purchase date, sale date, purchase price, sale price, brokerage, STT paid
  • Loss Carry Forward: If losses exceed gains, mention in "Losses to be carried forward" section
  • Previous Year Losses: If utilizing old losses, mention under "Losses brought forward from previous years"
  • Verification: E-verify within 120 days using Aadhaar OTP, net banking, or other methods

Frequently Asked Questions

These detailed FAQs are covered in the section below. Our calculator handles all complex calculations automatically!

Frequently Asked Questions

What is tax loss harvesting and how does it save taxes?

Tax loss harvesting is selling loss-making investments before March 31 to offset capital gains from profitable investments, reducing your tax liability. Example: ₹5L profit from Stock A (15.6% tax = ₹78,000) + ₹2L loss from Stock B. Sell Stock B before year-end → Net taxable gains = ₹3L (15.6% tax = ₹46,800). You save ₹31,200 in taxes! Best part: you can buy back Stock B the very next day in India (no wash sale rule like USA).

Can I book losses and buy back the same stock immediately in India?

YES! India does NOT have wash sale rules like USA (which requires 30-day waiting period). You can sell a stock to book loss on one day and buy it back the very next day - completely legal and valid for tax purposes. The loss is recognized even if you immediately repurchase. This is a major advantage for Indian investors. Strategy: Book loss on March 30, buy back on March 31 or April 1 if you still believe in the stock's long-term potential.

What's the deadline for tax loss harvesting in India?

March 31 is the final deadline. Losses must be REALIZED (stocks actually sold) before financial year ends. For FY 2025-26, deadline is March 31, 2026. Losses booked after this date will count for next financial year. Best practice: Review portfolio in Feb, identify loss candidates, execute sales in early March. Don't wait till last week as exchanges might be closed for holidays. Also, file ITR before July 31 deadline to carry forward unused losses for 8 years.

Can I offset short-term loss with long-term gains?

YES! Short-term capital loss (STCL) can offset BOTH short-term and long-term capital gains. However, long-term capital loss (LTCL) can ONLY offset long-term capital gains (LTCG), NOT short-term gains (STCG). Priority: STCL first offsets STCG, remaining STCL offsets LTCG. LTCL offsets only LTCG. Example: ₹5L STCG + ₹3L STCL = ₹2L taxable STCG. But ₹5L STCG + ₹3L LTCL = ₹5L taxable STCG (LTCL cannot offset STCG, but can be carried forward).

How many years can I carry forward capital losses?

Capital losses can be carried forward for 8 assessment years from the year of loss. Critical condition: You MUST file ITR before the due date (usually July 31) to claim carry forward. Late filing = loss of carry forward benefit. Example: Loss in FY 2025-26, you can use it until AY 2034-35. Can adjust these losses against future capital gains in any of these 8 years. Losses are adjusted year-wise (oldest first). Track your carried forward losses carefully in each year's ITR.

What's the difference between STCG and LTCG tax rates?

For listed equity shares: STCG (holding < 1 year) = 15% + 4% cess = 15.6% flat rate regardless of income. LTCG (holding ≥ 1 year) = 10% on gains exceeding ₹1 lakh per year (first ₹1L tax-free). No indexation benefit on equity. For debt/other assets: STCG taxed as per your income slab (0-30%). LTCG = 20% with indexation benefit. Key insight: If your income tax slab is 30%, you pay 30% on STCG but only 15.6% on equity STCG - huge difference!

Should I include brokerage and STT in cost calculation?

YES for brokerage, NO for STT on equity. Purchase cost = stock price + brokerage paid. Sale price = selling price - brokerage paid. This increases your cost basis and reduces taxable gains (or increases losses). However, STT (Securities Transaction Tax) paid on equity shares is NOT added to cost or reduced from sale price - it's a separate non-deductible expense. For derivatives/commodities, different rules apply. Always check your broker's contract note for accurate brokerage and STT amounts before calculating capital gains.

Can intraday/F&O losses offset delivery-based stock gains?

NO! Intraday trading and F&O losses are classified as "speculative losses" under Section 43(5). They can ONLY offset speculative gains (other intraday/F&O gains), NOT delivery-based capital gains. Unused speculative losses can be carried forward for 4 years (not 8). This is why professional traders segregate: 1) Delivery portfolio (capital gains), 2) Intraday/F&O (speculative). Track both separately in ITR. If you want to offset equity gains, sell loss-making delivery stocks, not F&O/intraday.

Is tax loss harvesting legal? Will IT department question it?

Absolutely LEGAL! Tax loss harvesting is a legitimate tax planning strategy recognized worldwide. As long as transactions are genuine (actual sales, not fake), there's no issue. IT department expects rational behavior - booking losses is normal investment management. However: 1) Maintain all records (contract notes, bank statements), 2) Report correctly in ITR with accurate dates and amounts, 3) Don't create circular transactions (sell to relative, buy back same day at same price - sham transactions). Genuine loss booking even with immediate buyback is perfectly fine.

What if my losses exceed my gains?

Excess losses can be carried forward for 8 years to offset future capital gains. Example: FY 2025-26 → ₹2L gains, ₹5L losses = ₹3L unused loss carried forward. FY 2026-27 → ₹6L gains, use ₹3L old loss = ₹3L net taxable gain. IMPORTANT: File ITR before due date to carry forward. Even if you have no income, file ITR to preserve loss carry-forward benefit. You can claim these losses against future gains in any of next 8 years. Track carried forward amounts carefully each year.

Which stocks should I sell for tax harvesting?

Strategic selection is key: 1) Fundamentally weak stocks: Companies with deteriorating business, sector headwinds (exit and don't look back), 2) Speculation gone wrong: Small caps/penny stocks you bought on tips (book loss and move on), 3) Overweight positions in loss: If you're overweight in a sector that's down, book loss and rebalance, 4) Short-term losers: If stock fell 20%+ in few months, book loss and reassess. DON'T sell: Quality companies in temporary correction, stocks near reversal, holdings you strongly believe in. You can sell and buy back next day if needed!

How to report tax loss harvesting in ITR?

Step-by-step: 1) Use ITR-2 (if salaried) or ITR-3 (if business), 2) Go to "Capital Gains" schedule, 3) For STCG: Fill Short Term Capital Gains section - mention stock name (or number of transactions), sale value, cost, expenses, net gain/loss, 4) For LTCG: Fill Long Term section similarly, 5) System auto-calculates total gains minus losses, 6) If net loss, it goes to "Losses to be carried forward" automatically, 7) Attach capital gains statement from broker (some require this), 8) E-verify within 120 days. Keep contract notes for 7 years in case of scrutiny.

📚 Learn More: Essential Reading

📖

Commodity Tax India

Master the fundamentals with expert insights and real-world examples

Read Article →
💡

Itr For Traders

Deep dive into advanced strategies used by professional traders

Read Article →
🎓

Trading Tax Calculator

Learn from market history and avoid costly mistakes

Read Article →