HomeFree ToolsCapital Gains on Shares & Equity Mutual Funds Calculator
Income Tax · Free Calculator

Capital Gains on Shares & Equity Mutual Funds Calculator

Tax on your shares and equity mutual fund gains — including how much of the ₹1,25,000 annual exemption you have left, and what to do with it before 31 March.

⚡ Quick answer

Equity is taxed on a schedule of its own. A listed share or an equity mutual fund becomes long-term after just 12 months — half the time immovable property needs — and long-term gains are taxed at 12.5% under Section 198 of the Income-tax Act, 2025 (old Section 112A), with the first ₹1,25,000 of such gains in a financial year fully exempt. Sell before twelve months are up and the rate is 20% under Section 196 (old Section 111A), with no exemption whatsoever. The annual exemption is the piece investors handle worst: it is a single pool across every equity holding you own, it resets on 1 April, and any part you leave unused simply disappears. This calculator applies it correctly against gains you have already booked this year, and tells you exactly how much headroom is left to harvest.

How it’s calculated

  • Capital gain = sale value − purchase value. Brokerage and Securities Transaction Tax borne on the transaction reduce the net figure; use net amounts in the calculator.
  • Listed shares and equity-oriented mutual funds held for more than 12 months are long-term. Held for 12 months or less they are short-term.
  • Short-term gains on equity are taxed at a flat 20% under Section 196 of the Income-tax Act, 2025 (old Section 111A), plus 4% health and education cess. They are not added to your slab income and there is no exemption against them.
  • Long-term gains are taxed at 12.5% under Section 198 (old Section 112A), and the first ₹1,25,000 of equity long-term gains in a financial year is exempt. Only the excess is taxed.
  • The ₹1,25,000 exemption is an annual pool covering all your equity holdings together, not a per-transaction or per-scrip allowance. The calculator therefore asks what long-term equity gains you have already booked this year and applies only the remaining balance.
  • Neither rate carries indexation. Equity is taxed on the plain difference between sale and purchase value at both the short-term and long-term rate.
  • For shares or units acquired before 1 February 2018, the cost is grandfathered — you substitute the higher of your actual cost and the market price as on 31 January 2018, capped at the sale value. Enter that grandfathered figure as the purchase value.
  • Surcharge is applied at 10% above ₹50 lakh and 15% above ₹1 crore of taxable gain, and is capped at 15% on these gains. Cess of 4% is applied on tax plus surcharge.
  • Unused exemption does not carry forward. Any part of the ₹1,25,000 you have not used by 31 March is lost, and a fresh ₹1,25,000 becomes available on 1 April.

The two rates, and the twelve-month line that separates them

Equity has the shortest qualifying period of any asset class in Indian tax. Hold a listed share or an equity-oriented mutual fund for more than twelve months and the gain is long-term, taxed at 12.5% under Section 198 (old Section 112A). Sell at twelve months or less and it is short-term, taxed at a flat 20% under Section 196 (old Section 111A). Both rates carry 4% health and education cess on top, and surcharge where the gain is large enough. Compare that with immovable property, which needs twenty-four months, or with debt funds, where the concessional treatment has largely been withdrawn, and the favourable position of equity becomes obvious.

The short-term rate deserves particular attention because it changed. It was 15% for many years and now stands at 20% — a one-third increase that a great many frequent traders have not registered. What it does not do is enter your slab computation: even a taxpayer in the 30% bracket pays 20% on short-term equity gains rather than 30%, because Section 196 carves them out and applies a special rate. The practical consequence is that the gap between selling at month eleven and month thirteen is now larger than it has ever been — 20% with no exemption against 12.5% with the first ₹1,25,000 free. On a ₹3 lakh gain, that is the difference between roughly ₹62,400 and roughly ₹22,750.

The ₹1,25,000 exemption is a pool, not a per-trade allowance

The single most misunderstood feature of equity taxation is the annual exemption. The first ₹1,25,000 of long-term equity gains in a financial year is exempt — but that is one allowance for the whole year, across every equity holding you own. It is not ₹1,25,000 per scrip, not per demat account, not per mutual fund scheme, and not per transaction. If you book a ₹90,000 long-term gain on an index fund in June and a ₹2 lakh gain on a share in December, the June sale consumes ₹90,000 of the pool and only ₹35,000 remains to shelter the December sale; the other ₹1.65 lakh is taxed at 12.5%.

This is why the calculator asks what long-term equity gains you have already booked this financial year. Without that input, every sale computed in isolation appears to get its own ₹1,25,000, and the total tax comes out far below what the return will actually show. The exemption also applies only to long-term equity gains. Short-term gains under Section 196 get nothing — no exemption, no indexation, no deduction under Chapter VI-A against them. Nor can the exemption be used to shelter gains on property, gold, unlisted shares or debt funds; it belongs exclusively to Section 198 equity gains.

