Skip to main content

Capital Gains Tax Calculator

Work out the tax on selling shares, mutual funds, gold or property in Tax Year 2026-27. Enter what you paid, what you sold for and how long you held it to see the gain, how much of it is taxed and the tax, with 20% or 12.5% on equity and the ₹1,25,000 exemption.

🇮🇳INR

With the default inputs, listed shares or an equity fund bought for ₹2,00,000 and sold for ₹3,60,000 after 18 months, with no other long-term equity gains this year:

Capital Gain
₹1,60,000
Taxable Gain
₹35,000
Tax Payable
₹4,550

How much tax you pay on a capital gain

A capital gains tax calculator works out the tax on the profit when you sell shares, mutual funds, gold or property. For Tax Year 2026-27, listed equity held over 12 months pays 12.5% on long-term gains above ₹1,25,000 a year, and 20% if sold sooner. Shares bought for ₹2,00,000 and sold for ₹3,60,000 after 18 months owe ₹4,550.

Here's how that comes about. The gain is ₹1,60,000. Because you held for more than 12 months, it's long-term, so the first ₹1,25,000 of it is covered by the yearly exemption and only ₹35,000 is taxed. At 12.5% plus 4% cess, that's ₹4,550. Sell the same shares at 12 months and the whole ₹1,60,000 is short-term, taxed at 20%: ₹33,280.

The rate depends on two things: what you sold, and how long you held it. The rates are the ones the Finance (No. 2) Act, 2024 set from 23 July 2024. When I checked the Income-tax Act, 2025, in force from 1 April 2026, it carried them over under new section numbers, and the Finance Act, 2026 didn't touch them.

Capital gains tax rates for Tax Year 2026-27

Here's how the Act sorts a gain. Find the row that matches what you sold:

Tax Year 2026-27, under the Income-tax Act, 2025. Long-term rates are without indexation. Add 4% health and education cess to the tax, and surcharge at high incomes.
What you soldLong-term afterShort-term rateLong-term rateExemption
Listed shares, equity fundsOver 12 months20% (section 196)12.5% (section 198)₹1,25,000 a year
Debt funds bought from April 2023Never (section 76)Your slabNoneNone
Gold ETFs, listed bonds (not market-linked debentures)Over 12 monthsYour slab12.5% (section 197)None
Property, physical gold, unlisted sharesOver 24 monthsYour slab12.5% (section 197)None

"Equity funds" means funds that keep at least 65% in listed Indian shares, with securities transaction tax paid on the sale. A debt fund in the second row is a specified mutual fund: one that puts more than 65% into debt and money market instruments. Unlisted bonds and debentures sold from 23 July 2024 are short-term at your slab too, whenever you bought them.

Everything else falls in the last two rows. That includes unlisted gold funds, international funds, hybrid funds with between 35% and 65% in equity, and debt fund units bought before April 2023, which all need more than 24 months. A listed unit, such as a gold ETF, needs only 12.

The calculator has four settings: equity, debt funds bought from April 2023, physical gold or property and other assets, and gold ETFs or other listed securities. Pick the last one for a gold ETF or a listed bond: it uses the 12-month line the Act gives every listed security, where "other assets" uses 24.

And "more than 12 months" means what it says. Exactly 12 months is still short-term, which is why the calculator asks for days as well as months.

Worked examples: the same gain, different tax

Each row below is the calculator's own function run on those inputs when this page was built, at the 30% slab with no other long-term equity gains in the year, so the figures match what the calculator shows.

Equity is listed shares or an equity fund; the new debt fund was bought on or after 1 April 2023. Tax is the taxable gain times the rate, plus 4% cess, rounded to the rupee, with no surcharge or 87A rebate.
SaleBought, soldHeldGainTreatmentTaxable gainRateTax
Equity₹2,00,000, ₹3,60,00018 months₹1,60,000Long-term₹35,00012.5%₹4,550
Equity, sold sooner₹2,00,000, ₹3,60,00012 months₹1,60,000Short-term₹1,60,00020%₹33,280
New debt fund₹5,00,000, ₹5,80,00036 months₹80,000Short-term₹80,00030% slab₹24,960
Physical gold₹2,00,000, ₹3,00,00030 months₹1,00,000Long-term₹1,00,00012.5%₹13,000
Physical gold, sold sooner₹2,00,000, ₹3,00,00020 months₹1,00,000Short-term₹1,00,00030% slab₹31,200

Look at the first two rows. They're the same sale, 6 months apart. Waiting until the holding passed 12 months cut the tax from ₹33,280 to ₹4,550, a saving of ₹28,730. If you're close to the line and don't need the money yet, check the purchase date before you sell.

The debt fund row has no such escape. Units of a specified fund bought on or after 1 April 2023 are taxed at your slab however long you hold them, so a ₹80,000 gain after 36 months still costs ₹24,960 at 30%. That's the same rate as fixed deposit interest, though you pay only when you redeem.

