Tax Loss HarvesterFY 2024-25 Ready

Offset your stock market gains and reduce your tax bill before March 31st. Automatically find which loss-making stocks to sell to minimize your STCG and LTCG liability.

Step 1: Your Realized Gains

Enter gains you have already booked this financial year.

Current Tax Bill

₹0

₹

Taxed at 20% flat.

₹0

₹

First ₹1.25L exempt, then 12.5%.

₹0

Step 2: Add Loss-Making Holdings

Add stocks from your portfolio manually or upload a CSV.

No holdings added yet. Add your loss-making stocks above.
Verified for FY 2026-27 (AY 2027-28)Rigorous Indian Finance Standards

Formulas, statutory slab logic, and edge-case exceptions authored and reviewed by Ganamurthy N N (M.S. Software Engineering, BITS Pilani | CFP® Certification Candidate — 3/4 Modules Cleared) • View Editorial Methodology →

Statutory Ground Truth
Income Tax Act, 1961 (Section 112A & Section 70)SEBI T+1 Settlement FrameworkSection 43(5) Speculative Transaction Rules
Mathematical Blueprint

Tax Loss Harvesting & Tax-Gain Reset Formula

Portfolio Optimization Algorithm

Tax harvesting strategically realizes unrealized capital losses to neutralize taxable realized gains, or resets the cost basis of long-term equity by booking up to ₹1.25 Lakhs in tax-free gains every financial year.

Core Algorithmic Formulation
Tax-Gain Harvesting Opportunity = Max(0, ₹1,25,000 - Realized LTCG YTD) Tax Saved via Gain Harvesting = Tax-Gain Opportunity × 12.5% × 1.04 Tax-Loss Offset = Min(Unrealized STCL, Realized STCG + Taxable LTCG) Tax Saved via Loss Harvesting = (Realized STCG Offset × 20.8%) + (Realized LTCG Offset × 13.0%)
Cost Basis Reset
Stepped-Up Basis

Selling and immediately repurchasing units raises your acquisition price to current market value, lowering future taxable gains.

₹1.25L Exemption
Annual Use-It-or-Lose-It

Unused Section 112A exemption does NOT carry over to the next financial year.

T+1 Settlement
Execution Timing

Executing sells before the final trading days of March ensures delivery settlement within the financial year.

Worked Example: Gain Harvesting ₹1.25L + Offsetting ₹50k STCG

Scenario: Investor holds ₹1,20,000 in unrealized LTCG on Nifty 50 units and ₹50,000 in realized STCG from stock trades during FY 2026-27.

Step 1:Realized LTCG Year-to-DateFull ₹1.25L Section 112A limit is unutilized
₹0
Step 2:Redeem & Reinvest Nifty 50 UnitsCost basis reset to current market price
₹1,20,000 Gain Realized
Step 3:Tax on Harvested LTCGFully sheltered within the ₹1.25L exemption
₹0 (100% Tax-Free)
Step 4:Realize ₹50,000 STCL from Underperforming StockOffsets realized STCG of ₹50,000
- ₹50,000 Loss Realized
Step 5:Direct Cash Tax Saved20% STCG + 4% Cess on ₹50,000 avoided
₹10,400 Cash Saved
Calculated OutcomeTotal Net Tax Advantage

Saved ₹10,400 immediate cash tax + ₹15,600 future deferred LTCG tax!

₹26,000 Future & Present Tax Saved
Comparative Benchmark

Tax Gain Harvesting vs. Tax Loss Harvesting

Two complementary strategies for Indian equity investors

Strategy DimensionTax-Gain Harvesting (Section 112A)Tax-Loss Harvesting (Section 70)
Primary ObjectiveUtilize annual ₹1.25 Lakh tax-free LTCG quotaNeutralize taxable gains by realizing unrealized losses
Target Asset StateUnits with unrealized Long-Term Gains (>12 months)Holdings currently in the red (unrealized losses)
Tax Bracket ImpactSaves 12.5% future tax on up to ₹1.25 Lakhs/yearSaves 20% on STCG or 12.5% on LTCG immediately
Reinvestment TimingReinvest immediately to reset acquisition cost basisRebuy on T+1 or switch to alternative index fund
Annual DeadlineMust settle on or before March 31 (No carryover)Must settle on or before March 31 (ITR filed by July 31)

* Both harvesting strategies require execution before the last trading day of the financial year.

Practical Nuances

What Most Taxpayers & Investors Miss

Intraday Trap

Beware of Intraday Speculation Rules on Same-Day Rebuys

Selling and buying back the same stock in the same demat account on the same trading day is classified as an intraday speculative trade. To harvest loss legally, buy back on T+1 settlement or switch to a comparable ETF.

Proxy Rebalancing

Use Alternative Index Funds to Maintain Market Exposure

If you harvest losses on a Nifty 50 ETF, immediately reinvest proceeds into a BSE Sensex or Nifty LargeMidcap 250 fund. You lock in the tax loss while remaining 100% invested without missing a market rebound.

Frictional Costs

Factor in Exit Loads & STT Brokerage Costs

Before harvesting mutual fund gains, ensure the fund has crossed its 1-year exit load period (typically 1%). Ensure brokerage + STT costs are significantly lower than the 12.5% tax saved.

Zero-Fluff Clarifications

Frequently Asked Questions & Edge Cases

What is Tax Gain Harvesting and why should every Indian investor do it every year?

Under Section 112A, the first ₹1,25,000 of Long-Term Capital Gains on equity shares and equity mutual funds is 100% tax-free every financial year. However, this exemption is "use-it-or-lose-it"—it does not accumulate or roll over to future years. Tax Gain Harvesting involves selling units with up to ₹1.25 Lakhs in accumulated LTCG before March 31 and immediately repurchasing them. This resets your cost basis to the current market price without paying a single rupee in tax, permanently protecting those gains from future taxes.

Does the Wash Sale Rule apply in India?

India does not have a formal US-style 30-day wash-sale restriction. However, Section 43(5) treats transactions settled without physical delivery (i.e. buying and selling on the exact same trading day) as speculative intraday transactions. To ensure valid loss harvesting, execute your sell order, await T+1 physical delivery settlement, and repurchase the security the following day (or buy an equivalent alternative index fund).

How does FIFO (First-In, First-Out) affect harvesting ongoing SIPs?

When you harvest gains from mutual funds held across regular monthly SIPs, units are redeemed on a strict FIFO basis. The earliest purchased units are redeemed first. Only units that have completed at least 365 days of holding will be eligible for the ₹1.25 Lakh LTCG exemption; units held for less than a year will be taxed as STCG at 20%.

Can Long-Term Capital Losses (LTCL) offset Short-Term Capital Gains (STCG)?

No! Under Section 70 of the Income Tax Act, an asymmetry exists: • Short-Term Capital Losses (STCL) CAN offset both STCG and LTCG. • Long-Term Capital Losses (LTCL) can ONLY offset Long-Term Capital Gains. You cannot use an LTCL to reduce your 20% STCG tax liability.

What is the last date to execute tax harvesting for FY 2026-27?

Because Indian stock exchanges operate on a T+1 settlement cycle, your sell trades must be executed and settled on or before the final trading day of March (typically March 30 or March 31). Trades executed on non-trading bank holidays will settle in April (FY 2027-28), causing you to miss the current financial year's deadline.