Capital Gains Tax Calculator

Your numbers

Result

Selling a property, shares or mutual fund units triggers a tax event that many investors overlook until filing season arrives. Capital gains tax rules depend on the asset type and how long you held it, with different rates and exemptions applying to each combination.

The FinToolkit Capital Gains Tax Calculator works out your liability by applying the correct holding-period classification and tax rate to your specific asset. This article explains the current rules, the formula, a worked example, and common errors investors make when estimating this tax.

What is the Capital Gains Tax Calculator?

It is a tool that computes tax payable on profit made from selling a capital asset such as equity shares, mutual funds, property or gold, based on whether the gain is classified as short-term or long-term. The classification and applicable tax rate depend on the type of asset and the holding period before sale.

Since equity, debt funds, real estate and other assets each follow different holding-period thresholds and tax rates, the calculator asks for the asset type first, then applies the relevant rule automatically rather than a one-size-fits-all rate.

How the Capital Gains calculator works

You select the asset type, enter the purchase price, sale price, and purchase and sale dates. The calculator determines the holding period, classifies the gain as short-term or long-term accordingly, applies indexation where allowed, and computes tax at the applicable rate.

For listed equity and equity mutual funds, long-term gains above Rs 1,25,000 in a financial year are taxed at a flat rate, while short-term gains are taxed at a separate flat rate. For property and other assets, indexation benefit may apply to long-term gains, reducing the taxable amount.

Formula

Capital Gain = Sale Price − Purchase Price (indexed, where applicable) − Transfer Expenses
Equity shares/equity mutual funds:
  Short-term (held ≤ 12 months): taxed at 20%
  Long-term (held > 12 months): taxed at 12.5% on gains above Rs 1,25,000/year exemption
Property/gold/debt funds (illustrative, check current rules):
  Short-term: taxed at applicable slab rate
  Long-term: taxed at 12.5% (with indexation benefit generally available for property held long-term)

Calculation method (step by step)

  1. Identify the asset type: listed equity/equity mutual fund, debt fund, real estate, or other capital asset.
  2. Note the purchase date, purchase price, sale date and sale price.
  3. Calculate the holding period to determine whether the gain is short-term or long-term based on the asset-specific threshold (12 months for listed equity, 24 months for real estate).
  4. For long-term property gains where indexation applies, adjust the purchase price using the Cost Inflation Index for the respective years.
  5. Subtract the (indexed) purchase price and any transfer expenses like brokerage or stamp duty from the sale price to arrive at the capital gain.
  6. For long-term equity gains, deduct the Rs 1,25,000 annual exemption before applying the tax rate.
  7. Apply the relevant tax rate to the taxable gain to compute the final tax payable.

Real-life example

Consider Priya, who bought 500 shares of a listed company at Rs 400 each in January 2023 and sold them at Rs 900 each in March 2025, a holding period of over 12 months, making the gain long-term.

StepAmount
Purchase value (500 × Rs 400)Rs 2,00,000
Sale value (500 × Rs 900)Rs 4,50,000
Total long-term capital gainRs 2,50,000
Less: Annual exemptionRs 1,25,000
Taxable long-term gainRs 1,25,000
Tax @ 12.5%Rs 15,625

Priya's total gain of Rs 2,50,000 is reduced by the Rs 1,25,000 annual exemption on long-term equity gains, leaving Rs 1,25,000 taxable at 12.5%, resulting in a tax of Rs 15,625, excluding cess.

Benefits

Limitations

Who should use it

This calculator is useful for equity and mutual fund investors booking profits, property sellers estimating tax before a sale, and anyone planning the timing of an asset sale to optimise tax outcome. It also helps first-time investors understand how holding period changes their tax rate.

Common mistakes to avoid

Expert tips

Frequently asked questions

What is the holding period for long-term capital gains on equity?

Listed equity shares and equity mutual funds must be held for more than 12 months to qualify as long-term; anything held for 12 months or less is treated as short-term.

Is there any tax-free limit on long-term equity gains?

Yes, long-term capital gains on listed equity and equity mutual funds up to Rs 1,25,000 in a financial year are exempt from tax; only the amount above this threshold is taxed.

What is indexation benefit?

Indexation adjusts your purchase price for inflation using the Cost Inflation Index, reducing the taxable capital gain on eligible long-term assets like property, thereby lowering the tax payable.

How long must property be held to qualify as long-term?

Real estate must generally be held for more than 24 months from the date of purchase to be classified as a long-term capital asset; shorter holding periods attract short-term treatment.

Can capital losses be set off against gains?

Yes, short-term capital losses can be set off against both short-term and long-term gains, while long-term losses can only be set off against long-term gains, subject to carry-forward rules for unused losses.

Are capital gains from mutual funds taxed differently from stocks?

Equity mutual funds follow the same holding period and rates as listed shares, while debt mutual funds and other categories follow different rules, so the asset category must be checked before estimating tax.

Related calculators

Trust, accuracy and transparency

Educational purpose

FinToolkit is an educational tool. Nothing here is investment, tax, insurance or legal advice, and no result should be treated as an offer or a quote.

Financial accuracy

Every result is produced by a published formula running at full double precision in your browser. Only the displayed figures are rounded.

Formula verification

Each formula is checked against the standard method used by Indian lenders, fund houses, insurers or the relevant statute, and re-verified whenever rules change.

Data sources

Rules and rates are taken from official sources such as the Income Tax Department, RBI, SEBI, EPFO, PFRDA and India Post.

Privacy commitment

Calculations run entirely on your device. We do not store, transmit or sell the figures you enter. See our privacy policy.

Review policy

Pages carry a last-updated and next-review date. Corrections are welcome through the contact page.