You bought shares at ₹5 lakh and sold at ₹8 lakh — a nice profit, but the taxman takes a cut before you spend it. How big that cut is comes down to two questions: how long you held the asset, and what kind of asset it was. Shares held over a year get the gentle 12.5% long-term rate; the same shares sold in six months pay 20%. Property and gold play by different rules again — and since July 2024, indexation is mostly gone. This calculator asks those two questions and gives you the tax, cess included.
The details matter more than the headline rate. The first ₹1,25,000 of long-term equity gains each year is tax-free — but it is an annual total across all your equity sales, not ₹1.25 lakh per sale, so the calculator asks what you have already booked this year. Debt fund units bought after April 2023 are taxed at your slab rate no matter how long you hold them. And if you bought property before 23 July 2024, you still get a choice — the lower of 12.5% without indexation or 20% with it — so the calculator shows both and picks the cheaper one.
Example: ₹5,00,000 of shares bought and sold 18 months later for ₹8,00,000. The gain is ₹3,00,000, the first ₹1,25,000 is exempt, and 12.5% on the remaining ₹1,75,000 is ₹21,875 — plus 4% cess, ₹22,750 in total. Try your own sale below, then check how the tax fits your year in our Income Tax Calculator.
How to use this calculator
Four steps, thirty seconds.
1
Pick what you sold. Shares and equity funds get the special 20%/12.5% rates when STT is paid; property, gold and unlisted shares get 12.5% long-term with no indexation; debt funds bought after April 2023 always pay slab rate.
2
Enter buy price, sell price and how long you held it. Add brokerage, stamp duty and registration as transfer expenses — they reduce the gain. For property, add any cost of improvement too.
3
Answer the two date questions if they apply. Property bought before 23 July 2024 gets the indexation choice (pick your CII years), and debt fund units bought before 1 April 2023 follow the old rules. If you bought shares before 31 January 2018, enter the fair market value on that date for grandfathering.
4
Read the split. The calculator shows the gain, the exemption used, the tax at the right rate, the 4% cess and the total — plus the effective rate on your gain.
How this calculation works
The formula (Finance (No. 2) Act, 2024 — for sales on or after 23 July 2024): capital gain = sell price − buy price − transfer expenses − cost of improvement. Listed equity held over 12 months pays 12.5% on the gain above the ₹1,25,000 annual exemption; held 12 months or less, it pays 20% flat. Everything else is long-term after 24 months at 12.5% with no indexation, and short-term at your slab rate. Debt fund units bought on or after 1 April 2023 are deemed short-term at slab rate whatever the holding period. Then add 4% health and education cess on the tax.
Worked example: shares bought for ₹5,00,000 and sold 18 months later for ₹8,00,000. The gain is ₹3,00,000. The first ₹1,25,000 of equity LTCG in the year is exempt, leaving ₹1,75,000 taxable at 12.5% — ₹21,875. Four percent cess adds ₹875, so the total is ₹22,750, or 7.58% of the gain.
Formula source: Finance (No. 2) Act, 2024 (rates from 23 July 2024); Income-tax Act, 1961, §111A (STCG equity), §112 (other LTCG), §112A (equity LTCG), §50AA (debt funds); from 1 Apr 2026, the Income-tax Act, 2025 renumbers them §196, §197, §198 and §76. CII table: CBDT Notification No. 70/2025 (1 July 2025), FY 2025-26 = 376, FY 2026-27 = 384. Verify at incometax.gov.in.
Worked example: property bought before 23 July 2024
Rohan bought a flat in 2015 for ₹40,00,000 (CII 254) and sold it in 2025 for ₹1,00,00,000 (CII 376). Without indexation the gain is ₹60,00,000 and 12.5% of it is ₹7,50,000. With indexation the cost becomes ₹40,00,000 × 376/254 = ₹59,21,260, the gain is ₹40,78,740 and 20% of it is ₹8,15,748. The lower number wins — ₹7,50,000 tax, plus ₹30,000 cess, ₹7,80,000 in total. Indexation does not always win: when prices have risen faster than inflation, the flat 12.5% is cheaper, which is why the calculator shows both.
Frequently asked questions
What counts as short-term vs long-term now?
Only two holding periods since 23 July 2024: listed shares and equity funds turn long-term after 12 months; everything else — property, gold, unlisted shares, bonds — after 24 months. The old 36-month category is gone. Held exactly 12 months, equity is still short-term — long-term needs more than 12 months.
Is the ₹1,25,000 exemption per sale or per year?
Per year, across all your equity sales added together. Sell three lots of shares in one year and the exemption is ₹1,25,000 in total, not per lot. The calculator asks what long-term equity gains you have already booked this year so it does not count the exemption twice. It applies only to STT-paid equity gains — not property, gold or debt funds.
Can I still use indexation on property?
Only if you bought before 23 July 2024 and you are a resident individual or HUF. Then the tax is the lower of 12.5% without indexation and 20% with indexation — the calculator shows both and charges the lower one. Property bought after that date gets 12.5% flat with no indexation at all.
Why is my debt fund taxed at slab rate?
Units bought on or after 1 April 2023 are deemed short-term whatever the holding period — the law (§50AA, from April 2026 §76) taxes them at your slab rate. Units bought before that date follow the normal rules: 12.5% long-term after 24 months, slab rate if sold sooner.
Does the §87A rebate reduce capital gains tax?
No — not on gains taxed at the special rates (20% STCG, 12.5% LTCG) from FY 2025-26. Gains taxed at your slab rate, like short-term property or debt funds, are ordinary income, so the rebate can apply to them in your full return. This calculator taxes the gain alone and applies no rebate either way.
Disclaimer: Educational illustration only — not tax advice. This calculator covers sales on or after 23 July 2024 only; it does not model §54/54EC reinvestment exemptions, NRI rules, F&O or business-income treatment, or surcharge (which starts above ₹50 lakh total income). Rules cited: Finance (No. 2) Act, 2024; Income-tax Act, 1961, §111A/112/112A/50AA (§196/197/198/76 from 1 Apr 2026); CBDT Notification No. 70/2025 (CII). Verify at incometax.gov.in or consult a CA before filing.