Skip to content
CalcFriend CalcFriend home

Popular

Can't find it? See all calculators

Menu

Capital Gains Tax Calculator

By Marthala Vivekananda Reddy Updated How we calculate

Selling shares, a fund, a house or gold? See whether the gain is short or long-term, what is tax-free and the tax you will pay.

What did you sell?

Listed shares and equity mutual funds (STT paid).

₹

2 lakh

What you paid in total (for shares and funds: all units sold).

₹

5 lakh

Costs and other gains this year
₹

Brokerage and other charges on the trades.

₹

The ₹1.25 lakh tax-free limit is for the whole year, across all your shares and equity funds.

Tax on this gain

₹22,750

Gain
₹3,00,000
Held for
3 years 5 months · Long-term
Tax-free (₹1.25 lakh limit)
₹1,25,000
Taxed at
12.5%
Tax
₹21,875
Health & education cess (4%)
₹875

In simple words

You held this for 3 years 5 months, so it is a long-term gain. On a gain of ₹3,00,000, after the ₹1,25,000 that is tax-free, the tax is ₹22,750 including 4% cess.

Tip

Long-term equity gains up to ₹1.25 lakh a year are tax-free. Many investors sell and buy back units each year to use this limit (“tax harvesting”), which raises their cost for the future.

Share or save this result:

Add this calculator to your website, free

Copy this code and paste it into your blog or website. It works on WordPress, Blogger and most site builders.

Capital Gains Tax Calculator by CalcFriend ↗

Capital gains tax rates at a glance (FY 2026-27)

What you sellLong-term afterShort-term taxLong-term tax
Listed shares, equity mutual funds12 months20%12.5% above ₹1.25 lakh a year
House, flat or land24 monthsSlab rate12.5% (or 20% with indexation if bought before 23 Jul 2024)
Gold ETFs12 monthsSlab rate12.5%
Physical gold, jewellery, gold funds24 monthsSlab rate12.5%
Debt funds bought from 1 Apr 2023NeverAlways at your slab rate
Unlisted shares, older debt funds24 monthsSlab rate12.5%

Add 4% health and education cess to every rate. Very high incomes also pay surcharge.

Worked examples

Shares held for more than a year

You bought shares for ₹2 lakh in January 2023 and sold them for ₹5 lakh in June 2026. The gain is ₹3,00,000. The first ₹1,25,000 is tax-free, so ₹1,75,000 is taxed at 12.5%: ₹22,750 including cess.

Shares sold within a year

Bought for ₹2 lakh in January 2026 and sold for ₹3 lakh in October 2026, the ₹1,00,000 gain is short-term and taxed at 20%: ₹20,800 including cess.

A flat bought in 2010

Bought for ₹30 lakh in May 2010 and sold for ₹1 crore in August 2026 with ₹1 lakh of costs. Without indexation the gain is ₹69,00,000, and 12.5% of it is ₹8,97,000 with cess. With indexation the cost rises from ₹30 lakh to ₹68,98,204 (cost inflation index 167 to 384), so the gain is ₹30,01,796 and 20% of it is ₹6,24,374. You pay the lower: ₹6,24,374.

How the holding period works

An asset is long-term if you hold it for more than 12 or 24 months, counted from the date you bought it to the date you sold it. Shares bought on 15 June 2025 become long-term if sold on or after 16 June 2026. For mutual fund units bought through a SIP, each instalment has its own purchase date, so some units can be long-term while later ones are still short-term.

Ways to reduce the tax, legally

  • Use the ₹1.25 lakh limit every year on long-term equity gains (tax harvesting).
  • Set off losses against gains in the same year; unused losses carry forward for 8 years if you file on time.
  • Reinvest property gains in another house (Section 54) or specified bonds within 6 months (Section 54EC, up to ₹50 lakh).
  • Hold a little longer if a sale is just short of the long-term mark.

Cost inflation index

For property bought before 23 July 2024, indexation raises your purchase cost in line with inflation using this index. FY 2026-27 is 384 (CBDT Notification 85/2026). Some recent values:

Financial yearIndex
2026-27384
2025-26376
2024-25363
2023-24348
2022-23331
2020-21301
2015-16254
2010-11167
2005-06117
2001-02100

Rules for resident individuals under the Income-tax Act, 2025 (rates as set in July 2024 and unchanged by Budget 2026). Shares and funds must be STT-paid for the equity rates. This is an estimate: check the final figures with your capital gains statement or a CA.

Frequently asked questions

How much tax do I pay on long-term gains from shares and mutual funds?

For listed shares and equity mutual funds held for more than 12 months, gains above ₹1.25 lakh in a year are taxed at 12.5%, plus 4% cess. The first ₹1.25 lakh of such gains each year is tax-free.

What is the tax on short-term gains from shares?

Listed shares and equity mutual funds sold within 12 months are taxed at 20% on the whole gain, plus 4% cess. The ₹1.25 lakh exemption does not apply to short-term gains.

Can I still use indexation when I sell a house?

Only for land or buildings bought before 23 July 2024, and only for resident individuals and HUFs. You can then pay the lower of 12.5% without indexation or 20% with indexation. For property bought later, it is 12.5% without indexation.

How are debt mutual funds taxed now?

Debt funds bought on or after 1 April 2023 are taxed at your income slab rate, however long you hold them. Debt funds bought before that are long-term after 24 months and taxed at 12.5% without indexation.

Does the ₹12 lakh tax-free limit cover capital gains?

No. The rebate that makes income up to ₹12 lakh tax-free in the new regime does not apply to capital gains taxed at special rates, such as equity gains at 12.5% or 20%.

Do I have to pay surcharge on capital gains?

Only at high incomes (above ₹50 lakh). Surcharge on gains from shares, equity funds and other listed securities is capped at 15%. This calculator shows the tax and cess without surcharge.

Please note: This calculator gives an estimate to help you plan. It is not financial advice. Your bank, lender or fund may calculate slightly differently, so always check the final numbers with them.