Skip to main content
Everyday Tools

Capital Gains Tax Calculator

When you sell shares, mutual funds, property or gold for more than you paid, the profit is a capital gain and it is taxed. The rate depends on the asset and on how long you held it. Short holding periods give short-term gains, and longer ones give long-term gains.

Last reviewed:

₹
₹
₹

Brokerage or other costs of selling.

Mo
Total capital gains tax
₹22,750
Type of gain
Long-term
Capital gain
₹3,00,000
Exemption used
₹1,25,000
Taxable gain
₹1,75,000
Tax rate
12.5%
Tax before cess
₹21,875
Health and education cess (4%)
₹875
Amount left after tax
₹7,77,250
  • Applies to transfers on or after 23 July 2024. Surcharge, indexation for older property purchases, rollover exemptions (such as sections 54 and 54F), set-off of losses and special cases like debt mutual funds are not included. Verify the current rules on incometax.gov.in.

This calculator follows the rules that apply to transfers on or after 23 July 2024. It shows the gain, the exemption, the tax and the cess. Always check the latest rules on the Income Tax Department's website before filing.

How to use this calculator

  1. Pick the type of asset you sold.
  2. Enter the purchase price, the sale price and any selling expenses.
  3. Enter how many months you held the asset.
  4. For short-term gains on assets other than listed shares, enter your slab rate, then read the tax.

Formula and variables

Gain = Sale price − Purchase price − Expenses Listed equity, short-term: 20% of gain Listed equity, long-term: 12.5% of (gain − ₹1,25,000) Other long-term: 12.5% of gain Cess = 4% of the tax

  • Long-term - held for more than 12 months (listed equity) or more than 24 months (property and other assets).
  • ₹1,25,000 - yearly exemption on long-term gains from listed equity. It is shared across all such gains in the year.
  • Slab rate - the rate on your total income, used for short-term gains on other assets.

Rates apply to transfers on or after 23 July 2024. Surcharge is not included.

Worked example

Shares bought for ₹5,00,000 and sold for ₹8,00,000 after 18 months.

Inputs and results for the worked example
Purchase and sale price₹5,00,000 and ₹8,00,000
Holding period18 months (long-term)
Capital gain₹3,00,000
Taxable after ₹1,25,000 exemption₹1,75,000
Tax at 12.5%₹21,875
Total with 4% cess₹22,750
  1. Gain = 8,00,000 − 5,00,000 = ₹3,00,000.
  2. After the ₹1,25,000 exemption the taxable gain is ₹1,75,000.
  3. Tax = 12.5% of 1,75,000 = ₹21,875, plus 4% cess of ₹875 = ₹22,750.

What changes the result

  • Holding period. Crossing the long-term threshold changes the rate.
  • Asset type. Listed equity, property and other assets have different rules.
  • Exemptions. The ₹1,25,000 exemption applies to listed equity, and sections like 54 and 54F give relief on reinvesting in property.
  • Losses. Capital losses can be set off against gains, and carried forward in some cases.

Benefits and practical uses

  • Know the tax before you sell.
  • See the effect of waiting until a gain becomes long-term.
  • Estimate your take-home proceeds.

Assumptions and limitations

  • Transfers on or after 23 July 2024, as the rules stood at the review date.
  • Surcharge, indexation, rollover exemptions and loss set-off are not modelled.
  • The ₹1,25,000 exemption is applied to this sale alone. If you have other long-term equity gains in the year, share it.
  • Equity mutual funds are treated like listed shares. Debt funds and some others follow different rules.
  • Your slab rate is entered by you.

Frequently asked questions

What is the difference between STCG and LTCG?

A short-term gain comes from an asset held for a short period and a long-term gain from one held longer. The cut-off is 12 months for listed equity and 24 months for property and most other assets.

What are the current rates?

For transfers on or after 23 July 2024, listed equity short-term gains are taxed at 20% and long-term gains at 12.5% above ₹1,25,000. Other long-term gains are taxed at 12.5%. Check the Income Tax Department for any change.

Is indexation allowed?

For most assets sold after 23 July 2024, no. There is a limited choice for some land and buildings bought before that date. This calculator does not model it.

Do I pay tax on a capital loss?

No. A loss can be set off against gains within the rules.

Is cess added?

Yes. A 4% health and education cess is charged on the tax.

How can I save capital gains tax?

Options include holding to long-term, using the annual exemption, harvesting losses and using exemptions such as section 54 on reinvesting in a house. Consult a tax professional for your case.

References

Page last reviewed on . This calculator gives estimates for planning only; it is not financial advice and not an offer from any lender.