How to use the capital gains tax calculator
- Pick the financial year in which you sold, your residential status, regime and other income.
- For every sale, enter the buy date, sell date, total buy value and total sale value. Add brokerage or other selling costs if you want them deducted (STT is not deductible).
- Bought before 1 February 2018? Enter the value of the same shares or units at the highest price quoted on 31 January 2018 (NAV for mutual funds) to apply grandfathering.
- Read the result: net STCG and LTCG after set-off, the ₹1.25 lakh exemption used, tax with cess, losses to carry forward and your remaining tax-free harvesting room.
Capital gains tax rates on shares and equity mutual funds
| Sale date | Held 12 months or less (STCG) | Held more than 12 months (LTCG) | LTCG exemption per year |
| Up to 22 July 2024 | 15% | 10% | ₹1 lakh till FY 2023-24; ₹1.25 lakh for FY 2024-25 as a whole |
| 23 July 2024 onwards | 20% | 12.5% |
| FY 2025-26 and FY 2026-27 | 20% | 12.5% | ₹1.25 lakh |
Health and education cess of 4% is added. If your total income is above ₹50 lakh, surcharge applies, but on these gains it never goes above 15%. Indexation does not apply to listed equity.
When does a holding become long-term?
Listed shares and equity fund units are long-term when held for more than 12 months. A share bought on 10 January 2026 and sold on 10 January 2027 is still short-term; selling on 11 January 2027 makes it long-term. The calculator shows the first long-term date for every short-term lot and how much tax waiting would save at the same price.
Grandfathering for shares bought before 1 February 2018
For long-term sales of equity bought on or before 31 January 2018, the cost is the higher of (a) your actual cost and (b) the lower of the 31 January 2018 fair market value and your sale value. Example: you paid ₹1,00,000, the value on 31 Jan 2018 was ₹4,00,000 and you sold for ₹10,00,000. The cost becomes ₹4,00,000 and the gain is ₹6,00,000, not ₹9,00,000.
How losses are set off
- Short-term capital loss can be set off against both short-term and long-term gains. The calculator uses it against 20% STCG first, because that saves the most tax.
- Long-term capital loss can only be set off against long-term gains.
- Capital losses cannot be set off against salary or other income. Unused losses carry forward for 8 years if you file your return by the due date.
- Set-off happens before the ₹1.25 lakh exemption, so a loss can eat into gains that would have been tax-free anyway.
Tax harvesting before 31 March
The ₹1.25 lakh LTCG exemption resets every year and cannot be carried forward. If your net LTCG for the year is below ₹1.25 lakh, you can sell long-term holdings with gains up to the unused amount, pay no tax, and buy back to reset your cost higher. That cuts tax on a future sale by up to ₹16,250 (₹1.25 lakh × 12.5% + cess). Allow for exit loads and trading costs, and sell a few working days before 31 March so the trade or NAV date falls in the right year.
Basic exemption limit for residents
If you are a resident and your other income is below the basic exemption limit (₹4 lakh in the new regime from FY 2025-26; ₹2.5 lakh, ₹3 lakh or ₹5 lakh in the old regime by age), the unused part can absorb STCG and LTCG. With no other income, up to ₹5.25 lakh of LTCG can be tax-free in the new regime. Non-residents do not get this adjustment.
Section numbers under the Income-tax Act, 2025
From 1 April 2026 the Income-tax Act, 2025 replaced the 1961 Act. Rates and rules are unchanged; only numbers changed: section 111A is now section 196, 112A is section 198, set-off within a head (70) is section 108 and carry-forward of capital losses (74) is section 111. The result labels change with the year you pick.
Frequently asked questions
What is the capital gains tax on shares in FY 2026-27?
Short-term gains (held 12 months or less) on listed shares and equity mutual funds are taxed at 20%. Long-term gains are taxed at 12.5% on the amount above ₹1.25 lakh a year. Add 4% cess, and surcharge (capped at 15%) if your income is above ₹50 lakh.
Is LTCG up to ₹1.25 lakh tax-free every year?
Yes. The first ₹1.25 lakh of net long-term gains on listed equity, equity mutual funds and business trust units in a financial year is exempt. It applies after setting off losses and does not carry forward.
Does the 87A rebate apply to capital gains?
In the new regime the rebate cannot be used against tax on STCG under section 111A/196 or LTCG under 112A/198 from FY 2025-26. In the old regime it can reduce tax on STCG (not LTCG) when total income is up to ₹5 lakh. This calculator does not deduct the rebate.
How is the holding period counted for mutual fund SIPs?
Each SIP instalment is a separate purchase with its own date. On redemption, units are treated as sold first-in, first-out, so add one lot per instalment that was redeemed. Your CAS or AMC capital gains statement lists them.
Can I deduct STT and brokerage?
Brokerage, exchange charges and stamp duty on the sale can be added as selling expenses (and on purchase, included in cost). Securities transaction tax (STT) is not deductible.
Does this work for debt mutual funds, gold or property?
No. Debt funds bought on or after 1 April 2023 are taxed at slab rates whatever the holding period; gold, unlisted shares and property have 24-month rules and different rates. This tool is only for listed equity and equity-oriented funds sold with STT.
How much tax does tax harvesting save?
Booking ₹1.25 lakh of long-term gains tax-free each year raises your cost, which can save up to about ₹16,250 of tax when you finally sell (more with surcharge). Enter your unrealised long-term gains to see your remaining room.
Are dividends included?
No. Dividends are taxed at slab rates as other income, not as capital gains.
Is my data uploaded?
No. All calculations run in your browser. Nothing you type is sent to ITCOH Tools.
Sources