Worked example — a ₹3 lakh long-term gain, with and without prior gains

Suppose you sell equity mutual fund units for ₹8 lakh that you bought for ₹5 lakh two years ago. The gain is ₹3 lakh and it is long-term. If this is your only equity sale this year, the full ₹1,25,000 exemption is available: ₹1,25,000 comes off tax-free, leaving a taxable gain of ₹1,75,000. At 12.5% that is ₹21,875, and 4% cess takes it to ₹22,750 — an effective rate of about 7.6% on the whole ₹3 lakh gain, well below the 12.5% headline.

Now assume you had already booked ₹60,000 of long-term equity gains earlier in the same year. Only ₹65,000 of the pool remains. The taxable gain becomes ₹2,35,000, the tax rises to ₹29,375 and cess takes it to ₹30,550. The same ₹3 lakh gain, the same rate — ₹7,800 more tax, purely because of a sale made months earlier. And if the pool had already been fully consumed by ₹1,25,000 of earlier gains, the entire ₹3 lakh would be taxable at 12.5%, giving ₹39,000. The sequence and timing of your sales, not just their size, drives the bill.

Tax harvesting — using the exemption before it expires

Because the exemption resets on 1 April and unused headroom simply lapses, there is a well-established and entirely legitimate technique for using it: tax harvesting. Before 31 March, identify long-term equity holdings sitting on unrealised profit. Sell enough of them to realise roughly the amount of exemption you have left, then buy the same holdings back. The gain you realised falls within the exemption and is taxed at nil, while your cost base on the repurchased units resets upward to the current price. Profit that would otherwise have accumulated into a large taxable gain later has been permanently taken out of the tax net, at a cost of little more than brokerage.

Repeated every year, this shelters up to ₹1,25,000 of gain annually — over a decade, more than ₹12 lakh of gains removed from taxation for an investor who would otherwise have sold in one go. Two cautions. First, the sale must be genuine: units are actually sold and actually repurchased, with a real settlement in between, and the repurchase carries whatever price movement occurs in the gap. Second, do not harvest so aggressively that you spill past the ₹1,25,000 line, because everything beyond it is immediately taxable at 12.5% — which defeats the purpose. The calculator shows exactly how much headroom remains so that you can size the harvest correctly. The mirror strategy is loss harvesting: if you are already over the exemption, selling a losing position before 31 March creates a loss that sets off against the gain.

The 31 January 2018 grandfathering, and getting your cost right

Long-term equity gains were exempt in India until 2018. When the tax was introduced, gains that had already accrued up to 31 January 2018 were protected. For shares or equity fund units acquired before 1 February 2018, the cost of acquisition is taken as the higher of your actual cost and the highest quoted market price on 31 January 2018 — and that substituted figure is itself capped at the sale value, so the rule can never manufacture an artificial loss. In effect, only appreciation after 31 January 2018 is taxed.

This matters a great deal for anyone holding shares bought in the years before 2018, and it is where self-computed figures most often go wrong. A share bought at ₹100 in 2012 that stood at ₹600 on 31 January 2018 and is sold at ₹900 today produces a taxable gain of ₹300, not ₹800. Enter ₹600, not ₹100, as the purchase value in the calculator. Broker capital gains statements usually apply this correctly, but statements from a broker you have since left, or holdings transferred between demat accounts, frequently carry the raw cost instead. Check any pre-2018 holding before relying on the number.

Losses, set-off and what the return must show

A loss on equity is an asset if you handle it properly. A short-term capital loss is the more flexible kind — it can be set off against both short-term and long-term capital gains of the same year. A long-term capital loss can be set off only against long-term capital gains. Either may be carried forward for eight assessment years, but the carry-forward is preserved only if the return for the loss year is filed by the due date. Investors who assume there is nothing to report in a losing year routinely forfeit a shelter worth lakhs against a future gain. Note also that a long-term loss cannot be set off against the exempt slice of long-term gains — the exemption applies to the net figure after set-off.

On reporting: equity capital gains cannot be declared in ITR-1 or ITR-4, so an investor who sells during the year generally files ITR-2, or ITR-3 alongside business income. Long-term gains under Section 198 are reported scrip-wise in Schedule 112A with dates, quantities, cost and the 31 January 2018 value where relevant, which is why a clean broker statement matters. Since gains are not subject to TDS, the tax falls due through advance-tax instalments in the year of sale, and a large gain booked in the March quarter can attract interest if it is not paid by 15 March. Finally, be careful about the classification of your own activity: if the volume and frequency of your trading amount to a business, the income can be assessed as business income at slab rates rather than under Sections 196 and 198, and intraday trading is treated as speculative business income in every case, not as capital gains at all.

