Understanding Capital Gains and How Theyre Taxed
Learn how capital gains arise, how theyre taxed, and practical ways to plan ahead and manage your tax bill on investment profits.
Profits from selling investments and other valuable property are not just a sign of successful investing they are often capital gains, and in the United States those gains can trigger federal income tax. Learning how capital gains work and how they are taxed can help you avoid surprises and plan more effectively for your financial future.
What Is a Capital Gain?
In U.S. tax law, a capital gain is the profit you make when you sell a capital asset for more than your adjusted basis (sometimes called cost basis). The Internal Revenue Service (IRS) considers almost everything you own and use for personal or investment purposes to be a capital asset, including homes, investments, and personal-use property.
Your adjusted basis usually starts with what you paid for the asset, plus certain costs such as commissions and some improvements, and minus items like depreciation where applicable. When you sell, you compare that basis to the amount you receive. If the sale price is higher than your adjusted basis, the difference is a capital gain; if it is lower, you have a capital loss.
- Capital asset examples: stocks, bonds, mutual funds, exchange-traded funds (ETFs), real estate, businesses, artwork, collectibles, and many personal-use items.
- Capital gain: sale price > adjusted basis.
- Capital loss: sale price < adjusted basis.
Capital gains matter because the IRS generally treats them as a form of income that may be subject to tax, even though they arise from selling assets rather than from wages or salary.
Realized vs. Unrealized Gains
An important distinction for tax purposes is whether a gain is realized or unrealized:
- Unrealized gain: The value of your asset has increased on paper, but you still own it. You do not owe capital gains tax yet.
- Realized gain: You sell or otherwise dispose of the asset, locking in the profit. At that point, the gain enters your tax calculation.
For example, if you purchased stock for $1,000 and its market value rises to $1,400, you have an unrealized gain of $400. You only realize that gain, and potentially owe tax, when you sell the stock and receive the proceeds.
Short-Term vs. Long-Term Capital Gains
The U.S. tax system treats capital gains differently depending on how long you held the asset. This holding period can significantly affect the tax rate you ultimately pay.
| Type of gain | Holding period | Basic tax treatment |
|---|---|---|
| Short-term capital gains | Held for one year or less | Taxed at your ordinary income tax rates, up to the top marginal rate for the year. |
| Long-term capital gains | Held for more than one year | Generally taxed at preferential rates, typically 0%, 15%, or 20% depending on taxable income. |
Because short-term gains are taxed as ordinary income, frequent trading and very short holding periods can lead to higher tax bills, especially for higher-income taxpayers. By contrast, holding investments for more than one year may make them eligible for the lower long-term capital gains rates.
How Capital Gains Are Taxed in the U.S.
Capital gains are generally included in your taxable income, but the tax rate depends on whether the gain is short-term or long-term and on your overall income level.
Short-Term Capital Gains Taxation
Short-term capital gains are added to your other income and taxed according to the ordinary income tax brackets for the year. For high earners, that means short-term gains can be taxed at rates up to 37%.
- Taxed at the same rates as wages, salaries, and interest income.
- No special lower rate simply because the income comes from investments.
- Can be particularly costly for frequent traders or those who sell assets within a year of purchase.
Long-Term Capital Gains Taxation
Long-term capital gains receive more favorable treatment. The IRS states that for most individuals, the tax rate on most net long-term capital gain does not exceed 15%, and for some taxpayers the rate can be 0%. For higher-income individuals, the rate can be 20%.
Each year, specific income thresholds determine whether your long-term capital gains are taxed at 0%, 15%, or 20%. These thresholds vary by filing status such as single, married filing jointly, married filing separately, and head of household and are adjusted over time.
- 0% rate: applies to long-term gains for taxpayers whose taxable income falls below certain threshold amounts.
- 15% rate: applies to most taxpayers whose income is above the 0% threshold but below the upper limit for the 15% bracket.
- 20% rate: applies to long-term gains for taxpayers whose income exceeds the 15% bracket threshold.
In addition, high-income taxpayers may owe a separate net investment income tax (NIIT) of 3.8% on their investment income, including both long-term and short-term capital gains, if their modified adjusted gross income exceeds specified thresholds.
Capital Losses and Net Capital Gains
Investors do not always make a profit. When you sell a capital asset for less than your adjusted basis, you realize a capital loss. Losses can be valuable from a tax perspective because they can offset capital gains.
Offsetting Gains with Losses
The IRS allows you to combine your gains and losses to determine your net capital gain or loss for the year:
- First, net your short-term gains against short-term losses.
- Next, net your long-term gains against long-term losses.
- Finally, combine the net short-term and net long-term amounts to arrive at your overall net capital gain or net capital loss.
If your losses exceed your gains, you may be able to deduct a limited amount of net capital loss against your other income each year, with remaining losses carried forward. If your gains exceed your losses, the net gain is what is subject to capital gains tax, using the rates for short-term and long-term gains described above.
Common Capital Assets and Tax Considerations
Capital gains taxation affects a wide range of assets. Understanding how some common asset types are treated can help you anticipate potential tax consequences.
- Stocks and bonds: Gains are typically calculated by subtracting your purchase price (adjusted for commissions and fees) from the sale price. Holding period determines whether the gain is short-term or long-term.
- Mutual funds and ETFs: You may receive capital gains distributions even if you did not sell your shares, if the fund manager sells underlying holdings at a profit. These distributions are reported and taxed similarly to realized gains.
- Real estate: Gains from selling property are calculated using adjusted basis, which includes purchase price plus certain improvements and minus depreciation where applicable.
- Artwork and collectibles: Profits from selling collectibles are generally capital gains, but may be subject to special maximum rates that are higher than those for many other long-term capital assets.
Although the basic concept is consistent sale price minus adjusted basis specific rules can vary by asset type, especially for real estate, business interests, and property used in a trade or business.
How Capital Gains Are Reported to the IRS
Proper reporting is essential to comply with tax law. Brokers and financial institutions must report many categories of investment sales and distributions to both you and the IRS, typically using various information returns.
- Form 1099-B: Reports proceeds, basis information (for covered securities), and other details for many sales of stocks, bonds, and other capital assets held in brokerage accounts.
- Form 1099-DIV: Reports dividends and certain capital gains distributions from mutual funds and other regulated investment companies.
- Form 8949: Used by taxpayers to report sales and other dispositions of capital assets and to calculate gain or loss on each transaction.
- Schedule D (Form 1040): Summarizes total capital gains and losses and feeds into the main individual income tax return.
The information from your brokerage statements and IRS forms flows into Form 8949 and Schedule D, where your net capital gain or loss is calculated and the applicable tax rates are applied.
Planning Strategies for Capital Gains Taxes
While you cannot control market performance, you can manage the timing and nature of your transactions to influence how much capital gains tax you pay. Many investors use basic strategies to align investment decisions with tax considerations.
Hold Investments Long Enough for Preferential Rates
Because long-term capital gains generally receive lower tax rates than short-term gains, one of the most straightforward planning steps is to consider the holding period. Selling an asset just before the one-year mark can convert what would have been a long-term gain into a short-term gain, potentially increasing the tax rate.
- Review purchase dates before selling appreciated assets.
- Consider waiting until the asset qualifies for long-term treatment, if consistent with your investment goals and risk tolerance.
Use Capital Losses to Offset Gains (Tax-Loss Harvesting)
Investors often deliberately realize losses to offset gains, a tactic commonly referred to as tax-loss harvesting. By selling investments at a loss, you can help reduce the taxable portion of your gains for the year, subject to IRS rules.
- Identify underperforming investments that no longer fit your strategy.
- Sell those assets to realize the loss.
- Use losses to offset gains, then apply any excess losses as permitted against ordinary income up to annual limits, carrying forward remainder.
It is important to be aware of wash sale rules and other tax provisions that may restrict claiming a loss when you repurchase a substantially identical investment within a certain time frame.
Consider Your Overall Income Level
Because long-term capital gains tax rates depend on taxable income brackets, the year in which you realize large gains can matter. In years when your income is relatively low, more of your long-term gains may qualify for the 0% or 15% rates, compared with higher-income years.
- Coordinate asset sales with retirement, career changes, or other events that affect income.
- Evaluate whether spreading large sales over multiple years could help manage your tax bracket.
Frequently Asked Questions About Capital Gains
Do I owe capital gains tax if I dont sell my investments?
No. Capital gains tax applies to realized gains, which occur when you sell or otherwise dispose of a capital asset for more than your basis. Increases in value while you still own the asset are unrealized gains and are not taxed until you sell.
Are capital gains always taxed at lower rates than ordinary income?
Long-term capital gains generally receive lower maximum rates than ordinary income, but short-term capital gains are taxed at the same rates as your other ordinary income. For high earners, short-term gains can be taxed at rates up to 37%.
What forms do I need to report capital gains on my tax return?
Most individuals use Form 8949 to report each sale or disposition of capital assets and then summarize their capital gains and losses on Schedule D, which is filed with Form 1040. Brokers and funds typically send Forms 1099-B and 1099-DIV to provide the necessary information.
Can capital losses reduce my tax bill?
Yes. Capital losses can offset capital gains, and if your total losses exceed your gains, you may be able to deduct part of the excess against other income, subject to annual limits, with unused losses carried forward to future years.
Do inflation adjustments reduce my capital gains for tax purposes?
No. Under current U.S. rules, capital gains and losses are not adjusted for inflation. You pay tax based on the difference between your sale price and your basis, without a separate adjustment for changes in purchasing power over time.
References
- Topic No. 409, Capital Gains and Losses Internal Revenue Service. 2024-01-18. https://www.irs.gov/taxtopics/tc409
- How Are Capital Gains Taxed? Tax Policy Center. 2023-06-15. https://taxpolicycenter.org/briefing-book/how-are-capital-gains-taxed
- Capital Gains Legal Information Institute, Cornell Law School. 2023-05-01. https://www.law.cornell.edu/wex/capital_gains
- What Is Capital Gains Tax? Northwestern Mutual. 2023-09-12. https://www.northwesternmutual.com/life-and-money/what-is-capital-gains-tax/
- Capital Gains Tax: Definition, Rates, and Ways to Save Fidelity Investments. 2024-03-20. https://www.fidelity.com/learning-center/smart-money/capital-gains-tax-rates
- What Is Capital Gains Tax? Vanguard. 2024-02-05. https://investor.vanguard.com/investor-resources-education/taxes/realized-capital-gains
Read full bio of Sneha Tete





