What is Capital Gains Tax? What You Need To Know About Taxes On Investment Earnings

Short on Time? Here’s a quick summary of what’s ahead: 

Written by: Thomas Brooks
Published: June 9, 2025

Capital gains tax can be a confusing topic for many taxpayers, especially when it comes to understanding how it affects their investments and finances. Whether you’re a seasoned investor or a first-time seller, understanding the ins and outs of capital gains tax is essential for making informed financial decisions.

What is Capital Gains Tax?

Capital gains tax is a tax levied on the profit you make from selling an asset, such as stocks, real estate, or collectibles. The IRS considers this profit as income, and it’s taxed accordingly. Essentially, if you sell an asset for more than you paid for it, you’ve made a capital gain, and that gain is subject to tax.

What Does Capital Gains Tax Apply To?

Capital gains tax applies to a wide range of assets that you may sell for a profit. These include:

  • Stocks and bonds
  • Real estate properties (excluding your primary residence, in some cases)
  • Collectibles like art, antiques, and coins
  • Business assets, if you sell a business or its equipment

Who Needs to Pay Capital Gains Tax?

Anyone who sells an asset for a profit may be subject to capital gains tax. However, the specifics of how much you pay depend on how long you’ve held the asset and other factors like your income level.

What Are Capital Gains Tax Rates?

Understanding the capital gains tax rates is key to knowing how much you will owe after selling an asset. The rate depends on whether the gain is short-term or long-term.

What Are Long-Term Capital Gains Tax Rates?

Long-term capital gains apply to assets held for more than one year before being sold. Because the IRS rewards long-term investment, the tax rates on these profits are lower than those for short-term capital gains. As of 2023, the rates for long-term capital gains are as follows:

  • 0% for taxpayers in the 10% or 12% ordinary income tax brackets.
  • 15% for taxpayers in the 22%, 24%, 32%, and 35% tax brackets.
  • 20% for taxpayers in the 37% tax bracket.

These tax rates allow investors to benefit from holding assets over time and encourage long-term growth. However, it’s important to note that the rates can vary depending on the type of asset, such as stocks, bonds, or real estate.

What Are Short-Term Capital Gains Tax Rates?

Short-term capital gains apply to assets sold within one year of owning them. Since these gains are seen as the result of a shorter-term investment, they are taxed as ordinary income, meaning they follow the same tax rates as wages or salary income.

  • Short-term capital gains are taxed according to your ordinary income tax bracket, which ranges from 10% to 37% as of 2023. The exact rate you pay will depend on your total taxable income for the year. For instance, if you are in the 22% tax bracket, your short-term capital gains would be taxed at 22%, similar to your regular income.
  • In essence, the faster you sell an asset, the higher your potential tax liability will be, making it crucial to consider both the tax impact and your investment goals when deciding to sell.

Capital Gains Tax Rates by Income Bracket

The table below gives an overview of the tax rates for both long-term and short-term capital gains, depending on your income level:

Tax BracketLong-Term Capital Gains Tax RateShort-Term Capital Gains Tax Rate
Up to $41,675 (single)0%10% to 12%
$41,676 to $459,75015%22% to 35%
Above $459,75020%37%

What is the Difference Between Long-Term and Short-Term Capital Gains?

The key difference between long-term and short-term capital gains lies in how long you hold the asset before selling it, and this significantly impacts the tax rate you pay on the profits.

The distinction between long-term and short-term capital gains is crucial for tax planning. By holding assets for over a year, investors can reduce their tax burden, as the IRS rewards long-term investment. Understanding this difference allows you to plan your investment strategies more effectively and avoid unnecessary taxes.

How to Calculate Capital Gains Tax

To calculate how much you owe in capital gains tax, you need to know your capital gain or loss, which is the difference between what you paid for an asset and what you sold it for.

Here’s the basic formula:

Capital Gain or Loss = Selling Price – Purchase Price (or Cost Basis)

The cost Basis is typically what you paid for the asset, including any fees or commissions. It’s also important to account for any improvements made (in the case of real estate) or reinvested dividends (in the case of stocks).

Example:

Let’s say you bought a stock for $10,000 and sold it for $15,000. Your capital gain is:

$15,000 – $10,000 = $5,000 capital gain.

If you’ve held the stock for more than a year, this would be a long-term capital gain. If you sold it in less than a year, it would be considered short-term.

Capital Gains Tax Deductions and Exemptions

There are a few deductions and exemptions available to reduce your taxable capital gains.

  1. Primary Residence Exclusion

If you sell your primary residence, you may qualify for a capital gains exclusion. The IRS allows you to exclude up to:

  • $250,000 in gains if you are single
  • $500,000 if you are married and file jointly

To qualify, you must have lived in the home for at least two of the last five years.

  1. Other Deductions

Some other deductions that may apply include:

  • Investment-related expenses like broker fees
  • Capital losses, which can offset capital gains (explained in the next section)

Strategies to Minimize Capital Gains Tax

If you’re looking to minimize your capital gains tax liability, there are several strategies you can consider:

Tax-Loss Harvesting

Tax-loss harvesting is the strategy of selling investments that have lost value to offset gains in other investments. The losses can be used to reduce your taxable capital gains.

Hold Investments Longer

If possible, try to hold investments for more than a year to take advantage of the lower long-term capital gains tax rate.

Invest in Tax-Advantaged Accounts

Certain accounts, like IRAs and 401(k)s, allow your investments to grow without incurring capital gains tax until you withdraw the funds. This can be a powerful strategy for long-term wealth-building.

When Do You Need to Pay Capital Gains Tax?

Timing of Payments

You’re required to report and pay capital gains tax when you file your annual tax return. If you sell assets in the year, you will report the gains (or losses) on that year’s tax return.

Quarterly Estimated Payments

If you anticipate a large capital gain, you may need to make quarterly estimated tax payments to avoid underpayment penalties.

Special Capital Gains Tax Situations

Some unique situations may affect the tax rate on capital gains:

  • Collectibles (art, coins, etc.) are taxed at a higher rate of 28% for long-term capital gains.
  • Real Estate may be subject to additional taxes, such as the net investment income tax (NIIT), which applies a 3.8% surtax on certain investment income for higher earners

What is the Impact of Capital Gains Tax on Investments?

Capital gains tax can influence the decisions you make when buying or selling investments. Higher taxes can reduce your overall return, so many investors use tax-advantaged accounts or tax strategies to minimize their liability.

Long-Term Financial Planning

Capital gains tax also plays a role in long-term financial planning. Understanding how taxes affect your investments can help you develop a more efficient investment strategy and reduce the amount you owe over time.

Conclusion

Capital gains tax plays an important role in how you manage your investments. By understanding the rules, rates, and strategies available to minimize your tax liability, you can make more informed decisions and keep more of your profits. 

Be sure to consult with a tax professional if you have any questions or need help navigating your specific situation.

Frequently Asked Questions (FAQ) about Capital Gains Tax

1. Do I pay capital gains tax on all assets I sell?

No. Capital gains tax applies to the sale of assets that have been appreciated. Common examples include stocks, bonds, and real estate.

2. Can I avoid capital gains tax by gifting assets?

You may be able to avoid capital gains tax by gifting assets to a family member. However, they may inherit your original cost basis and will need to pay capital gains tax when they sell the asset.

3. How can I avoid paying capital gains tax on real estate?

You can avoid paying capital gains tax on the sale of your primary residence if you meet certain criteria, including living in the property for two of the last five years.

Get Tax Relief Help Now

Get started with a free consultation