Skip to content
Aback Tools Logo

Capital Gains Tax Calculator

Calculate capital gains tax on asset sales - stocks, real estate, crypto, mutual funds, and more. Enter cost basis, sale price, holding period, income bracket, and select your jurisdiction (US, UK, India, Australia, Canada, Singapore). See gross gain, short-term vs long-term classification, tax owed, net proceeds after tax, and compare cost-basis methods (FIFO, LIFO, specific identification). Free, private, and no signup required.

Capital Gains Tax Calculator

Calculate capital gains tax on asset sales across multiple jurisdictions. Enter your cost basis, sale price, holding period, and income - see gross gain, classification, tax owed, and net proceeds. Results update instantly as you adjust any parameter. Supports US, UK, India, Australia, Canada, and Singapore tax rules.

Asset Details

Purchase price including commissions & fees

Total amount received from sale

Brokerage, exchange, legal, and other fees

Holding & Income

Long-term threshold: 12 months

Your total taxable income for the year

Jurisdiction

Note: $250k exclusion on primary residence (single) / $500k (married).

Tax brackets: Rates: 0%/15%/20% long-term + 3.8% NIIT above $200k income.

Gain / Loss Summary

Capital Gain

$34,800.00

Classification

Long-term

Held 14 months

Effective Tax Rate

15%

US (Single Filer)

Cost Basis vs Sale Price

Cost: $50,200
Gain: $34,800.00

Tax Breakdown

ItemAmount (USD)
Gross Capital Gain$34,800.00
Tax-Free Exemption-$0.00
Taxable Gain$34,800.00
Tax Rate Applied(Long-term)15%
Capital Gains Tax Owed$5,220.00
Net Proceeds (After Tax)$79,580.00

Cost Basis Method Comparison

Different cost-basis methods can produce different tax outcomes. Here's how each method would affect your calculation:

FIFO (First In, First Out)

Oldest shares sold first

Adjusted basis$47,500
Taxable gain$37,300

LIFO (Last In, First Out)

Newest shares sold first

Adjusted basis$52,500
Taxable gain$32,300

Specific Identification

Choose specific lots to sell

Adjusted basis$49,000
Taxable gain$35,800

Average Cost Basis

Average price of all shares

Adjusted basis$50,000
Taxable gain$34,800

These are illustrative estimates. Actual tax liability depends on specific lot identification and your tax advisor's guidance.

Why Use Our Capital Gains Tax Calculator?

Instant Capital Gains Tax Calculation

Enter your cost basis, sale price, fees, holding period, and annual income to get an instant capital gains tax estimate. The capital gains tax calculator computes gross gain, classification (short-term vs long-term), exemptions, tax owed, and net proceeds after tax - all updated in real time as you adjust any parameter. No button pressing needed.

Multi-Jurisdiction Tax Support