Physical gold, property and unlisted shares need more than 24 months. Held 30 months, the gold gain pays 12.5%: ₹13,000. Sold at 20 months, the same gain goes to your slab and costs ₹31,200, which is ₹18,200 more.

The ₹1,25,000 exemption is shared across the year

The exemption isn't per sale. Section 198 taxes long-term gains on listed shares and equity funds only above ₹1,25,000 in the whole tax year, added up across every stock and fund you sell. So gains you've already booked use it up.

Say you'd booked ₹1,00,000 of long-term equity gains this year before the default sale. Only ₹25,000 of the exemption is left, so ₹1,35,000 of this ₹1,60,000 gain is taxed, and the tax is ₹17,550 rather than ₹4,550. That's ₹13,000 more for the same sale. Enter gains you've already booked in the calculator's field for other long-term equity gains to see your own figure.

What happens to the part you don't use? It's gone. There's no carry-forward of unused exemption, which is why some investors book up to ₹1,25,000 of gain every year and reinvest. The tax harvesting guide walks through how.

And it's an equity-only allowance. Long-term gains on gold, property or older debt funds don't get it.

Property: the indexation choice on land and buildings

Land and buildings held more than 24 months are long-term, taxed at 12.5% under section 197. Indexation used to raise your purchase price in line with the Cost Inflation Index, cutting the taxable gain, but the Finance (No. 2) Act, 2024 removed it for sales from 23 July 2024.

There's one exception, and section 197(3) of the 2025 Act keeps it. If you're a resident individual or HUF and the land or building was bought before 23 July 2024, you pay the lower of two figures: 12.5% on the gain without indexation, or 20% on the gain over the indexed cost. You don't choose in advance. Work out both and pay the smaller.

The indexed cost is your cost times the index for the year you sell, divided by the index for the year you bought, or for 2001-02 if you bought earlier. The index is 384 for Tax Year 2026-27 and was 254 for FY 2015-16, so a flat bought then for ₹40,00,000 has an indexed cost of ₹60,47,244.

Sell it for ₹1,00,00,000 and the plain route costs ₹7,80,000, against ₹8,22,173 with indexation, so you pay ₹7,80,000. Sell it for ₹70,00,000 instead and the plain route costs ₹3,90,000, while indexation leaves a gain of only ₹9,52,756 and tax of ₹1,98,173. You'd pay ₹1,98,173.

So which wins? For a flat bought in FY 2015-16, indexation is cheaper whenever it sells for less than about 2.36 times what you paid. Older purchases have a bigger index gap, so the line sits higher. The calculator's "other assets" setting gives you the 12.5% figure; the indexed one you work out as above.

Non-residents and companies don't get the choice, and nor does anyone selling gold, shares or other assets. For them, 12.5% without indexation is the only long-term rate.

Shares bought before 1 February 2018: grandfathering

Long-term gains on listed shares and equity funds were tax-free until 31 January 2018. When the tax came back, gains made up to that date stayed protected, and section 90(7) of the 2025 Act still protects them. For shares and units bought before 1 February 2018, your cost is the higher of what you paid and the lower of the market value on 31 January 2018 and your sale price.

Take shares bought for ₹1,00,000, worth ₹1,50,000 on 31 January 2018 and sold for ₹3,00,000 this year. Your cost for tax is ₹1,50,000, so the gain is ₹1,50,000. After the ₹1,25,000 exemption only ₹25,000 is taxed, for ₹3,250. Without grandfathering, the gain on the original cost would be ₹2,00,000 and the tax ₹9,750.

To run such shares through the calculator, enter the grandfathered cost as the purchase price, not what you actually paid.

Setting off losses and carrying them forward

A capital loss reduces your capital gains before tax is worked out, but the Act decides where it can go:

  • A short-term capital loss can be set off against short-term or long-term gains, from any asset (section 108).
  • A long-term capital loss can be set off only against long-term gains.
  • Neither can be set off against salary, interest or any other head of income (section 109).
  • A loss you can't use this year carries forward for 8 tax years (section 111), but only if you file your return by the due date (section 121). A carried-forward short-term loss can be set off against any capital gain; a long-term loss only against long-term gains.

Set-off isn't optional, and it comes before the exemption. Book a ₹50,000 short-term loss in the same year as the default sale and the net long-term gain falls to ₹1,10,000. That's inside the exemption, so the tax drops from ₹4,550 to ₹0. But only ₹35,000 of the loss did any work. The other ₹15,000 went against gain that was already tax-free.

So is booking a loss always worth it? Not in a year your gains already sit under the exemption. A loss carried forward is set off against next year's gains first, exempt or not, so book losses in a year with taxable gains.

Saving tax by reinvesting in a house or bonds

