For the longest time, I used to think taxes on stock market profits were just something you simply accept and pay.
But recently I started exploring tax-loss harvesting, and it completely changed the way I think about managing my portfolio.
For context, I’m a Chartered Accountant, so I was already familiar with the tax rules around capital gains. But even with that background, actually implementing tax harvesting for a real portfolio turned out to be more complicated than it sounds.
For anyone unfamiliar, tax-loss harvesting basically means selling stocks that are in loss to offset your capital gains, which reduces the overall tax you pay.
In India this can be quite useful because:
• Short-term capital gains (STCG) on equities are taxed at 20%
• Long-term capital gains (LTCG) above ₹1.25 lakh are taxed at 12.5%
So if during the year you’ve already booked some gains and you’re holding stocks that are currently in loss, you can sell those loss-making positions and offset them against your gains.
This reduces your taxable income from capital gains.
In theory it sounds simple.
But when I actually tried doing this with my own portfolio, I realised the process can get messy very quickly.
You have to deal with things like:
- FIFO calculations (First-In-First-Out tax lots)
- Identifying short-term vs long-term holdings
- Calculating exact quantities to sell
- Matching losses against existing realized gains
- Going through hundreds or even thousands of trades in a tradebook
Doing all of this manually in Excel was honestly very time consuming.
So I started looking for tools that could help automate the process.
Most tools I found were either:
• Built for US markets, or
• Focused on portfolio tracking, not tax optimisation.
Eventually I came across TaxHarvestLab.com.
What caught my attention was that it’s built specifically for tax harvesting for Indian investors.
The process was pretty straightforward:
- Upload your tradebook
- The system calculates FIFO-based capital gains
- It analyses your portfolio and identifies loss positions
- Then it suggests which stocks and quantities to sell to optimise tax harvesting
What normally takes hours of Excel work was done in seconds.
The most useful part for me was that it doesn’t just show calculations — it actually gives a clear sell plan.
For example:
Sell X quantity of Stock A
Sell Y quantity of Stock B
So you immediately know what action to take.
Another interesting strategy is using the ₹1.25 lakh LTCG tax-free limit each year. Many investors forget that this exemption exists. By harvesting gains strategically, you can reset your cost base without paying tax.
Overall, learning about tax-loss harvesting itself was already valuable. But having a tool that simplifies the calculations makes it much easier to actually implement the strategy in practice.
Curious to know how others here approach this.
Do you calculate tax harvesting manually in Excel, use software, or just ignore it altogether?
Would love to hear what people here are doing.