Capital Gains Tax Calculator – Free Tool | CalculatorKits
Capital Gains Tax Calculator

📊 Know Your Capital Gains Tax Instantly

Calculate short-term and long-term capital gains tax on stocks, real estate, and other investments. See exactly what you'll owe.

Instant Results No Registration Mobile Friendly Free to Use Gain Breakdown
100% Free No Data Stored Rate Details
Capital Gain $0
Tax Amount $0
Tax Rate 0%
Net Proceeds $0
Live Updates 100% Private Instant Projections What-If Scenarios Auto-Save

Capital Gains Tax Calculator Inputs

Original cost of the asset
Amount you sold the asset for
How long you held the asset
Your tax filing status
Your total taxable income for the year
  • Short-Term Capital Gains: Taxed at your ordinary income tax rate (10–37%).
  • Long-Term Capital Gains: Taxed at preferential rates (0%, 15%, or 20%) based on your taxable income.
  • 2025 Brackets: The tool uses projected 2025 US federal tax brackets for accurate calculations.
  • Filing Status: Your filing status determines the bracket thresholds.
Tip: Long-term capital gains rates are significantly lower than short-term rates. Hold investments for more than one year to benefit from preferential tax treatment.
  • 2025 Tax Brackets: Uses projected 2025 US federal tax rates.
  • No State Taxes: State and local capital gains taxes are not included.
  • No Adjustments: Basis adjustments, commissions, and other costs are not factored in.
  • No Loss Offset: Capital losses are not offset against gains in this calculation.
  • No NIIT: Net Investment Income Tax (3.8%) is not included.

Your Capital Gains Tax Results

⚠️ For estimation purposes only. Not financial advice. Consult a tax professional for your specific situation.
$0
Capital Gain
$0
Purchase Price
$0
Sale Price
$0
Capital Gain
0%
Tax Rate
$0
Tax Amount
$0
Net Proceeds

Actionable Insight

Enter your asset details to see personalized tax insights.

Breakdown of Sale Proceeds

Gain vs Tax

What-If Simulator

Adjust the slider to see how a different sale price affects your tax and net proceeds.

$0
New tax amount: $0 New net proceeds: $0

Tax Calculation Details

Item Amount Notes

How This Tool Works

1

Enter Asset Details — Provide the purchase price, sale price, and holding period.

2

Add Income Information — Enter your taxable annual income and filing status.

3

Click Calculate — The tool computes your capital gain, tax rate, and tax amount.

4

Review the Breakdown — See a detailed breakdown of your gain and tax calculations.

Capital Gains Tax Formula:
Capital Gain = Sale Price − Purchase Price
Tax = Capital Gain × Applicable Rate Short-Term Rate = Ordinary income tax rate (10–37%) Long-Term Rate = 0%, 15%, or 20% based on income Net Proceeds = Sale Price − Tax Amount

The Math Behind the Tool

Capital Gain / Loss
Gain = Sale Price − Purchase Price
The profit (or loss) from selling an asset.
Short-Term Capital Gains Tax
Tax = Gain × Ordinary Income Tax Rate
Short-term gains (held ≤ 1 year) are taxed at your marginal income tax rate.
Long-Term Capital Gains Tax
Rate = 0% (income ≤ threshold), 15% (income ≤ threshold), or 20% (income > threshold)
Long-term gains (held > 1 year) are taxed at preferential rates based on your taxable income.
Net Proceeds
Net = Sale Price − Tax Amount
The amount you keep after paying capital gains tax.
Why Holding Period Matters
Assets held for more than one year qualify for lower long-term capital gains rates (0–20%), while short-term holdings (≤ 1 year) are taxed at ordinary income rates (10–37%). This can mean a significant difference in your tax bill.

Real-World Examples

Stock

Long-Term Stock Sale

Purchase: $50,000
Sale: $75,000
Gain: $25,000
Tax: $3,750 | Rate: 15% | Net: $71,250

Real Estate

Real Estate Sale

Purchase: $200,000
Sale: $350,000
Gain: $150,000
Tax: $22,500 | Rate: 15% | Net: $327,500

Short-Term

Short-Term Trade

Purchase: $10,000
Sale: $15,000
Gain: $5,000
Tax: $1,100 | Rate: 22% | Net: $13,900

Short-Term vs Long-Term Comparison

Compare how holding period affects your tax liability for the same gain amount.

Holding Period Tax Rate Tax Amount Net Proceeds Savings

Assumes $25,000 gain, $50,000 purchase price, and $75,000 sale price.

What Makes This Tool Different

Short vs Long-Term — Automatically applies the correct tax rate based on your holding period.

Detailed breakdown — See exactly how your gain is calculated and taxed.

Interactive charts — Visualize the breakdown of your sale proceeds.

What-if sale price — See how different sale prices affect your tax and net proceeds.

No tracking, no sign-up — All calculations run locally in your browser.

Common Mistakes to Avoid

Confusing short-term and long-term rates
Short-term gains are taxed at ordinary income rates (up to 37%), while long-term gains have preferential rates (0–20%).
Forgetting to include all costs
Commissions, fees, and improvements can increase your cost basis and reduce your gain.
Not offsetting losses against gains
Capital losses can offset capital gains, reducing your tax liability. This tool assumes no losses.
Ignoring state taxes
Many states also tax capital gains. This tool calculates federal tax only.
Assuming all assets qualify for long-term rates
Collectibles and certain other assets have different long-term rates (up to 28%).

Limitations