The capital gains tax calculator includes built-in tax rules for 7 jurisdictions: US Single Filer, US Married Filing Jointly, UK, India, Australia, Canada, and Singapore. Each jurisdiction applies the correct tax rates, holding period thresholds, exemptions (like the UK £3,000 allowance or Australia's 50% CGT discount), and net investment income surcharges automatically.

Cost Basis Method Comparison

Compare how different cost-basis accounting methods affect your tax liability. The capital gains tax calculator shows illustrative outcomes for FIFO (First In, First Out), LIFO (Last In, First Out), Specific Identification, and Average Cost Basis methods - helping you understand how the choice of accounting method can significantly impact your taxable gain and tax owed.

100% Private - No Data Upload

The capital gains tax calculator runs entirely in your browser. Your asset details, cost basis, sale price, income, and financial data never leave your device. Calculate your capital gains tax liability with complete confidentiality - no signup, no server, no data storage. All processing is done client-side for maximum privacy.

Common Use Cases for Capital Gains Tax Calculator

Calculating Tax on Stock & ETF Sales

Investors use the capital gains tax calculator to estimate tax liability when selling stocks, ETFs, or mutual funds. Enter your cost basis (what you paid including commissions), sale proceeds, and holding period to see whether the gain qualifies as short-term (taxed at ordinary income rates) or long-term (taxed at preferential rates in most jurisdictions).

Real Estate Property Sale Tax Planning

Homeowners and real estate investors use the capital gains tax calculator to estimate tax on property sales. The calculator factors in primary residence exemptions ($250K single / $500K married in the US, main residence exemption in Australia and Canada) and transaction fees like agent commissions and legal costs added to the cost basis.

Crypto & Digital Asset Tax Calculation

Cryptocurrency traders use the capital gains tax calculator to estimate tax on crypto asset disposals. Enter your crypto cost basis, sale price, and exchange fees to see the taxable gain. The holding period helps determine whether the gain is short or long-term - particularly important as many jurisdictions apply different rates to digital assets.

Comparing Tax Outcomes Across Jurisdictions

International investors and expatriates use the capital gains tax calculator to compare tax outcomes across different jurisdictions. Switch between US, UK, India, Australia, Canada, and Singapore tax rules to see how the same asset sale would be taxed in each country - invaluable for residency planning and cross-border investment decisions.

Cost Basis Method Optimization

Tax-efficient investors use the capital gains tax calculator to compare cost-basis methods. FIFO (selling oldest shares first) typically maximizes gains, LIFO (newest first) minimizes them, and Specific Identification lets you choose which lots to sell for optimal tax treatment. See illustrative comparisons for each method to inform your selling strategy.

Year-End Tax Loss Harvesting Planning

Tax-savvy investors use the capital gains tax calculator during year-end tax-loss harvesting. Calculate the tax impact of selling losing positions to offset gains realized earlier in the year. See how harvesting losses at different amounts affects your total tax liability and net proceeds - helping you make data-driven year-end portfolio decisions.

Understanding the Capital Gains Tax Calculator

What is a Capital Gains Tax Calculator?

A capital gains tax calculator is a financial tool that estimates the tax liability on gains from selling capital assets such as stocks, bonds, real estate, cryptocurrency, and other investments. It takes your cost basis (what you paid for the asset plus transaction fees), the sale price, the holding period, and your annual income to compute the gross capital gain, determine whether it is short-term or long-term, apply the appropriate tax rate based on your jurisdiction, subtract any applicable exemptions, and calculate the final tax owed and net proceeds after tax. Our capital gains tax calculator supports tax rules for the United States, United Kingdom, India, Australia, Canada, and Singapore - all processing locally in your browser with no data uploaded to any server.

How Our Capital Gains Tax Calculator Works

  1. Enter Asset & Transaction Details: Input your cost basis (the original purchase price including commissions and fees), the sale price, and any transaction fees (brokerage, legal, exchange fees). The capital gains tax calculator adds fees to your cost basis to determine the adjusted cost basis, then subtracts it from the sale price to calculate your gross capital gain or loss.
  2. Set Holding Period & Income:Enter how many months you held the asset before selling. The calculator automatically classifies the gain as short-term or long-term based on your jurisdiction's threshold (e.g., 12 months for US long-term classification). Enter your annual taxable income to determine the correct marginal tax bracket for short-term gains and the applicable long-term capital gains rate.
  3. Review the Complete Tax Breakdown: The calculator displays the gross gain, holding period classification, effective tax rate, any tax-free exemption applied, the tax owed, and your net proceeds after tax. A visual cost-basis comparison shows how different accounting methods (FIFO, LIFO, Specific ID, Average Cost) would affect your taxable gain.

Key Capital Gains Tax Concepts

  • Short-Term vs Long-Term:Most jurisdictions differentiate between short-term gains (assets held for a short period, typically less than 12 months) and long-term gains (held longer). Short-term gains are usually taxed at ordinary income tax rates, while long-term gains receive preferential tax treatment. The capital gains tax calculator automatically applies the correct classification based on your jurisdiction's holding period threshold.
  • Cost Basis: The original value of an asset for tax purposes, usually the purchase price plus any commissions, fees, and improvements. A higher cost basis reduces the taxable gain. Different accounting methods (FIFO, LIFO, Specific Identification, Average Cost) can produce different cost basis amounts for identical portfolios, significantly affecting tax liability.
  • Tax-Free Exemptions: Many jurisdictions offer exemptions that reduce or eliminate capital gains tax in certain situations. The UK offers a £3,000 annual tax-free allowance. India exempts LTCG up to ₹1 lakh on listed equities. Australia offers a 50% CGT discount for assets held over 12 months. The US provides a $250,000/$500,000 primary residence exclusion.
  • Net Investment Income Tax: In the US, high-income earners (over $200,000 single / $250,000 married) may be subject to an additional 3.8% Net Investment Income Tax (NIIT) on top of their regular capital gains tax rate. The capital gains tax calculator automatically includes NIIT for applicable income levels.

Accuracy, Limitations & Privacy

The capital gains tax calculator produces analytical estimates based on current tax rules for the supported jurisdictions - it is not a substitute for professional tax advice. Tax laws change frequently, and individual circumstances (offsetting losses, AMT, state/local taxes, foreign tax credits, and special asset types) can significantly affect your actual tax liability. The cost basis method comparison provides illustrative estimates only - actual FIFO/LIFO calculations depend on specific lot purchase dates and prices. All calculations run entirely client-side in your browser - no data is sent to any server, no signup required, and no financial information ever leaves your device. Consult with a qualified tax professional before making decisions based on these estimates.

Related Tools

Frequently Asked Questions About Capital Gains Tax Calculator

A capital gains tax calculator is a tool that estimates the tax you owe on profits from selling capital assets like stocks, bonds, real estate, or cryptocurrency. It takes your cost basis (purchase price plus fees), sale price, holding period, and annual income to compute the gross gain, classify it as short-term or long-term, apply the correct tax rate for your jurisdiction, subtract any exemptions, and show the final tax owed and net proceeds. Our capital gains tax calculator supports US, UK, India, Australia, Canada, and Singapore tax rules and processes everything locally in your browser.

Capital gains tax is calculated by first determining your gross gain: Sale Price - (Cost Basis + Fees). The gain is then classified as short-term or long-term based on how long you held the asset. Short-term gains are typically taxed at your ordinary income tax rate, while long-term gains get preferential rates. The calculator applies the correct tax rate for your jurisdiction, subtracts any applicable exemptions (like the UK £3,000 allowance or India ₹1 lakh exemption), and computes the final tax owed. The example US long-term rates are 0%, 15%, or 20% depending on your income, plus a 3.8% NIIT surcharge for high earners.

Short-term capital gains are profits from assets held for one year or less (in most jurisdictions) and are taxed at your ordinary income tax rate - typically higher. Long-term capital gains are profits from assets held for more than one year and receive preferential tax treatment, such as the US 0%/15%/20% rates, Australia's 50% CGT discount, or India's 10% LTCG rate. The capital gains tax calculator automatically determines the classification based on your holding period and jurisdiction, applying the correct rates to each.

The capital gains tax calculator compares four common cost-basis accounting methods: FIFO (First In, First Out) sells the oldest shares first - typically resulting in higher gains if the asset appreciated; LIFO (Last In, First Out) sells the newest shares first - often minimizing gains; Specific Identification lets you choose which lots to sell for optimal tax treatment; and Average Cost Basis uses the average price of all shares. Each method can produce significantly different tax outcomes for identical transactions. The calculator shows illustrative estimates for comparison.

Absolutely. The capital gains tax calculator runs entirely in your browser using client-side JavaScript. Your cost basis, sale price, fees, income, and all financial details never leave your device. No data is uploaded to any server, stored in a database, or tracked in any way. All calculations happen locally - nothing leaves your computer. No signup or account is required.

The capital gains tax calculator supports seven tax jurisdictions: US Single Filer (with long-term rates of 0%/15%/20% plus 3.8% NIIT above $200k), US Married Filing Jointly (0%/15%/20% plus NIIT above $250k), UK (10%/20% rates with £3,000 annual exemption), India (15% STCG / 10% LTCG with ₹1 lakh exemption), Australia (marginal rates 0-45% with 50% CGT discount for >12 months), Canada (50% inclusion rate at marginal tax rates), and Singapore (no capital gains tax). Each applies the correct holding periods, exemptions, and surcharges.

The capital gains tax calculator currently estimates federal/national-level capital gains tax only. It does not include state-level capital gains taxes (such as California, New York, or Oregon state taxes in the US), provincial taxes in Canada, or local taxes. These additional taxes can add 0-13.3% to your effective rate depending on your location. Consider state and local taxes separately when planning your asset sales, and consult with a tax professional for a complete picture.

Yes, 100% free with no signup, no account, and no usage limits. Calculate capital gains tax for any asset value, holding period, income level, and jurisdiction combination as many times as you need, completely free forever. There are no hidden charges, premium tiers, or usage caps. All calculations run locally in your browser.