wiseowlcalc
Country: IndiaIndia

Capital gains tax calculator

Shares bought for ₹5,00,000 and sold for ₹8,00,000 after 41 months leave a long-term gain of ₹3,00,000. The first ₹1,25,000 is free of tax and the rest is taxed at 12.5%: ₹22,750 with cess. A ₹50,000 gain sold within 12 months is taxed at 20%: ₹10,400.

Long term after more than 12 months.
₹
5 lakh
₹
8 lakh

Tax on the gain

₹22,750

A long-term gain of ₹3,00,000 after 3 years 5 months, ₹1,25,000 of it is free of tax and the rest is taxed at 12.5% (s.198, was 112A): ₹22,750 with cess, leaving ₹7,77,250 of the sale after costs and tax.

  • Cost and expenses₹5,00,000
  • Gain after tax₹2,77,250
  • Tax₹22,750
Holding period
3 years 5 months
Term
Long term
Gain
₹3,00,000
Yearly exemption on equity
₹1,25,000
Taxable gain
₹1,75,000
Rate
12.5%
Tax on the gain
₹22,750
Tax on all income
₹1,31,950
Sale after costs and tax
₹7,77,250

Shares or units bought before 1 February 2018 are grandfathered: enter the grandfathered value (the cost the Act allows) as the purchase price.

Unused basic exemption reduces special-rate gains for a resident. Rules 2026-27, checked 2026-11-25. This is an estimate, not tax advice.

How the gain is worked out

StepAmount
Sale price₹8,00,000
Less selling costs₹0
Less purchase price₹5,00,000
Gain₹3,00,000
Less equity allowance₹1,25,000
Taxable gain₹1,75,000

Gain = sale price − selling costs − cost − improvement (s.72). Exemptions come off before the rate is applied.

Tax on the gain₹22,750

How is capital gains tax calculated?

The gain is the sale price less selling costs, the purchase price and the cost of improvements. How long you held the asset decides whether it is short or long term, and that decides the rate. The tax shown is the extra tax because of the gain, with surcharge and the 4% cess, given your other income.

gain = sale price − selling costs − purchase price − improvement · tax = gain × rate (+ surcharge and 4% cess)
Capital gains tax rates by asset
AssetLong term after more thanShort-term rateLong-term rate
Listed shares, equity mutual funds (STT paid)12 months20% (s.196 (was 111A))12.5% above ₹1,25,000 a year (s.198 (was 112A))
Debt mutual funds bought from 1 Apr 2023always short termSlab ratesNot applicable (s.76)
Property, gold, unlisted shares, other assets24 monthsSlab rates12.5% (s.197 (was 112))
Land or building bought before 23 Jul 202424 monthsSlab ratesLower of 12.5% and 20% of the indexed gain

Worked example: shares sold after 3 years

Worked example: shares sold within 12 months

Worked example: property bought in 2010

Can you avoid capital gains tax by reinvesting?

For a long-term gain on a house, putting the gain into a new house (s.82 (was 54)) exempts it, up to ₹10,00,00,000. A long-term gain on land or building can instead go into specified bonds within 6 months (s.85 (was 54EC)), up to ₹50,00,000. On the property example, reinvesting the ₹59,00,000 gain in a house takes the tax to ₹0; putting ₹50,00,000 into bonds takes it to ₹0.

What is the Cost Inflation Index?

The index lets land and buildings bought before 23 Jul 2024 count the cost at its inflated value (cost × index of the sale year ÷ index of the purchase year). The series runs from 2001-02 to 2026-27; sales before 1 April 2001 use the 2001-02 index.

Cost Inflation Index for some years
Financial yearCost Inflation Index
2001-02100
2010-11167
2020-21301
2023-24348
2026-27384

Questions people ask

How much tax do I pay on shares sold after a year?

Long-term gains on listed shares (STT paid) are taxed at 12.5% above ₹1,25,000 of gains in the year. On the example, ₹3,00,000 of gain pays ₹22,750.

What is short-term capital gains tax on shares?

20% (s.196 (was 111A)) when listed shares or equity funds are sold within 12 months with STT paid. A ₹50,000 gain pays ₹10,400 with cess.

How long must I hold an asset for long-term treatment?

More than 12 months for listed shares and equity funds, more than 24 months for property, gold, unlisted shares and most other assets (s.2(101)).

Is property taxed at 12.5% or 20%?

For land or building bought before 23 Jul 2024, the lower of 12.5% of the gain and 20% of the indexed gain. On the property example that is ₹4,00,359 against ₹7,37,500 before surcharge and cess.

How are debt mutual funds taxed?

Units bought on or after 1 Apr 2023 are always short term, taxed at slab rates. The calculator adds the gain to your other income.

Sources

Related versions of this calculator

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.