Does not include state or local capital gains taxes.
Does not account for Net Investment Income Tax (NIIT).
Does not offset capital losses against gains.
Does not include commission fees or adjustments to cost basis.
Not a substitute for professional tax advice.

Trust & Privacy

Runs entirely in your browser
No data uploaded or stored
No account required
No cookies for calculations
Last Updated: July 2026

All calculations are performed locally in your browser. No personal information is stored or shared.

Browser Compatibility

Chrome ✓ Edge ✓ Firefox ✓ Safari ✓

References & Standards

Editorial Process

The CalculatorKits editorial team reviews this tool periodically to ensure formula accuracy, clear definitions, helpful guidance, and current information. Last reviewed: July 2026.

Frequently Asked Questions

Who Uses This Tool?

Investors

Calculating tax liability on stock sales, mutual funds, and other investment assets to plan their trades.

Real Estate Investors

Estimating capital gains tax on property sales and planning 1031 exchanges or other tax strategies.

Traders & Freelancers

Understanding the tax implications of short-term trading vs long-term holding strategies.

Financial Planners

Demonstrating tax-efficient investment strategies and comparing different holding periods to clients.

Capital Gains Tax Calculator

Selling assets like stocks, property, or investments can trigger taxes that significantly affect your final profit. This Capital Gains Tax Calculator helps you estimate how much tax you may owe when you sell an asset. By entering a few details, you can quickly understand your taxable gain and expected tax liability.

Whether you are an investor, property owner, or trader, this Capital Gains Tax Calculator gives you clear results without complex tax tables or manual calculations.


What Is a Capital Gains Tax Calculator?

A Capital Gains Tax Calculator is a financial tool that calculates tax on the profit earned from selling an asset. Capital gain is the difference between the sale price and the purchase price of an asset.

This calculator helps determine:

  • Capital gain or loss
  • Applicable tax based on holding period
  • Estimated tax payable

Capital gains are generally classified as short-term or long-term, depending on how long the asset was held. Tax rates often differ for each category. To understand the general concept of capital gains tax, you can also read the explanation on Wikipedia.


Why Use This Capital Gains Tax Calculator?

Manually calculating capital gains tax can be confusing. You need to account for purchase price, sale price, holding period, income level, and tax rules.

This Capital Gains Tax Calculator helps because it:

  • Calculates gains accurately
  • Distinguishes short-term and long-term gains
  • Reduces calculation errors
  • Saves time during tax planning

Being browser-based, it works instantly without downloads or signups. Many users also combine results with an Income Tax Calculator to estimate overall tax liability.


How to Use the Capital Gains Tax Calculator (Step-by-Step)

  1. Enter the purchase price ($) of the asset.
  2. Enter the sale price ($).
  3. Select the holding period (short-term or long-term).
  4. Enter your taxable annual income ($).
  5. Choose your filing status if applicable.
  6. Click calculate to view estimated capital gains tax.

You can adjust values to compare different selling scenarios.


Capital Gains Tax Formula Explained

The Capital Gains Tax Calculator uses the basic capital gain formula:

Capital Gain = Sale Price − Purchase Price

If the result is positive, it is a gain. If negative, it is a capital loss.

Tax Calculation Concept

Tax Payable = Capital Gain × Applicable Tax Rate

Tax rate depends on:

  • Holding period
  • Income level
  • Local tax rules

Example Calculation

Purchase price: $50,000
Sale price: $75,000

Capital gain = $25,000

If short-term tax rate applies at 20%:

Tax payable = $25,000 × 0.20 = $5,000

This shows why timing asset sales matters.


Key Features

  • Calculates short-term and long-term gains
  • Supports income-based tax estimation
  • Instant and accurate results
  • Free and browser-based
  • No signup or data storage

Who Can Use This Tool?

This Capital Gains Tax Calculator is useful for:

  • Investors selling stocks or funds
  • Property owners selling real estate
  • Traders managing short-term assets
  • Business owners selling capital assets
  • Financial planners assisting clients

For understanding investment growth before tax, users often use an Investment Calculator alongside this tool.


Pros and Cons of Capital Gains Tax Tools

Pros

  • Quick tax estimation
  • Clear gain or loss calculation
  • Helps plan asset sales
  • Easy scenario comparison

Cons

  • Does not replace official tax filing
  • Excludes country-specific exemptions
  • Actual tax may vary

To understand how inflation affects real profits, some users also refer to an Inflation Calculator.


Safety, Privacy, and Accuracy

All calculations are performed directly in your browser. No asset values, income data, or personal information is stored or shared.

This Capital Gains Tax Calculator is intended for educational and planning purposes only. Tax laws vary by country and may change. Always consult a qualified tax professional or official tax authority before filing taxes.


Frequently Asked Questions

What does a Capital Gains Tax Calculator calculate?

It estimates tax payable on profits from selling assets.

Is this Capital Gains Tax Calculator free?

Yes. It is completely free and requires no signup.

What is the difference between short-term and long-term gains?

Short-term gains apply to assets held for a shorter period, while long-term gains apply to assets held longer and often have lower tax rates.

Does this calculator include exemptions?

No. It provides estimates based on inputs and does not include all exemptions.

Are results accurate worldwide?

The calculator is flexible, but accuracy depends on correct tax rate inputs.


Conclusion

This Capital Gains Tax Calculator helps you understand how much tax you may owe before selling an asset. It provides quick, clear insights and supports better financial planning.

Whether you are selling investments or property, this tool gives you instant estimates without complexity. For complete tax planning, you can also explore an Income Tax Calculator or evaluate returns using a Compound Interest Calculator.

Spread the love