Skip to content

Capital gains tax on shares: short-term, long-term and set-off

When you sell shares or fund units for more than you paid, the profit is taxed. How much depends on how long you held them. This guide explains the two kinds of gain, the current rates, how losses are used, and works through an example.

6 min read · Last checked 1 Nov 2026. The rates and rules in this guide come from our dated rules data and were last checked against their sources on that day.

Published 1 Nov 2026. Last updated 1 Nov 2026.

Short-term and long-term gains

A capital gain is the profit when you sell something for more than it cost you. The tax is split in two by how long you held it. A short-term capital gain is a profit on something held for a shorter time, and a long-term capital gain is a profit on something held for longer. The split point differs by asset, and long-term gains are usually taxed more lightly.

Rates and the yearly exemption

The table gives the rules in force on 30 Oct 2026 for each kind of asset in our data. Slab rates means the gain is added to your other income and taxed at your normal income tax rate. The yearly exemption is the amount of long-term gain you can make in a financial year (1 April to 31 March) without paying tax on it.

Capital gains tax treatment by asset
AssetLong-term afterShort-term gainLong-term gainYearly exemption
Listed shares12 months20%12.5%₹1,25,000
Equity mutual funds12 months20%12.5%₹1,25,000
Debt mutual fundsNo splitSlab ratesSlab ratesNone
Gold and gold ETFs24 monthsSlab rates12.5%None
Listed bonds12 monthsSlab rates12.5%None
Unlisted shares24 monthsSlab rates12.5%None
Crypto assetsNo split30%30%None

For listed shares and equity mutual funds, short-term gains are taxed at 20% and long-term gains at 12.5% on the part above ₹1,25,000 in a year. The exemption is one amount for the whole year, across all your equity and equity-fund sales.

On top of the tax, a health and education cess of 4% is added, and a surcharge applies at higher incomes. The rate for listed shares was last changed on 23 Jul 2024.

Holding periods

For listed shares the holding period is 12 months. You count from the day you bought. A gain is long-term only if you held for longer than that many months, so exactly 12 months is still short-term. For example, shares bought on 15 Mar 2025 become long-term only if sold after 15 Mar 2026.

Other assets have other periods, shown in the table above. Debt mutual funds bought on or after 1 Apr 2023 have no long-term split at all: their gains are taxed at slab rates whatever the holding period.

Losses and set-off

Set-off means using a loss to reduce a gain so that you pay tax on the net amount. As our tax engine applies it:

  • A short-term loss can be set off against short-term and long-term gains.
  • A long-term loss can be set off only against long-term gains.
  • Capital losses do not reduce other income such as salary.
  • A loss you cannot use this year can be carried forward for 8 financial years, and the tax calculator warns that this works only if the return is filed on time.
  • Crypto is different: losses on it cannot be set off against anything or carried forward.

Source for the set-off rules: Income-tax Act 2025 ss.111, 112 and 113 (Income-tax Act 1961 ss.74, 72 and 73), as implemented in the RupeeScope tax engine. We have not yet re-read the statute text for this page, so check the current provision before relying on it.

A worked example

Two made-up share sales in the financial year 2026-27, worked out by the same engine as the capital gains tax calculator under the new tax regime, for someone with ₹18,00,000 of other income (salary, so the standard deduction applies).

The two sales and their gains
SaleBoughtSoldGainTerm
Share A10 Mar 202615 Sept 2026₹12,000Short-term (6 months)
Share B3 Jun 202415 Sept 2026₹2,10,000Long-term (27 months)

How the tax is built up

Tax lines for the worked example
StepAmountRateTax
Annual long-term exemption on equity gains₹1,25,000
Short-term gains: listed-equity @ 20%₹12,00020%₹2,400.00
Long-term gains: listed-equity @ 12.5%₹85,00012.5%₹10,625.00
Tax at slab rates on other income₹17,25,0008.4058%₹1,45,000.00
Health and education cess₹1,58,0254%₹6,321.00

The extra tax caused by these two sales is ₹13,546.00, about 6.1% of the net gain of ₹2,22,000. Change the inputs in the calculator to see your own.

Open the capital gains tax calculator

What this guide does not cover

  • Sales without STT paid, such as some off-market transfers.
  • Taxpayers aged 60 or above, whose slabs differ.
  • Debt fund units bought before 1 Apr 2023, which follow older rules.
  • Share buy-backs. Budget 2026-27 (Finance Bill 2026) proposed no change to ss.196/197/198 rates, the 12-month period or the 1,25,000 exemption; its capital-gains changes were share buy-back taxation and the Sovereign Gold Bond exemption. Buy-backs are not supported by this engine.
  • Gold bonds sold before maturity, and other special cases.

For your own return, speak to a chartered accountant.

Try it with your numbers

Sources

More guides