How is tax on shares calculated?
For listed shares sold on an exchange (STT paid) the holding period is 12 months. Sold within it, the gain is short term and taxed at 20% (s.196 (was 111A)). Held longer, it is long term: the first ₹1,25,000 of such gains in a year is exempt and the rest is taxed at 12.5% (s.198 (was 112A)). Add selling costs such as brokerage to the cost side.
Worked example: sold within 12 months
- Bought ₹2,00,000 on 1 Jan 2026, sold 1 Jun 2026 for ₹2,50,000: gain ₹50,000 after 5 months.
- ₹50,000 × 20% plus cess = ₹10,400; you keep ₹2,39,600 of the sale.
Worked example: sold after 3 years
- ₹5,00,000 bought 10 Jan 2023 and sold 15 Jun 2026 for ₹8,00,000: gain ₹3,00,000. Less the ₹1,25,000 allowance, ₹1,75,000 is taxed at 12.5%: ₹22,750.
Which shares get the equity rates?
Shares and equity fund units sold on a recognised exchange with securities transaction tax (STT) paid. An off-market sale or unlisted shares are taxed like other assets: slab rates up to 24 months, then 12.5%. Untick "Sold on an exchange" under Tax details to see that case. Shares bought before 1 February 2018 are grandfathered: enter the grandfathered value as the purchase price.
Questions people ask
How much tax do I pay on shares sold within a year?
20% of the gain, plus cess: ₹10,400 on a ₹50,000 gain.
Is there a tax-free limit on share gains?
Yes, for long-term gains: the first ₹1,25,000 in a year. On a ₹3,00,000 gain, ₹1,25,000 is free and ₹1,75,000 pays 12.5%.
Does STT matter?
Yes. The 20% and 12.5% equity rates need STT paid on the sale. Without it the shares are taxed as other assets.
Can I set off a share loss against a gain?
The Act allows losses to be set off and carried forward, but this calculator does not model losses: it shows no tax when the sale price is not above the cost.
Where does the cess come from?
A 4% health and education cess is added to the tax. Surcharge on these gains is capped at 15%.
Sources
- Government of India (e-Gazette): Income-tax Act, 2025: capital gains (s.196 (was 111A), s.197 (was 112), s.198 (was 112A)), s.72 and s.76
- Government of India (e-Gazette): Finance Act, 2026: First Schedule Part I-B Paragraph F (surcharge on capital gains at most 15%)
- Income Tax Department: Income Tax e-filing portal: forms, rules and guides
More capital gains tax calculator tools
- Capital gains tax calculator: the full calculator with every option
- Capital gains tax on property calculator: Property sale: indexed or 12.5% tax and reinvestment exemption
- Capital gains tax on mutual funds calculator: Equity and debt funds: holding period and the rate that applies
Related calculators
- Capital gains tax calculator: Tax on shares, funds, property and gold: holding period, rate, exemption
- Income tax calculator: Old vs new regime, FY 2026-27
- SIP calculator: Monthly SIP with step-up and lumpsum
- Advance tax calculator: Advance tax due and the four instalment dates
- Salary calculator (CTC to in-hand): Monthly take-home from CTC
- HRA exemption calculator: Tax-free HRA under the old regime
- Gratuity calculator: Gratuity from last salary and years of service
- GST calculator: Add or remove GST, CGST/SGST split
Published by wiseowlcalc · Last updated · India, FY 2026-27 · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy). Rules: 2026-27, checked 25 Nov 2026. Equity bought before 1 February 2018 is grandfathered: enter that value as the cost. Surcharge on these gains is capped at 15%, and marginal relief is not applied, so tax above ₹50 lakh of income is about. Losses and their carry-forward are not modelled. Estimate, not tax advice.
Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.