Download free

Capital gains on mutual funds and shares, worked through

Investing · FY 2026-27 · By Pocket · Reviewed · 5 min read
In short: a gain on selling shares or fund units is taxed by what was sold and how long it was held, and the units sold are always the oldest first. Equity held over 12 months is long-term, taxed at 12.5% on what is above ₹1,25,000 a year; under 12 months it is short-term at 20%. In the example below, three sales in FY 2026-27 come to a gain of ₹63,000, taxed ₹6,110 with cess.

Rates and holding periods

What was soldLong-term afterShort-term rateLong-term rate
Listed shares, and funds and ETFs that hold Indian equitymore than 12 months20%12.5% above ₹1,25,000 a year
Other listed units (a gold ETF, an exchange-traded SGB)more than 12 monthsslab rate12.5%
Foreign shares, international and gold funds, physical gold, the restmore than 24 monthsslab rate12.5%
Crypto (virtual digital assets)no long term30%30%

The rates and holding periods have applied since 23 July 2024 and were left as they were by Budget 2026. A 4% cess is added to all of them. A gain counts in the financial year of the sale.

First in, first out

When part of a holding is sold, the units sold are the oldest ones, as the Income Tax Department and every mutual-fund statement count them. So one sale can be part long-term and part short-term. A person's ledger, as Pocket stores it:

DateHoldingEntryUnitsPrice
3 Mar 2025Nifty 50 Index FundBuy400₹250
5 Jun 2025Gold ETFBuy1,000₹60
1 Jan 2026Nifty 50 Index FundSip200₹300
10 Feb 2026Acme LtdBuy100₹1,000
15 Jul 2026Nifty 50 Index FundSell500₹320
20 Aug 2026Acme LtdSell100₹1,180
10 Sep 2026Gold ETFSell1,000₹75

Pocket matches each sale to the lots it drew on:

HoldingBoughtSoldUnitsCostProceedsGainTaxed as
Nifty 50 Index Fund3 Mar 202515 Jul 2026400₹1,00,000₹1,28,000₹28,000Equity, long-term
Nifty 50 Index Fund1 Jan 202615 Jul 2026100₹30,000₹32,000₹2,000Equity, short-term
Acme Ltd10 Feb 202620 Aug 2026100₹1,00,000₹1,18,000₹18,000Equity, short-term
Gold ETF5 Jun 202510 Sep 20261,000₹60,000₹75,000₹15,000Listed, other, long-term

The fund's sale of 500 units took all 400 units from March 2025, held over 12 months, and 100 of the 200 bought in January 2026, held under 12 months: one sale, two terms. The 100 units left keep their January 2026 cost.

The year's tax

BucketGainRateTax
Equity, short-term₹20,00020%₹4,000
Equity, long-term₹28,00012.5% above ₹1,25,000₹0
Gold ETF, long-term₹15,00012.5%₹1,875
Cess, 4%₹235
Tax on the year's gains₹6,110

The equity long-term gain of ₹28,000 is inside the year's ₹1,25,000, so it is taxed at nil; the room it leaves is worked through in the ₹1.25 lakh LTCG room.

What Pocket cannot know, and says

  • A fund's holdings, when its name does not tell: it is counted as "other", long-term after 24 months.
  • Equity bought before 1 February 2018, whose cost is "grandfathered" at its 31 January 2018 price.
  • Losses carried forward from earlier years, surcharge, and a Sovereign Gold Bond redeemed with the RBI by its first holder, which is exempt.

How Pocket works it out

Pocket's Tax page replays your ledger first in, first out, lists each lot each sale drew on with its term and gain, sets losses off where the law allows, and adds the year's capital-gains tax to the estimate. Investments' profit and loss stays at average cost, and the Tax page says which basis each figure is on. It is a planning estimate, not a tax return: the Income Tax Department and a chartered accountant have the final word.

Pocket's Tax page: capital gains for the year, on the sample person's data.
Pocket's Tax page on its sample person, whose figures are not the example's. The year's capital gains, what is not sold yet by term, and the first in, first out basis.

Questions

Which units are sold first?

The oldest. Units sold are matched first in, first out, for shares and mutual-fund units alike: in the example the fund's 400 units bought on 3 Mar 2025 go first, then 100 of the 200 bought on 1 Jan 2026.

When is a gain on an equity fund long-term?

When the units were held for more than 12 months: sold after the anniversary of their purchase, not on it. Long-term equity gains are taxed at 12.5% on what is above ₹1,25,000 in the year; short-term at 20%.

How is a debt fund taxed?

A debt fund bought on or after 1 April 2023 is taxed at the slab rate however long it is held. Pocket counts a fund whose holdings it cannot tell as "other" and says so.

Does a loss lower the tax?

A short-term loss is set off against any gain, and a long-term loss only against long-term gains; what is left can be carried forward for eight years when the return is filed in time.

Sources

  • Income Tax Department: the Acts, rules, circulars and its own tax calculator, at incometaxindia.gov.in
  • Income-tax Act, 2025, which replaces the Income-tax Act, 1961 from 1 April 2026 (FY 2026-27); the 1961 Act's section numbers are given too, as most forms and payslips still use them
  • Finance Act, 2025: the new regime's slabs and the ₹12 lakh rebate, from FY 2025-26; and Finance Act, 2026 (Budget 2026), which left the slabs, the rebate and the surcharge as they were for FY 2026-27
  • Income-tax Act, 1961, sections 111A and 112A, and the Income-tax Act, 2025's sections in their place: equity short-term and long-term gains, and the ₹1,25,000 a year
  • Finance (No. 2) Act, 2024: the rates and holding periods from 23 July 2024

Pocket is free on Windows, macOS, Linux and Android, and keeps everything on your own device: download Pocket.

All guides. Pocket is a tracking and planning tool; these guides explain, they are not financial, tax or investment advice.