All Calculators

Capital Gains Tax Calculator

Estimate your capital gains and understand your potential tax liability based on your investment details.

Built for Indian investors

Search Investment

Optional. Market data is reference only — your entered prices and dates always drive the tax calculation.

Enter Your Investment Details

All amounts are in Indian Rupees.

Tax Details

Tax rules are applied from the financial year you select.

Assessment Year 2027-28

Needed only to estimate surcharge. Left blank, surcharge is not included.

Captured for your reference — set-off is not applied to this estimate.

Live summary

Purchase Value₹0
Sale Value₹0
Total Costs₹0
Gross Capital Gain₹0
Net Capital Gain₹0

Net capital gain = sale value − purchase value − total costs.

Your Capital Gains Summary

Sale Value₹0
Purchase Value₹0
Total Costs₹0
Capital Gain₹0
Holding Period
Tax Classification

Estimated Tax

Calculated in next step

Tax calculation will appear here.

This calculator provides an estimate for informational purposes. Final tax liability depends on applicable tax rules, exemptions, surcharge, cess and your individual circumstances.

Estimated Tax Breakdown

Rules applied: FY 2026-27 (AY 2027-28)

Enter your transaction details to see an estimated tax breakdown.

This is an educational estimate, not tax advice. Final liability depends on your complete income, exemptions, set-offs and individual circumstances. Please verify with a qualified tax professional.

Holding Period

Select a purchase date and a sale date.

Tax Classification

Listed equity shares become long term after 12 months.

Your Investment Outcome

Enter your purchase and sale details to see your outcome.

Data sources

Transaction prices supplied by user.

Tax figures are computed solely from your transaction data and the VIA Capital tax rules engine. Market data is reference only and never changes the tax outcome.

Visual Analysis

Charts are generated from your own inputs — nothing is simulated.

Enter your investment details to see your analysis.

How this calculator works

  1. 1Enter purchase details.
  2. 2Enter sale details.
  3. 3The calculator determines the holding period.
  4. 4Applicable tax treatment is determined using the tax rules engine.
  5. 5Capital gain and estimated tax are displayed.
  6. 6A detailed visual report will be available.

Tax rules are reviewed and updated when applicable.

Important disclaimer

This tool is provided for education and planning support only. It does not provide investment, tax or legal advice, and it is not a filing utility. Capital gains treatment depends on the asset, the holding period, exemptions, surcharge, cess and your personal circumstances, and the rules can change. Please confirm your position with a qualified tax professional before acting.

What is Capital Gains Tax?

When you sell a capital asset — listed shares, an ETF or mutual fund units — for more than it cost you, the profit is a capital gain. In India that gain is taxed separately from salary or business income, under the sections of the Income Tax Act that apply to the asset you sold and to how long you held it. If the sale value is lower than your cost, the result is a capital loss and no tax arises on that transaction.

How Capital Gains Tax is Calculated

  1. Purchase value = purchase price × quantity.
  2. Sale value = sale price × quantity.
  3. Brokerage and other eligible transfer costs are deducted from the gross gain.
  4. The holding period between the two dates decides whether the gain is short-term or long-term for that asset class.
  5. The rules engine then applies the section, rate, any exemption, surcharge and health & education cess configured for the financial year you selected.

Short-Term vs Long-Term Capital Gains

Short-term capital gain (STCG) arises when the asset is sold before completing the holding-period threshold for its class. Long-term capital gain (LTCG) arises once that threshold is crossed. The threshold is not the same for every asset — listed equity, unlisted shares and debt schemes each carry their own rule, and the applicable rule may also change part-way through a financial year. This calculator reads the threshold, the section and the rate from the rule set for the financial year you pick, so the classification you see matches the rules in force for that year rather than one fixed assumption.

How to Use This Calculator

  1. Pick the asset type, listing status and, optionally, search for the security.
  2. Enter purchase price, sale price, quantity and both dates.
  3. Add brokerage or other transfer costs if you want them deducted.
  4. Choose the financial year of the sale, and add your total income and slab rate when the engine asks for them — those are needed before surcharge or slab-rate tax can be estimated.
  5. Select Calculate Capital Gains, then review the breakdown and charts.
  6. Download the PDF report if you want a copy of the workings.

Capital Gains Tax Example

Suppose you buy 100 listed shares at ₹500 each and sell them 20 months later at ₹800 each, paying ₹1,200 in brokerage across both legs.

  • Purchase value: 100 × ₹500 = ₹50,000
  • Sale value: 100 × ₹800 = ₹80,000
  • Gross gain: ₹30,000, less ₹1,200 costs = ₹28,800 net gain
  • Holding period: 20 months, so the long-term rule for listed equity applies

The calculator then applies the exemption, rate, surcharge and cess configured for the financial year of the sale and shows each of those lines separately, along with the statutory section it used. Enter your own numbers above to see the same breakdown for your transaction.

New to these terms? The investment dictionary explains STCG, LTCG, indexation and cess in plain language.

Built for Indian Investors

This tool is an educational estimator. It shows exactly which rules it used so you can verify the workings yourself or with a qualified tax professional.

  • Financial-year specific

    Calculated using the rule set for FY 2026-27 (AY 2027-28).

  • Transparent breakdown

    Gain, exemption, taxable gain, base tax, surcharge and cess are each shown as a separate line with the statutory section applied.

  • Tax-rule version

    FY 2026-27 rule set · provisional

  • Last reviewed

    24 Aug 2026

  • Source reference

    Statutory references are shown with each applied rule.

  • Downloadable report

    Export your inputs, breakdown and the rule version used as a PDF you can keep or share with your tax adviser.

Frequently Asked Questions

Built in India • Designed for Indian Investors