Free calculator

Capital gains tax calculator for shares and equity funds

Enter the sale value, cost and holding period for listed shares or equity mutual funds to estimate the tax on the gain for FY 2026-27.

Short-term20%
Long-term12.5% above ₹1.25 lakh
Your dataStays in your browser
This sale
More than 12 months is long-term
Used to work out the grandfathered cost
Other gains in the same year (optional)
Use a negative number for a loss
Use a negative number for a loss

How the tax is worked out

For listed equity shares and equity-oriented mutual funds on which securities transaction tax is paid, a gain on units held for more than 12 months is long-term, and anything shorter is short-term. As we understand the rules for FY 2026-27, short-term gains are taxed at 20%, and long-term gains are taxed at 12.5% on the amount above ₹1,25,000 for the year, with no indexation. Health and education cess of 4% is added.

Long-term tax = 12.5% × (long-term gains − ₹1,25,000)
Short-term tax = 20% × short-term gains

For shares bought before 1 February 2018, the cost is the higher of the actual cost and the lower of the highest price on 31 January 2018 and the sale value. A short-term loss can be set off against both short-term and long-term gains, while a long-term loss can be set off only against long-term gains and can be carried forward for eight years.

Worked example

A shareholder sells shares for ₹5,00,000 that cost ₹3,00,000 and were held for 24 months. The long-term gain is ₹2,00,000. After the ₹1,25,000 exemption, ₹75,000 is taxed at 12.5%, which is ₹9,375, and cess of ₹375 makes the total ₹9,750.

What this calculator does not cover

  • Property, gold, debt mutual funds, unlisted shares and other assets, which follow different rules
  • Surcharge at higher incomes, and the set-off of unused basic exemption by a resident with low income
  • Business income from trading in futures, options or intraday shares
  • Foreign shares, employee stock options and buybacks, which have special treatment

Frequently asked questions

What is the tax on long-term capital gains on shares?

12.5% on the long-term gains above ₹1,25,000 in the year, plus 4% cess, as we understand the rules for FY 2026-27.

What is the tax on short-term capital gains on shares?

20% on short-term gains on listed equity shares and equity mutual funds on which securities transaction tax is paid, plus 4% cess.

When is a gain long-term?

When listed shares or equity-oriented fund units are held for more than 12 months before sale.

Do I need to report capital gains in my return?

Yes. Gains and the related details are reported in the return, and the tax is paid through advance tax or at the time of filing. Our advance tax calculator shows the due dates.

Related guides and services

More calculators

This calculator gives an indicative estimate from the information you enter, using the rules we understand to apply for FY 2026-27 (tax year 2026-27). It is general information, not legal, tax or professional advice for your situation. Rates, limits, forms and due dates change, so confirm the current position before you file or pay. Everything is calculated in your browser and nothing you type is sent to us. Taxswami Consultants is an independent professional services firm and is not a government body.

Call us now Chat on WhatsApp Book Free Consultation