Capital Gains Tax Calculator

Estimate capital gains tax on stocks, crypto, or property. Enter purchase/sale price, holding period, tax bracket, and location. Get tax owed and after-tax proceeds with location-specific rates and short/long-term classification. Informational only—consult a tax professional. Explore more tools on free calculators on CalculatorBolt.

Calculator

Type of asset sold
Tax jurisdiction
Your marginal tax rate
Original cost basis
Selling price
Acquisition date
Disposition date
Capital Gain
Tax Amount
After-Tax Proceeds
Tax Summary

How it works

Capital Gain = Sale Price - Purchase Price. Tax = Gain × Tax Rate (short-term gains use your income tax bracket; long-term gains use preferential rates). After-Tax Proceeds = Sale Price - Tax Amount. Location determines holding period requirements and tax rates. Most jurisdictions classify gains held less than 1 year as short-term and 1+ years as long-term.

Inputs explained

  • Asset Type: The type of asset you sold (stocks, real estate, cryptocurrency, or other).
  • Purchase Price: The original cost basis of the asset, including purchase fees and commissions.
  • Sale Price: The selling price received, minus selling fees and commissions.
  • Purchase Date: The date you acquired the asset.
  • Sale Date: The date you sold or disposed of the asset.
  • Location: Your tax jurisdiction (determines holding period rules and tax rates).
  • Income Tax Bracket: Your marginal income tax rate (used for short-term gains).
  • Custom Rates: For custom location, specify short-term and long-term tax rates manually.

Example

Stock, US, Purchase = $10,000, Sale = $15,000, Held 2 years, Bracket = 24%. Capital Gain = $5,000 (long-term since held > 1 year). Tax = $5,000 × 15% (long-term rate) = $750. After-Tax Proceeds = $15,000 - $750 = $14,250.

Tips & notes

  • Long-term capital gains usually have lower tax rates than short-term gains in most jurisdictions.
  • Some jurisdictions offer exclusions or deductions (e.g., US primary residence exclusion of up to $250,000 or $500,000 for couples).
  • Cryptocurrency tax rules vary by country; in the US, crypto is treated as property subject to capital gains tax.
  • Capital losses can offset capital gains. In the US, you can deduct up to $3,000 in net losses against ordinary income per year.
  • This calculator uses federal rates for US. State taxes may also apply depending on your location.
  • Always keep detailed records of purchase dates, prices, and transaction costs for tax reporting.

FAQs

Short-term gains (held less than 1 year) are taxed as ordinary income at your income tax bracket rate. Long-term gains (held 1 year or more) have preferential lower tax rates, typically 0%, 15%, or 20% in the US.

In the US, cryptocurrency is treated as property for tax purposes and subject to capital gains tax. Short-term and long-term rules apply based on holding period.

It provides an estimate. Actual tax liability depends on many factors including deductions, exemptions, state taxes, and special circumstances. Consult a tax professional.

No. Everything runs in your browser. Use Export or Share Link to save your configuration.

For 2024, long-term capital gains are taxed at 0%, 15%, or 20% depending on your income level. Most taxpayers pay 15%.

Yes, capital losses can offset capital gains. In the US, you can also deduct up to $3,000 in net losses against ordinary income per year.

Yes. For example, the US offers a primary residence exclusion of up to $250,000 ($500,000 for married couples) if you meet certain requirements.

Some US states tax capital gains as ordinary income (e.g., California), while others have no income tax (e.g., Florida, Texas). This calculator focuses on federal rates.

Disclaimer

Informational estimate only. Does not account for all tax complexities, exemptions, or state taxes. Consult a qualified tax professional for personalized advice.

Related Calculators

Author: CalculatorBolt Editorial Team
Reviewed by: Tax/Finance Editor
Published: Updated: