
Web Scripts & Software
DEV3 Capital Gains Tax Calculator India — Source Code (React + Tailwind)
from $29
Live demoEveryday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
On or after 23 Jul 2024.
Brokerage, stamp duty, legal.
Long-termHeld 38 months, gain ₹3,50,000 at 12.5%.
On or after 23 Jul 2024.
Brokerage, stamp duty, legal.
Short-termHeld 7 months, loss ₹50,000 at 15%.Becomes long-term after 1 February 2026.
On or after 23 Jul 2024.
Brokerage, stamp duty, legal.
Long-term gains only.
Long-termHeld 161 months, gain ₹23,30,000 at 20%.The 20% with indexation option gives the lower tax for this property.
Salary and other income after deductions, excluding these gains. It decides your slab, surcharge and how much basic exemption is left.
| Type of gain | After set-off | Tax |
|---|---|---|
| Long-term with indexation (20%) | ₹22,80,000 | ₹4,56,000 |
| Long-term equity (12.5%) (first ₹1,25,000 exempt) | ₹3,50,000 | ₹28,125 |
Losses: ₹50,000 of short-term loss and ₹0 of long-term loss were set off against gains.
An estimate for a resident individual. It does not cover NRIs, ESOPs, bonus or rights shares, gifts, inherited assets, or section 54 conditions. Confirm with a chartered accountant before filing.
Need Capital Gains Tax Calculator India as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The capital gains tax calculator india stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Web Scripts & Software
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demoCapital gains tax depends on what you sell, how long you held it and when you sell. This calculator handles all of that and gives a single tax figure for the year.
The card under each sale tells you whether the gain is short-term or long-term, the rate applied and, for short-term equity, the date it turns long-term.
Choose your tax regime and enter your other taxable income. This decides your slab, any surcharge and how much of your basic exemption is still unused, which can shelter special-rate gains.
This is an estimate for a resident individual and not tax advice.
For sales on or after 23 July 2024: listed equity and equity funds pay 15% on short-term gains (held up to 12 months) and 12.5% on long-term gains above Rs 1.25 lakh a year. Land, building, unlisted shares and gold are long-term after 24 months at 12.5% without indexation. Short-term gains on those are taxed at your slab rate.
Only for land or buildings bought before 23 July 2024, where you may choose 12.5% without indexation or 20% with indexation. The calculator computes both and shows the lower tax. It uses the Cost Inflation Index notified by the government.
Debt and specified mutual funds bought on or after 1 April 2023 are taxed at your slab rate however long you hold them (section 50AA). Funds bought earlier follow the 24-month long-term rule at 12.5%.
A short-term loss can be set off against any capital gain. A long-term loss can be set off only against long-term gains. Unused losses carry forward for 8 years if you file your return by the due date. The tool applies losses to the highest-rate gains first.
You can reduce long-term gains from property by reinvesting in a house (section 54), capital gain bonds (54EC) or a house from other assets (54F), subject to conditions and caps. Booking equity gains up to Rs 1.25 lakh a year is tax-free. Get professional advice before relying on these.