Capital Gains Tax Calculator: Stocks, Shares & Real Estate

Estimate short-term and long-term capital gains tax on equities, real estate, and investment assets. Compare holding periods, statutory tax rates, and post-tax net proceeds.

Reviewed for Mathematical Accuracy Last updated: 2026
Capital Gain / Loss
₹0
Tax Owed
₹0
Net Proceeds After Tax
₹0
Tax Disclaimer: This calculator provides mathematical estimates based on statutory tax brackets. Tax laws, exemptions, and deductions vary across jurisdictions and change periodically. This tool does not constitute official tax, accounting, or legal advice. Verify with a Certified Public Accountant (CPA/CA) or official tax authorities before making binding tax filings.

Understanding Capital Gains Tax Calculations

A capital gain represents the financial appreciation realized when selling a capital asset for a higher sum than its adjusted purchase price. The fundamental tax computation follows standard accounting principles:

Taxable Capital Gain = Gross Sale Value − (Purchase Cost Basis + Allowable Transfer Expenses)
Tax Owed = Taxable Capital Gain × Applicable Tax Rate (STCG or LTCG)

Asset Class Holding Period & Classification Matrix

Tax legislation distinguishes between short-term capital gains (STCG) and long-term capital gains (LTCG). Holding duration thresholds vary significantly across primary asset categories:

Asset Category LTCG Qualification Period Typical Tax Treatment Key Exemptions / Reliefs
Listed Equities & Stocks > 12 Months Preferential low fixed rate (often 10% to 20%) Annual basic exemption limits in many tax jurisdictions
Real Estate & Land > 24 Months Indexation benefits or special real property flat rates Primary residence rollover exemptions (Section 54 / 1031 Exchange)
Cryptocurrency & Digital Assets Variable / No LTCG Flat 30% or ordinary income bracket without loss offset Strict reporting requirements with minimal allowable deductions
Gold, Metals & Collectibles > 24 to 36 Months Standard collectible tax schedule (up to 28% federally) Sovereign gold bonds held to maturity may be tax-exempt

Tax-Loss Harvesting & Offset Rules

Strategic investors leverage capital losses to minimize annual tax exposure through disciplined portfolio rebalancing:

Deductible Costs to Reduce Taxable Gains

To prevent overpaying capital gains tax, record all eligible acquisition and sale expenditures:

Frequently Asked Questions

What distinguishes short-term from long-term capital gains?

Assets held for less than the statutory threshold (typically 12 months for equities or 24 months for real estate) incur short-term capital gains, usually taxed at ordinary income brackets. Assets held longer qualify for preferential long-term rates.

Can capital losses offset capital gains in tax calculations?

Yes, in most jurisdictions capital losses can directly offset capital gains realized during the same tax year. Excess net losses can often be carried forward to offset gains in future tax years.

Can transaction fees and brokerage be deducted from capital gains?

Yes, allowable acquisition costs such as brokerage commissions, transfer stamp duties, legal fees, and capital improvements can be added to your cost basis to lower taxable profit.

How is capital gains tax calculated on shares and stocks?

Subtract purchase cost and brokerage fees from gross sale proceeds. If held longer than 12 months, apply the preferential long-term capital gains rate; otherwise apply short-term rates.

What is indexation in capital gains tax?

Indexation adjusts the purchase price of an asset upward using a government inflation cost index, reducing the nominal taxable gain to account for monetary purchasing power erosion over long holding periods.

Is capital gains tax owed if I reinvest all the proceeds?

Selling an asset triggers a taxable realization event regardless of whether you reinvest cash into new stocks. Some tax codes grant exemptions for primary real estate reinvestment under specific statutory sections.