Frequently asked questions

Is the ₹1,25,000 exemption available per share or per year?

Per year, and across everything. It is a single annual pool covering all your long-term equity gains together — every share, every equity mutual fund, every demat account. It is not per scrip, per folio or per transaction. If earlier sales in the same financial year have already used part of it, only the balance is available for later sales, which is why the calculator asks about gains you have already booked.

What is the tax rate on short-term equity gains now?

A flat 20% under Section 196 of the Income-tax Act, 2025 (old Section 111A), plus 4% cess. It was 15% previously, so the increase is substantial and often missed. The gain is not added to your slab income — even a 30%-bracket taxpayer pays the special 20% rate — but there is no exemption of any kind against short-term equity gains, and no indexation.

Does unused exemption carry forward to next year?

No. Any part of the ₹1,25,000 you have not used by 31 March simply lapses, and a fresh ₹1,25,000 becomes available on 1 April. That is precisely why tax harvesting exists: realising gains up to the remaining headroom before the year ends converts an expiring allowance into a permanent uplift in your cost base at effectively no tax cost.

What is tax harvesting and is it legal?

It is entirely legal. Before 31 March you sell a long-term holding sitting on a profit, realising gain up to your remaining exemption, and then repurchase the same holding. The realised gain is exempt and your cost base resets upward, so that profit never gets taxed. The sale and repurchase must be genuine transactions with actual settlement, and you carry the price risk in the interval. Keep the realised gain within the remaining headroom — anything above it is immediately taxable at 12.5%.

How is cost computed for shares I bought before 2018?

Long-term equity gains were exempt until 2018, and gains accrued up to 31 January 2018 were grandfathered. For anything acquired before 1 February 2018, the cost is the higher of your actual cost and the highest quoted price on 31 January 2018, capped at the sale value. So only appreciation after that date is taxed. Enter the grandfathered figure as the purchase value in the calculator, and check your broker statement carefully for pre-2018 holdings — this is where computed figures most often go wrong.

Can I set off equity losses against other income?

Not against salary, rent or interest. A short-term capital loss can be set off against both short-term and long-term capital gains; a long-term capital loss only against long-term capital gains. Either can be carried forward for eight assessment years, but only if you file the return for the loss year by the due date. Report losses even in years when you owe nothing — the carry-forward is often worth more than the current year saving.

Which ITR form do I need, and is advance tax payable?

Capital gains cannot be reported in ITR-1 or ITR-4, so you will generally need ITR-2, or ITR-3 if you also have business income. Long-term gains under Section 198 are reported scrip-wise in Schedule 112A. No TDS is deducted on equity gains, so the tax is payable through advance-tax instalments in the year of sale — a large gain booked in the final quarter needs the tax paid by 15 March to avoid interest.

Want us to handle it for you?

CA-led filing, planning and compliance — EaseValue Advisors LLP, Jaipur.

See the service →

More free calculators

Browse all free calculators →

Capital Gains on Shares & Equity Mutual Funds Calculator

Total consideration received on the sale, net of brokerage and STT you paid on the transaction.
What you actually paid. For anything bought before 31 January 2018, use the grandfathered value — the higher of your cost and the 31 Jan 2018 market price.
Listed shares and equity mutual funds turn long-term after just 12 months — half the holding period property needs.
Long-term equity gains you have already realised in this financial year. The ₹1,25,000 exemption is an annual limit across all your equity holdings, not per trade.
Capital gain on this sale₹0
Annual exemption used (Sec 198)
Taxable gain₹0
Tax payable₹0
Effective rate on the gain
Annual exemption still unused
Short-term gains on listed equity and equity mutual funds are taxed at 20% under Section 196 of the Income-tax Act, 2025 (old Section 111A). Long-term gains are taxed at 12.5% under Section 198 (old Section 112A), with the first ₹1,25,000 of equity long-term gains in a financial year exempt. Both rates carry 4% health and education cess, plus surcharge where applicable — surcharge on these gains is capped at 15%. The exemption is a single annual pool across every equity holding, and there is no indexation on equity at either rate.
Indicative estimate for general guidance only, based on current rules. Please confirm with a qualified Chartered Accountant before acting. Updated for FY 2025-26 (AY 2026-27).
Contact Careers Media / Press · Privacy Terms Refund Cancellation Cookies Disclaimer
© 2026 EaseValue Advisors LLP · LLPIN ACN-4920 · Jaipur, Rajasthan