Meera bought 100 shares of a listed company and, a while later, sold them for ₹60,000 more than she paid. Whether she owes about ₹12,400 or nothing at all depends mostly on one date. Capital gains tax on shares is the tax on your profit when you sell listed shares you held as an investment. Gains on shares held for 12 months or less are short-term capital gains (STCG), taxed at 20%. Gains on shares held longer are long-term capital gains (LTCG), taxed at 12.5% on the part above ₹1.25 lakh a year. Cess of 4% is added, and surcharge at higher incomes.
How are STCG and LTCG on shares taxed?
The rate depends only on how long you held the shares, counted from the day you bought them to the day you sold. For listed shares, the dividing line is 12 months.
| Point | Short-term (STCG) | Long-term (LTCG) |
|---|---|---|
| Holding period | 12 months or less | More than 12 months |
| Rate | 20% | 12.5%, no indexation |
| Yearly allowance | None | First ₹1.25 lakh of long-term gains is tax-free |
| STT condition | STT paid on the sale | STT paid on the purchase and the sale |
| Section (2025 Act, with 1961 Act) | 196 (111A) | 198 (112A) |
As of December 2026. These rates apply to sales from 23 July 2024; before that they were 15% and 10% above ₹1 lakh. Surcharge on these gains is capped at 15%. Check the Income Tax Department website.
The STT condition rarely trips anyone up, because every share bought or sold on an exchange pays it. Shares you got without paying STT, such as in an IPO, a bonus issue or a rights issue, are covered by exceptions the government has notified, so their long-term gains still get the 12.5% rate.
How do you work out the gain?
The gain is what you received from the sale less what the shares cost you. Brokerage and other charges on the purchase add to your cost, and charges on the sale reduce what you received. Securities transaction tax is the exception: it can't be deducted in working out capital gains.
Here's Meera's sale, a hypothetical example. She bought 100 shares at ₹1,000 each and sold them at ₹1,600.
| Step | Sold after 10 months | Sold after 20 months |
|---|---|---|
| Sale value (100 × ₹1,600) | ₹1,60,000 | ₹1,60,000 |
| Less: charges on the sale (excluding STT) | ₹160 | ₹160 |
| Less: cost (100 × ₹1,000) plus charges on the purchase | ₹1,00,100 | ₹1,00,100 |
| Capital gain | ₹59,740 short-term | ₹59,740 long-term |
| Taxable part | ₹59,740 | Nil, within the ₹1.25 lakh allowance |
| Tax at 20% or 12.5%, plus 4% cess | ₹12,426 | ₹0 |
Same shares, same profit, and a tax bill of ₹12,426 against nothing. Tax shouldn't be the only reason to hold or sell, but near the 12-month mark it's worth knowing the date. The lesson on when to sell a stock puts tax alongside the other reasons.
How does the ₹1.25 lakh exemption work?
It's a yearly allowance on long-term gains, not a per-share one. The first ₹1.25 lakh of your total long-term gains in a tax year from listed shares, equity mutual funds and business trust units is tax-free; the rest is taxed at 12.5%.
- It's shared across shares and equity funds, so long-term gains on an equity fund use up the same ₹1.25 lakh. The lesson on mutual fund taxation covers the fund side.
- It doesn't carry forward. An unused part lapses at the end of the tax year.
- It doesn't apply to short-term gains, which are taxed from the first rupee.
Say you have long-term gains of ₹3 lakh in a year. Tax is 12.5% of ₹1.75 lakh, ₹21,875, plus ₹875 cess: ₹22,750 in all. If you're a resident and your other income is below the basic exemption limit, the unused part of that limit also reduces the gain before tax.
What is grandfathering for shares bought before 2018?
Long-term gains on listed shares were tax-free until 31 March 2018. When the tax came back, gains made up to 31 January 2018 were protected, or "grandfathered". For shares bought before 1 February 2018, your cost is the higher of:
- what you actually paid, and
- the lower of the share's highest price on 31 January 2018 and the price you sold at.
Take Arun, a hypothetical investor, who bought shares at ₹200 in 2015. Their highest price on 31 January 2018 was ₹500, and he sells at ₹900. His cost for tax is ₹500, the higher of ₹200 and the lower of ₹500 and ₹900, so his taxable gain is ₹400 a share, not ₹700. If he had sold at ₹300 instead, his cost would be ₹300 and the gain nil: the rule can wipe out a gain, but it can't create a loss.
How are IPO, bonus, rights and split shares treated?
The general rule stays the same: cost in, sale value out, and the holding period decides the rate. What changes is what counts as the cost and the date.
| How you got the shares | Cost for tax | Holding period starts |
|---|---|---|
| IPO allotment | The issue price | Date of allotment |
| Bonus issue | Nil | Date the bonus shares were allotted |
| Rights issue | The price you paid for them | Date of allotment |
| Sold your rights entitlement instead | Nil, so the whole amount you receive is a gain | Date of the rights offer, so the gain is almost always short-term |
| Stock split | Your original cost, spread across the new shares | Your original purchase date |
The bonus rule surprises people. Say you held 100 shares and received 100 bonus shares; the share price roughly halves. Your original 100 shares keep their cost, so if you sell them they show a loss, while the bonus shares, with nil cost, show a large gain. Bonus shares allotted before 1 February 2018 can still use the grandfathering rule above.
There's one catch, aimed at buying shares only for the bonus. If you bought the original shares within three months before the bonus record date and sell them within nine months after it while keeping the bonus shares, the loss on that sale is ignored. It isn't lost: it's added to the cost of the bonus shares you still hold, so it reduces the gain when you sell those (section 175(9) and (10) of the 2025 Act, earlier section 94(8)). The lessons on how an IPO works and shareholder rights explain the events themselves.
Does the tax regime or the rebate change this?
No. The 20% and 12.5% rates apply in the new and the old regime alike. The new regime's rebate, which makes taxable income up to ₹12 lakh tax-free, applies to tax at slab rates and doesn't cancel tax on these gains. So someone with a small salary and a large short-term gain can owe tax even though their total income is under ₹12 lakh.
What if you sold at a loss, or you're an NRI?
- Losses: a short-term capital loss can be set off against short-term or long-term gains; a long-term loss only against long-term gains. Neither can reduce your salary or other income. Unused losses carry forward for 8 tax years if you file your return by the due date (Income Tax Department e-filing help). The lesson on set-off and carry forward of losses covers the details.
- NRIs pay the same rates, but tax is usually deducted when the shares are sold, and a tax treaty may lower it. The lesson on how NRIs can invest in Indian shares covers the account rules.
- Buybacks are now taxed as capital gains too; see how dividends and share buybacks are taxed.
Everything above assumes you hold the shares as investments. If you trade so often that your shares are stock-in-trade, the profit is business income instead; see investor or trader.
Key takeaways
- Listed shares held 12 months or less give short-term gains taxed at 20%; held longer, long-term gains taxed at 12.5% on the part above ₹1.25 lakh a year, plus 4% cess.
- The gain is the sale value less your purchase cost and the charges on both trades; securities transaction tax isn't deductible.
- For shares bought before 1 February 2018, the 31 January 2018 price can replace your cost, so gains made before that date stay untaxed.
- Bonus shares have a nil cost and start their holding period on allotment; a split spreads your original cost and keeps your original date.
- Buy shares within three months before a bonus record date and sell them within nine months after it, and the loss is moved to the cost of the bonus shares.
Quick quiz
3 quick questions on this lesson. Choose your answers, then press Check answers.
Facts checked: 5 December 2026.
Official sources:
- Explanatory memorandum to the Finance Bill, 2026 (direct taxes)
- Income Tax Department e-filing help: set-off and carry forward of losses
- Income Tax Department e-filing portal
Disclaimer: This lesson is for educational purposes only. It is not investment, tax or legal advice and does not recommend buying or selling any security, fund or other product. The author is not registered with SEBI as an investment adviser or research analyst. Companies, people and figures in the examples are hypothetical unless stated otherwise. Investments in the securities market are subject to market risks. Rules and rates change, so check the official sources before you act, and consult a SEBI-registered investment adviser for advice on your own situation. The author is not a chartered accountant; check your own return with a chartered accountant or tax practitioner.
Microsoft Power Platform Learning Resources
NPS vs PPF vs Equity: Plan Your Retirement in India
Annual Financial Review: Why You Need One