Capital gains calculator

Tax on the gain

₹3,250

Long term: owned for more than 12 months.

Gain
₹1,50,000₹4,00,000 − ₹2,50,000.
Exempt
₹1,25,000Up to ₹1,25,000 a year. No other long-term gains are counted.
Taxable gain
₹25,000₹1,50,000 − ₹1,25,000.
Tax at 12.5%
₹3,12512.5% of ₹25,000.
Cess at 4%
₹1254% of ₹3,125.
Gain after tax
₹1,46,750₹1,50,000 − ₹3,250 of tax and cess.

Capital gains on listed shares: basics and FAQs

What does this calculator work out?

The tax on a capital gain from one sale of listed equity shares on which securities transaction tax (STT) is paid, for a resident individual and a sale in the financial year 2026-27. A capital gain is the sale amount less the purchase amount.

What are short term and long term?

A gain is long term when the shares were owned for more than 12 months, and short term when they were owned for 12 months or less. The 12 months are set by section 2(101) of the Income-tax Act, 2025.

The purchase date and the sale date both count. For a purchase on 15 September 2025, a sale up to 14 September 2026 is short term and a sale from 15 September 2026 is long term.

What are the rates?

Short term
20% of the gain. Section 196 of the Income-tax Act, 2025.
Long term
12.5% of the gain above ₹1,25,000 in a financial year. Section 198 of the Income-tax Act, 2025.
Cess
4% of the tax, as health and education cess. Finance Act, 2026.

Both rates took effect on 23 July 2024. The Income-tax Act, 2025 has applied since 1 April 2026. For a sale before that date the same rates are in sections 111A (short term) and 112A (long term) of the Income-tax Act, 1961.

The rates apply where STT is paid on the sale. For the long-term rate on shares, STT must also have been paid on the purchase, with some exceptions.

Rates last checked on 4 November 2026.

How is the tax worked out?

Gain = sale amount − purchase amount
Long term: tax = 12.5% × (gain − ₹1,25,000)
Short term: tax = 20% × gain
Cess = 4% × tax

Worked example: a purchase amount of ₹2,50,000 on 10 June 2024 and a sale amount of ₹4,00,000 on 15 September 2026. The gain is ₹1,50,000 and it is long term. Less the exempt ₹1,25,000, the taxable gain is ₹25,000. Tax at 12.5% is ₹3,125 and cess at 4% is ₹125: ₹3,250 in all. The gain after tax is ₹1,46,750.

A short-term gain has no exempt amount of this kind. A purchase amount of ₹2,00,000 on 12 March 2026 and a sale amount of ₹2,60,000 on 15 September 2026 is a short-term gain of ₹60,000. Tax at 20% is ₹12,000 and cess is ₹480: ₹12,480 in all.

What do the terms mean?

Purchase amount
The total paid for the shares in this sale.
Sale amount
The total received for them.
Purchase date, sale date
The trade dates, as on the contract notes.
Gain
The sale amount less the purchase amount.
Exempt
The part of a long-term gain within the ₹1,25,000 limit for the financial year.
Taxable gain
The gain less the exempt part.
Cess
Health and education cess, 4% of the tax.
Gain after tax
The gain less the tax and cess.

Frequently asked questions

Are the rates current?

They were last checked on 4 November 2026 against the Income-tax Act, 2025 and the Finance Act, 2026. The 20% and 12.5% rates have applied to sales since 23 July 2024.

Does it cover shares purchased before 1 February 2018?

No. For those, the law sets the cost using the fair market value on 31 January 2018 (section 90 of the Income-tax Act, 2025), and this calculator does not have that value.

Does it include surcharge?

No. Surcharge is added when total income is above ₹50 lakh: 10%, or 15% above ₹1 crore. On this tax it is never more than 15%.

Does it use the basic exemption limit or the rebate?

No. A resident individual whose other income is below the basic exemption limit pays tax on a smaller part of the gain, and this calculator does not work that out. The rebate under section 156 does not reduce the tax on a long-term gain of this kind.

I have other long-term gains this year. What changes?

The ₹1,25,000 limit is one amount for the financial year, across all long-term gains taxed under section 198. This calculator counts only the sale you enter. If other gains have used part of the limit, the taxable gain is higher by that part.

Does it cover debt funds, unlisted shares, property or gold?

No. It covers listed equity shares on which STT is paid, and nothing else: not mutual fund units, unlisted shares, bonds, property or gold.

What if I had a loss?

There is no tax on a loss. A short-term loss can be set against any capital gain, and a long-term loss against long-term gains only. A loss not used in the year can be carried forward for 8 years. The calculator does not work out a set-off.

Does it take brokerage and other charges into account?

No. It uses the two amounts as typed.

Can I use this figure in my tax return?

It is the tax on this one gain at the rates above. The tax for the year depends on your other income, other gains and losses, surcharge and the return as a whole.

Does the calculator keep what I type?

No. The calculation runs in your browser. Nothing you type is sent or stored, or added to the page address. Sharing the calculator sends only a link to this page.