Capital Gain Calculator
Calculate Your Taxable Gain

Calculate capital gains instantly for stocks, equity oriented mutual funds,
debt oriented mutual funds and gold ETF investments.

Applies to Indian tax rules. Last updated: 12 May 2026.

Check your Results Here!
Time period
203 Months
Type of capital gain
Long Term
Capital gain / loss
₹ 4,00,000
Tax rate
10%
Tax payable
₹ 40,000

What is Capital Gain and How Does It Work?

Capital gain is the difference between the price you paid for an asset and the price you sold it for. If the sale value is higher, the result is a gain. If it is lower, the result is a loss. This calculator also shows whether the gain is short term or long term based on the asset type you select.

The asset categories in this calculator are stocks, equity oriented mutual funds, debt oriented mutual funds, and gold ETF. The holding period determines whether the asset is short term or long term, while the tax rate follows the rule set you specified.

🏦
Buying Price

The price you paid when you bought the investment.

📈
Holding Period

The time between purchase and sale decides short term or long term status.

Sale Price

The amount you received when you sold the asset.


Short Term vs Long Term Capital Gain

Stocks and equity oriented mutual funds become long term after 12 months. Debt oriented mutual funds and gold ETF become long term after 36 months. Anything below that threshold is treated as short term.

Short Term Capital Gain

The asset is sold before its long term threshold is reached.

Example: Stocks sold within 12 months are short term.

Long Term Capital Gain

The asset is sold after its long term threshold is reached.

Example: Debt mutual funds sold after 36 months are long term.


How to Use This Capital Gain Calculator

Enter the asset type, sale price, purchase date, purchase price, and sale date. The calculator will automatically determine the holding period, classify the gain, and show the tax payable.

1
Choose the Asset Type
Select stocks, equity oriented mutual funds, debt oriented mutual funds, or gold ETF.
2
Enter the Sale and Purchase Values
Add the net selling price and net buying price using Indian number formatting.
3
Pick the Dates
Use the built-in date picker for the purchase date and the sale date.
4
Read the Result
See the holding period, capital gain or loss, gain type, tax rate, and tax payable.

Capital Gain Calculation Formula

The calculation is based on the difference between the sale price and the purchase price. The holding period determines whether the result is short term or long term.

Capital Gain Formula
Capital Gain = Selling Price - Buying Price
If the result is negative, it is a loss.
Holding Period Formula
Holding Period = Difference between Asset Bought Date and Asset Sold Date
Long term or short term depends on the asset-specific threshold.
Tax Formula
Tax Payable = Capital Gain × Tax Rate
Gold ETF tax rate = 0%
Worked Example — Stocks (Long Term)

Example: Bought at ₹6,00,000 on 2002-01-20 and sold at ₹10,00,000 on 2019-01-05. Holding period = 203 months → Long Term. Capital Gain = ₹4,00,000. Tax rate = 10% → Tax payable = ₹40,000.


Common Asset Types

The calculator uses these asset rules to decide the gain type and tax rate:

Asset Type Long Term Threshold Tax Rate Notes
Stocks 12 months 10% Equity asset
Equity Oriented Mutual Funds 12 months 10% Equity fund
Debt Oriented Mutual Funds 36 months 10% Debt fund
Gold ETF 36 months 0% No tax applied

Frequently Asked Questions

Short term capital gain applies when you sell an asset before its long term threshold. Long term capital gain applies after the threshold is crossed.

The holding period is calculated from the asset bought date to the asset sold date and shown in months.

Gold ETF uses a zero tax rate in this calculator because you specified none for gold.

Yes. If the sale price is lower than the purchase price, the calculator shows a loss and tax payable stays at zero.

The holding period becomes zero months, so the result is treated as short term.