A capital gains tax calculator India shares works out the tax on a profit from selling listed shares or equity mutual fund units. The rate depends on how long you held them: a short-term gain is taxed at 20% and a long-term gain at 12.5% above Rs 1.25 lakh a year, plus surcharge if it applies and 4% cess. This calculator is built for sales on or after 23 July 2024 in the tax year 2026-27, and it handles the 31 January 2018 grandfathering rule for older purchases.
How to use the capital gains tax calculator india shares
- Enter the purchase date and the sale date as year-month-day.
- Enter the purchase cost, the sale value and any selling expenses.
- If you bought on or before 31 January 2018, enter the value on that date.
- Add other gains of the year and the surcharge rate, then press Calculate.
Which sales it covers
The tool covers listed equity shares and equity-oriented mutual fund units sold on a recognised exchange with securities transaction tax paid, for a resident individual. The Finance Bill 2026 names these gains in the sections that replace sections 111A and 112A of the 1961 Act: section 196 for short-term gains and section 198 for long-term gains [1]. The ITR-2 form for 2026-27 still uses the 1961 numbers [3], and so do the validation rules [2].
Short-term and long-term
Short-term capital gains on this kind of asset are taxed at 20%, and the Bill and the ITR-2 schedule both list that rate [1][3]. A long-term gain is taxed at 12.5% on the total above Rs 1,25,000 in the year [1]. The holding period is 12 months for listed securities. We treat a sale after the same calendar date 12 months later as long-term, so a sale on exactly the first anniversary is still short-term. The exact wording of the rule is our reading.
The Rs 1.25 lakh exemption
The exempt amount applies once a year across all long-term gains of this type, not to each sale. That is why the tool has a box for other long-term gains this year. With Rs 1,50,000 of long-term gain the taxable part is Rs 25,000, and with other long-term gains of Rs 1,00,000 added to a gain of Rs 1,50,000 the taxable part is Rs 1,25,000.
The 31 January 2018 rule
Units bought on or before 31 January 2018 are taxed on the gain above the value on that date, not above what you paid. The ITR-2 schedule has columns for the cost, the fair market value on 31 January 2018 and the lower of that value and the sale value [3]. A secondary guide gives the rule as: take the higher of the actual cost and the lower of the 2018 value and the sale value [4]. We use that rule, and the secondary wording is why we mark it as our reading.
A long-term example
Suppose you bought on 10 January 2017 for Rs 1,00,000, the value on 31 January 2018 was Rs 1,50,000, and you sold on 15 August 2026 for Rs 3,00,000. The cost used is Rs 1,50,000, the gain is Rs 1,50,000, the taxable gain is Rs 25,000, the tax is Rs 3,125 and the cess is Rs 125, a total of Rs 3,250. These figures are our own working.
A short-term example
If you bought for Rs 50,000 in January 2026 and sold for Rs 80,000 in August 2026, the gain is Rs 30,000, taxed at 20%, which is Rs 6,000, plus Rs 240 of cess, a total of Rs 6,240. If you have both kinds of gain in the same year, the two taxes are added, and the cess is calculated on the sum: Rs 9,125 plus Rs 365, which is Rs 9,490. This is our own arithmetic.
Surcharge and cess
Cess is 4% of the tax plus surcharge, which the Bill states [1]. The surcharge on this tax is capped at 15%, and its rate depends on your total income, with 10% above Rs 50 lakh and 15% above Rs 1 crore for individuals [1]. We cannot see your total income, so you choose the surcharge rate in a box.
Why earlier sales are refused
The tool does not compute sales before 23 July 2024, because the rates were different then, at 10% for long-term and 15% for short-term gains in the form's older columns [3]. The ITR-2 schedule has separate columns for acquisitions before and after 31 January 2018 and for sales before and after 23 July 2024.
What is not modelled
Debt mutual funds are not computed, because units bought on or after 1 April 2023 in specified funds are taxed at slab rates and the definition changes from 1 April 2026, and we could not open the department's page on it. Losses are not carried forward or set off between short-term and long-term gains here, and non-residents, bonds, property and gold are outside the tool. The Bill was read as introduced, not as enacted.
Figures that change
The rates of 20% and 12.5%, the Rs 1,25,000 exemption, the 12-month period, the 4% cess and the 23 July 2024 cut-off are settings for the tax year 2026-27 [1]. Check the enacted Finance Act when you file.
Common mistakes
- Forgetting the yearly exemption. The Rs 1.25 lakh is shared by all your long-term gains of the year.
- Using the purchase cost for old units. Units bought before February 2018 use the grandfathering rule.
- Leaving out other gains. Add the other gains of the year so the exemption is used once.
- Choosing the wrong surcharge. Pick it from your total income, not the gain alone.
What next
Use this often? Add Capital Gain to your Home screen.
Frequently asked questions
How does the capital gains tax calculator India shares work?
It finds the gain from your dates and amounts, decides whether it is short-term or long-term, and applies 20% or 12.5% above Rs 1.25 lakh, then adds surcharge and 4% cess.
When is a gain long-term?
For listed shares and equity funds, when you hold them for more than 12 months. A sale exactly on the first anniversary is treated as short-term here.
What is the 31 January 2018 rule?
For units bought on or before that date, the cost used is the higher of what you paid and the lower of the 2018 value and the sale value.
Does it cover debt mutual funds?
No. Only listed equity shares and equity-oriented fund units are computed here.
Which sales can I enter?
Sales on or after 23 July 2024. Earlier sales used different rates.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.