Skip to main content

Capital Gains Tax Calculator

Calculate tax on stock profits for India, US, UK, Canada, and Australia.

What this calculator does

  • Calculates capital gain (sale price - purchase price × quantity)
  • Applies country-specific tax rates
  • Shows net profit after tax

How to Use

1

Enter purchase price

The price you paid per share

2

Enter sale price

Current price or planned sale price

3

Add quantity

Number of shares to sell

4

Select holding period

Short-term (<1 year) or long-term

5

Choose country

Tax rates vary by location

6

View results

See gain, tax, and net profit

Example Calculation

Scenario: You bought 100 shares at $100 and sold at $150 after 2 years.

Purchase (100 × $100)$10,000
Sale (100 × $150)$15,000
Capital Gain$5,000
Tax (15% long-term)-$750
Net Profit$4,250

Country-Specific Tax Rates

CountryShort-Term RateLong-Term RateHolding Period for LTCG
India20%12.5%Over 12 months
USA10-37% (income-based)0%, 15%, or 20%Over 12 months
UK18% (basic) / 24% (higher)18% / 24%Over 12 months
CanadaMarginal rate on 50% of gainMarginal rate on 50% of gainNo distinction
AustraliaMarginal rate on full gainMarginal rate on 50% of gainOver 12 months

Frequently Asked Questions

Capital gains tax is calculated on the profit you make when selling stocks. Subtract your purchase price from your sale price, then multiply by the number of shares. The tax rate depends on how long you held the stock and which country you live in.

Glossary

Capital Gain

The profit you make when you sell an asset for more than you paid. If you bought a stock at ₹100 and sold at ₹150, your capital gain is ₹50.

Holding Period

The length of time between when you bought a stock and when you sold it. This determines if your gain is short-term or long-term.

Long-Term Capital Gains (LTCG)

Profit from selling stocks held longer than the threshold period (usually 12 months). These gains are taxed at lower rates in most countries.

Short-Term Capital Gains (STCG)

Profit from selling stocks held for less than the threshold period. These are usually taxed at higher rates or as regular income.

Net Profit

The amount you actually keep after paying capital gains tax. This is your capital gain minus the tax owed.