Capital Gains Tax Calculator

Estimate your capital gains tax for any investment. Determine whether you qualify for long-term or short-term rates based on your holding period.

$
$
$
years

Tax Rate Facts

Short-Term (1 year or less)
10%-37%
Taxed as ordinary income
Long-Term (over 1 year)
0% / 15% / 20%
2026 single: 0% to $49,450; 15% to $545,500; 20% above (taxable income)
NIIT
3.8%
Extra on net investment income above $200,000 single / $250,000 joint MAGI

Your Results

Calculated
Capital Gains Tax
$0
Tax owed
Capital Gain
$0
Profit amount
Tax Rate
0%
Rate applied
NIIT (3.8%)
$0.00
Included in the total above

Frequently Asked Questions

How accurate are the results?
The Capital Gains Tax applies a standard formula to your inputs — accuracy depends on how precisely you measure those inputs. For planning and estimation, results are reliable. For high-stakes or professional decisions, cross-check the output with a domain expert or primary source.
What inputs have the biggest effect on the result?
In most financial calculations, the variables with the highest sensitivity are the rate (interest, return, or tax) and time. Try adjusting each by 10-20% to see which one moves the output most — that's where your energy in improving the input estimate is best spent.

Key Takeaways

  • Capital gains tax applies only to the profit from selling an asset, not the total sale price
  • Holding investments for more than 1 year qualifies for lower long-term rates (0%, 15% or 20% depending on taxable income)
  • Short-term gains (held 1 year or less) are taxed as ordinary income (10%-37%)
  • Strategic timing of sales can significantly reduce your tax liability
  • Capital losses can offset capital gains to reduce overall tax burden

What is Capital Gains Tax?

Capital gains tax is a levy on the profit (capital gains) that you realize when you sell an asset that has increased in value. Assets subjected to this tax can include properties, investments, and even businesses. The most common types of capital gains come from the sale of stocks, bonds, precious metals, real estate, and property.

The tax isn't on the entire selling price but rather on the gain only. Therefore, understanding your capital gains tax obligation is essential for financial planning.

History of Capital Gains Tax

The concept of capital gains tax has a long history, tracing its roots back to the early 20th century. The tax was first introduced in the United States as part of the Revenue Act of 1913, following the ratification of the 16th Amendment. Initially, capital gains were taxed at the same rate as ordinary income.

Over the years, the treatment of capital gains has seen numerous changes regarding the inclusion rates, tax rates, and exemptions available. Despite the changes, the core principle remains - taxing profits made from the sale of assets.

International Comparisons of Capital Gains Tax

Capital gains tax policies vary significantly across the world. While some countries, like Belgium and New Zealand, do not impose a capital gains tax, others like Denmark and France have higher rates. In the United States, the rate varies based on income and the duration of asset ownership.

These differences can significantly impact international investors and multi-national businesses. As such, understanding the capital gains tax laws in relevant jurisdictions is crucial for effective financial planning and strategy.

Impact of Capital Gains Tax on Different Investments

Capital gains tax directly impacts the profitability of investments. When selling an investment at a profit, the capital gains tax can eat into the returns. The tax burden can differ based on the type of investment (like stocks, real estate, or bonds), how long you've held the investment, and your income bracket.

For instance, long-term investments held for more than a year are generally taxed at a lower rate compared to short-term investments in the United States. Understanding these nuances can guide investment strategy and portfolio management.

Pro Tip: Tax-Loss Harvesting

You can offset capital gains by selling investments that have lost value. This strategy, known as tax-loss harvesting, allows you to reduce your overall tax liability. Just be aware of the wash-sale rule, which prevents you from repurchasing substantially identical securities within 30 days.

Tax Planning Strategies

Effective tax planning can help reduce the capital gains tax burden. Strategies can include holding onto investments for longer periods to qualify for lower long-term rates, offsetting capital gains with capital losses, and investing in tax-advantaged accounts.

Remember, it's crucial to consult with a tax professional when implementing these strategies, as individual tax situations can be complex.

2026 Rates, Method and Worked Example

Long-term gains (assets held more than one year) are taxed at 0%, 15% or 20% depending on your taxable income (after deductions). For 2026 the 0% rate applies up to $49,450 (single or married filing separately), $66,200 (head of household) or $98,900 (married filing jointly); the 15% rate applies up to $545,500, $579,600, $613,700 (joint) or $306,850 (separate); 20% applies above that. Short-term gains are taxed at your ordinary 2026 rates (10%, 12%, 22%, 24%, 32%, 35%, 37%). Source: IRS Rev. Proc. 2025-32 and IRS Topic 409.

Method: the gain is stacked on top of your other taxable income. The part that falls below the 0% ceiling is tax-free, the next part is taxed at 15%, and anything above the 15% ceiling at 20%. For short-term gains the tax is the ordinary-income tax on (other income + gain) minus the tax on other income alone. The 3.8% Net Investment Income Tax applies to the lesser of the gain or the amount by which modified AGI exceeds $200,000 (single/head of household), $250,000 (joint) or $125,000 (separate); this calculator approximates MAGI as taxable income and treats the gain as your only investment income.

Worked example: single filer, other taxable income $40,000, bought for $10,000 and sold for $30,000 after 2 years. Gain = $20,000 (long-term). The 0% band has $49,450 − $40,000 = $9,450 left, taxed at $0. The remaining $10,550 is taxed at 15% = $1,582.50. NIIT does not apply (income under $200,000). Total tax: $1,582.50 (effective 7.91% of the gain). This is an estimate that ignores state tax, qualified dividends, collectibles/real-estate recapture rates and loss carryovers; consult a tax professional.

Using the Capital Gains Tax Calculator

The Capital Gains Tax Calculator simplifies the process of estimating your tax obligation on capital gains. It requires purchase price, selling price, duration of ownership, filing status and your other 2026 taxable income.

Once you fill in these inputs, the calculator provides an estimate of your capital gains tax. This estimate can guide decision-making about asset sales and tax planning.

Importance in Business, Education, and Daily Life

For businesses, understanding capital gains tax is crucial for strategic decision-making. The tax can significantly affect the net profit from selling business assets or investments.

In education, the concept of capital gains tax is a vital part of financial literacy and economics curriculum. Understanding it can equip students with the knowledge to make informed financial decisions in the future.

For individuals, knowing about capital gains tax is critical when dealing with personal finances. It is especially important when considering selling an asset, as the tax can impact the net proceeds from the sale.

Conclusion

Understanding capital gains tax and its implications on your financial decisions is crucial. The Capital Gains Tax Calculator is an easy-to-use tool that demystifies this tax, making it accessible to individuals, students, and businesses. Armed with this knowledge and tool, you can make better financial decisions.

General Household Budget Ratios (50/30/20 Rule)

Category% of Net IncomeExamples
Needs50%Rent, groceries, utilities, insurance
Wants30%Dining out, entertainment, hobbies
Savings / Debt20%Emergency fund, retirement, extra payments