Capital Gains Calculator – Investment Tax Estimator
Calculate the tax on your investment profits with our comprehensive capital gains calculator.
Last updated: April 2026
Include brokerage, stamp duty, legal fees, etc.
Holding Period
3 years, 0 months, 16 days
Net Profit After Tax
₹40500.00
| Component | Amount ($₹) |
|---|---|
| Sale Price | $₹150000.00 |
| Purchase Price | ₹100000.00 |
| Expenses | ₹5000.00 |
| Capital Gain/Loss | ₹45000.00 |
| Tax Rate | 10% |
| Tax Amount | ₹4500.00 |
| Net Profit After Tax | ₹40500.00 |
What is a Capital Gains Calculator?
A Capital Gains Calculator is a financial tool designed to help investors estimate the tax liability on profits earned from selling capital assets such as stocks, mutual funds, property, gold, or other investments. It takes into account various factors like the purchase price, sale price, holding period, and applicable tax rates to provide an accurate estimate of the capital gains tax payable.
In India, capital gains are classified as either short-term or long-term based on the holding period of the asset. Different asset classes have different holding period thresholds for this classification. Additionally, long-term capital gains often benefit from indexation, which adjusts the purchase price for inflation, thereby reducing the taxable gain.
This calculator simplifies the complex process of determining your capital gains tax liability by automatically applying the appropriate tax rates, considering the asset type, holding period, and indexation benefits where applicable. It helps investors make informed decisions about their investments and plan their tax obligations effectively.
How to use this calculator
- 1Select the asset type — Choose the type of asset you've sold (equity shares, mutual funds, property, gold, etc.).
- 2Enter the purchase price — Input the original cost at which you acquired the asset.
- 3Enter the sale price — Input the amount you received when selling the asset.
- 4Enter any expenses — Include any costs associated with buying or selling the asset, such as brokerage, stamp duty, etc.
- 5Select the purchase and sale dates — Enter when you bought and sold the asset to determine the holding period and applicable tax rate.
- 6View the results — The calculator will show your capital gain/loss, whether it's short-term or long-term, the applicable tax rate, and the tax amount payable.
Formula & example
Capital Gains = Sale Price - (Purchase Price or Indexed Cost) - Expenses
Let's calculate capital gains for an equity investment with the following parameters:
- Purchase Price: ₹1,00,000
- Purchase Date: January 15, 2020
- Sale Price: ₹1,50,000
- Sale Date: February 20, 2023
- Expenses: ₹5,000 (brokerage, etc.)
- Asset Type: Equity Shares
Step 1: Determine if it's short-term or long-term
Holding Period: From January 15, 2020, to February 20, 2023 (more than 12 months)
For equity shares, gains are considered long-term if held for more than 12 months.
Therefore, this is a Long-Term Capital Gain (LTCG).
Step 2: Calculate the capital gain
For equity shares, indexation benefit is not available for long-term gains.
Capital Gain = Sale Price - Purchase Price - Expenses
Capital Gain = ₹1,50,000 - ₹1,00,000 - ₹5,000
Capital Gain = ₹45,000
Step 3: Calculate the tax liability
For long-term capital gains on equity exceeding ₹1 lakh per year, the tax rate is 10%.
Since the gain is ₹45,000 (less than ₹1 lakh), the tax liability is ₹0.
Alternative Example (with Indexation):
Let's consider a property sale with the following details:
- Purchase Price: ₹50,00,000
- Purchase Date: May 2018 (Financial Year 2018-19, CII: 280)
- Sale Price: ₹75,00,000
- Sale Date: June 2023 (Financial Year 2023-24, CII: 348)
- Expenses: ₹1,00,000
Holding Period: More than 24 months, so it's a Long-Term Capital Gain.
Indexed Cost of Acquisition = Purchase Price × (CII of Sale Year ÷ CII of Purchase Year)
Indexed Cost = ₹50,00,000 × (348 ÷ 280)
Indexed Cost = ₹50,00,000 × 1.24 = ₹62,14,286
Capital Gain = Sale Price - Indexed Cost - Expenses
Capital Gain = ₹75,00,000 - ₹62,14,286 - ₹1,00,000 = ₹11,85,714
Tax Liability (at 20%) = ₹11,85,714 × 20% = ₹2,37,143
Benefits
Tax Planning
Estimate your tax liability before selling assets to plan your finances and avoid surprises at tax time.
Investment Decision Support
Compare the after-tax returns of different investment options to make more informed decisions.
Holding Period Optimization
Understand how timing your asset sales can significantly impact your tax liability.
Indexation Benefit Analysis
See how inflation adjustment through indexation can reduce your taxable gains for long-term investments.
Asset Type Comparison
Compare tax implications across different asset classes to optimize your investment portfolio.
Tax Saving Strategy Development
Identify opportunities to minimize capital gains tax through strategic investment planning.
Use cases
Stock Market Investments
Equity investors can calculate the tax implications of their trading activities, distinguishing between short-term and long-term gains to optimize their selling strategy and minimize tax liability while maximizing returns.
Real Estate Transactions
Property owners can estimate the capital gains tax on property sales, factoring in indexation benefits for long-term holdings and exploring potential tax exemptions available under various sections of the Income Tax Act.
Mutual Fund Redemptions
Mutual fund investors can analyze the tax impact of redeeming their investments, comparing the tax efficiency of different fund types (equity vs. debt) and timing their redemptions to minimize tax outgo.
Portfolio Rebalancing
Investors looking to rebalance their portfolio can assess the tax consequences of selling various assets, helping them make informed decisions about which investments to retain and which to liquidate based on after-tax returns.
Frequently asked questions
What are capital gains?+
Capital gains refer to the profit earned from selling a capital asset (such as stocks, mutual funds, property, gold, etc.) at a price higher than its purchase price. The gain is calculated as the difference between the selling price and the purchase price (cost of acquisition), after adjusting for any expenses related to the purchase or sale.
What is the difference between short-term and long-term capital gains?+
The classification depends on the holding period of the asset. For equity shares and equity mutual funds, gains are considered long-term if the asset is held for more than 12 months. For real estate and unlisted shares, the threshold is 24 months. For debt mutual funds, gold ETFs, and physical gold, it's 36 months. Short-term capital gains are taxed at higher rates than long-term capital gains.
What is indexation benefit?+
Indexation is a benefit available for long-term capital gains (except equity) that adjusts the purchase price of an asset for inflation, thereby reducing the taxable capital gain. It uses the Cost Inflation Index (CII) published by the Income Tax Department annually. The indexed cost of acquisition is calculated as: Original Cost × (CII of Sale Year ÷ CII of Purchase Year).
How are capital gains taxed in India?+
Short-term capital gains on equity are taxed at 15%, while other short-term gains are taxed as per your income tax slab. Long-term capital gains on equity exceeding ₹1 lakh per year are taxed at 10% without indexation. Long-term capital gains on other assets are taxed at 20% with indexation benefit. Additionally, applicable surcharge and health & education cess are levied on the tax amount.
Can capital losses be offset against capital gains?+
Yes, capital losses can be offset against capital gains in the same financial year. Short-term capital losses can be set off against both short-term and long-term capital gains. However, long-term capital losses can only be set off against long-term capital gains. Any unused capital loss can be carried forward for up to 8 assessment years to be set off against future capital gains.
What expenses can be included in the cost of acquisition?+
The cost of acquisition includes the purchase price of the asset plus any expenses directly related to the purchase, such as brokerage, stamp duty, registration fees, legal fees, etc. Similarly, when calculating capital gains, you can deduct expenses related to the transfer of the asset, such as brokerage, commission, legal fees, etc., from the sale proceeds.
Are there any exemptions available for capital gains tax?+
Yes, there are several exemptions available under different sections of the Income Tax Act. For example, under Section 54, long-term capital gains from the sale of a residential property can be exempt if invested in another residential property. Similarly, Section 54EC provides exemption if gains are invested in specified bonds, and Section 54F offers exemption on sale of any asset (other than a house) if the proceeds are used to buy a residential property.
Related articles
How to Minimize Your Capital Gains Tax Legally
Explore strategies to reduce your tax liability on investment profits within legal boundaries.
Understanding Indexation: The Tax-Saving Tool for Long-Term Investors
A comprehensive guide to how indexation works and how it can significantly reduce your tax burden.
Capital Gains Tax Changes in Budget 2023: What Investors Need to Know
Stay updated on the latest tax regulations affecting your investment returns.