Long-term gains can be exempt if you reinvest them. The 2025 Act carries over the old sections 54, 54F and 54EC under new numbers:

  • Sell a residential house held long-term and buy another within 1 year before or 2 years after the sale, or build one within 3 years: the gain you reinvest is exempt (section 82, the old 54).
  • Sell any other long-term asset, shares, funds and gold included, and put the net sale price into a residential house on the same timeline: the exemption is the share of the gain matching the share of the net sale price you invest (section 86, the old 54F). You can't own more than one other house on the date of sale.
  • For both, the new house counts only up to ₹10 crore.
  • Sell land or a building held long-term and put the gain into specified bonds within 6 months, up to ₹50 lakh across the tax year of sale and the next: that much is exempt, and the bonds lock in for 5 years (section 85, the old 54EC).

Can't buy the house before your return is due? Deposit the amount in the Capital Gains Accounts Scheme by the return due date and use it within the time limit, or the exemption reverses. The calculator doesn't apply any of these, so take your reinvestment off the gain first.

What the calculator leaves out: 87A, surcharge and the basic exemption

A few things change the real bill at the edges. Know them before you plan around the result.

  • The 87A rebate. In the new regime, the rebate that makes income up to ₹12 lakh tax-free can't exceed the tax at slab rates, so it never covers tax on gains under sections 196, 197 or 198 (section 156(3)). In the old regime, the ₹12,500 rebate for income up to ₹5 lakh can cover short-term equity gains and other long-term gains, but not long-term equity gains (section 198(7)).
  • The basic exemption. If your other income is below the basic exemption limit, ₹4 lakh in the new regime, a resident individual or HUF can set the unused part against these gains first (sections 196(2), 197(2) and 198(3)). That can bring the tax below what the calculator shows.
  • Surcharge. Above ₹50 lakh of income a surcharge applies, and on gains under sections 196, 197 and 198 it's capped at 15%. The calculator's tax is before surcharge.
  • Costs. Enter the purchase price including brokerage and stamp duty, and the sale value net of selling costs. Securities transaction tax isn't deductible.
  • One sale at a time. Each sale is worked out on its own, apart from the shared exemption. If you sold in several lots, first-in, first-out decides which units went first, and your broker's or fund house's capital gains statement applies it for you.

Where to go next

Once you have the tax on a sale, these take it further.

Frequently Asked Questions

How is capital gains tax calculated in India?

Take the sale value net of selling costs, subtract what you paid including buying costs, and that's the gain. Whether it's short-term or long-term depends on the asset and how long you held it, and that sets the rate. Add 4% cess to the tax. Shares bought for ₹2,00,000 and sold for ₹3,60,000 after 18 months give a ₹1,60,000 long-term gain: ₹1,25,000 is exempt, ₹35,000 is taxed at 12.5%, and the tax is ₹4,550.

What is the LTCG tax rate on shares and mutual funds for Tax Year 2026-27?

12.5% on long-term gains above ₹1,25,000 in the tax year, under section 198 of the Income-tax Act, 2025 (section 112A of the 1961 Act). Listed shares and equity funds are long-term after more than 12 months. The ₹1,25,000 is one allowance across all your equity sales in the year, so gains you've already booked use it up: with ₹1,00,000 booked earlier, the tax on the default sale rises from ₹4,550 to ₹17,550.

How is short-term capital gain on shares taxed?

At a flat 20% under section 196 of the Income-tax Act, 2025 (section 111A of the 1961 Act), with no exemption, whatever your slab. Exactly 12 months is still short-term. Sell the default shares at 12 months and the tax on the ₹1,60,000 gain is ₹33,280. Holding past 12 months, to 18, brings it down to ₹4,550, a saving of ₹28,730.

How are debt mutual funds taxed now?

Units of a specified mutual fund, one with more than 65% in debt and money market instruments, bought on or after 1 April 2023 are always short-term under section 76 of the Income-tax Act, 2025, so the gain is taxed at your slab however long you hold. A ₹80,000 gain after 36 months costs ₹24,960 at the 30% slab. Units bought before April 2023 are long-term after 24 months (12 months for a listed debt ETF) and pay 12.5% without indexation.

How is capital gains tax on property and gold calculated?

Property and physical gold are long-term after more than 24 months and then taxed at 12.5% without indexation under section 197 of the Income-tax Act, 2025; sold sooner, the gain is taxed at your slab. Gold bought for ₹2,00,000 and sold for ₹3,00,000 after 30 months owes ₹13,000. For land or a building bought before 23 July 2024, a resident individual or HUF pays the lower of 12.5% without indexation and 20% with indexation: a flat bought in FY 2015-16 for ₹40,00,000 and sold for ₹70,00,000 pays ₹1,98,173 rather than ₹3,90,000.

Can I save capital gains tax by buying a house?

Yes, on long-term gains. Sections 82 and 86 of the Income-tax Act, 2025, the old sections 54 and 54F, exempt a gain you reinvest in a residential house. Sell a house and reinvest the gain in another, or sell any other long-term asset, shares included, and invest the net sale price in a house, within 1 year before or 2 years after the sale, or build within 3 years. The new house counts only up to ₹10 crore. Gains on land or buildings can also go into specified bonds within 6 months, up to ₹50 lakh, under section 85.