Capital Gains Tax Calculator

Estimate the tax owed on the sale of an investment or asset.

Capital Gain / Loss
₹0
Tax Owed
₹0
Net Proceeds After Tax
₹0

How to Use

Enter what you paid for the asset, what you sold it for, and how long you held it. The calculator automatically classifies the gain as short-term or long-term based on the 12-month holding period and applies the matching rate you provide, since exact rates vary by country and by your own tax bracket, you'll need to enter the applicable rates yourself. The badge above the results updates instantly to show which classification applied and which rate was used, so you can see at a glance why a particular tax figure came out the way it did.

What Counts as a Capital Gain

A capital gain is the profit made when you sell a capital asset, stocks, mutual fund units, real estate, bonds, or similar investments, for more than you originally paid for it. It's distinct from regular income like salary or business revenue, and in most tax systems it's taxed under its own separate set of rules and rates rather than being lumped in with ordinary income entirely. The gain itself is simply sale price minus purchase price (often called the "cost basis"), what varies enormously by country is how that gain is then taxed, and that's exactly the part this calculator asks you to supply as an input rather than assume.

Worked Example: A Stock Sale Held 18 Months

Using this tool's own defaults: a purchase price of ₹100,000, a sale price of ₹150,000, held for 18 months, with a short-term rate of 30% and a long-term rate of 15%. The gain is straightforward, sale minus purchase equals ₹50,000. Since 18 months exceeds the 12-month threshold, this qualifies as a long-term gain, so the 15% rate applies rather than the 30% short-term rate: tax owed comes to ₹50,000 × 15% = ₹7,500, leaving net proceeds after tax of ₹150,000 − ₹7,500 = ₹142,500. Had the same sale happened at 10 months instead of 18, the same ₹50,000 gain would have been taxed at the 30% short-term rate, ₹15,000 in tax, exactly double, which is the concrete financial weight the short-term/long-term distinction carries in a system with this kind of rate gap.

Why the Holding Period Is the Single Most Important Input

Of every field in this calculator, holding period is the one most within your control before a sale happens, and it's often the one with the largest swing in tax owed. Selling an asset one or two months before it crosses the long-term threshold, purely to access cash sooner, can mean paying tax at nearly double the rate on the exact same gain in a system like the worked example above. This is why many investors deliberately track purchase dates and plan sale timing around this threshold specifically, it's one of the few capital-gains levers that's a matter of timing rather than tax law, entirely within your own control to manage.

Common Mistakes When Estimating Capital Gains Tax

The most frequent mistake is applying the wrong rate, using an ordinary income tax rate for a long-term gain that actually qualifies for a lower preferential rate, or vice versa, assuming a lower rate applies to a sale that's actually still short-term by a matter of weeks. A second common mistake is ignoring transaction costs entirely, brokerage fees, stamp duty, and transfer costs can typically be factored into your cost basis or deducted from proceeds in many tax systems, and skipping them tends to overstate your actual taxable gain. A third is forgetting that a loss on one sale can often offset a gain on another within the same tax year in many jurisdictions, treating each sale as fully isolated can lead to overestimating total tax liability across a portfolio with mixed winners and losers.

Frequently Asked Questions

What's the difference between short-term and long-term capital gains?

It comes down to how long you held the asset before selling. Assets held under 12 months are typically taxed as short-term gains, often at a higher rate closer to ordinary income tax, while assets held 12 months or more usually qualify for a lower, preferential long-term rate. Exact thresholds and rates vary by country.

Does this calculator account for my country's specific tax brackets?

No, you enter the applicable short-term and long-term rates yourself, since capital gains rules and brackets vary significantly by country and by income level. Check your local tax authority's current rates before entering them here.

How exactly is the 12-month holding period counted?

Most tax authorities count from the day after you acquired the asset to the day you sold it. This calculator uses a simplified whole-months input rather than exact dates, if your actual holding period lands right around the 12-month line, check your local rules for the precise cutoff date, since being off by even a day can shift an asset from short-term to long-term treatment.

What happens if I sell at a loss instead of a gain?

No capital gains tax is owed on a loss, this calculator shows a Capital Loss badge and zero tax in that case. In many tax systems a capital loss can also be used to offset capital gains elsewhere, or in some cases carried forward to future tax years, though the specific rules for loss offsetting vary significantly by country and this calculator doesn't model that offsetting.

Does this calculator account for brokerage fees, stamp duty, or other transaction costs?

No, it works purely off purchase price and sale price as entered. Many tax systems allow transaction costs (brokerage, stamp duty, transfer fees) to be added to your cost basis or deducted from proceeds before calculating the taxable gain, if that applies to you, factor those costs into the purchase or sale price you enter here to get a more accurate estimate.

Why do short-term and long-term gains get taxed at different rates in many countries?

The lower long-term rate is a deliberate policy choice in many tax systems, intended to encourage longer-term investment holding over frequent short-term trading. Short-term gains are often taxed the same as ordinary income (salary, business income), which can be a meaningfully higher rate than the preferential long-term rate, this difference is exactly why the holding period matters so much for tax planning.