Understanding this aspect of tax strategy is crucial for investors looking to optimize their financial outcomes. In essence, the IRS allows taxpayers to use capital losses to offset capital gains, which can potentially reduce the amount of tax owed. Short-term capital losses, which occur when an asset is sold at a loss within a year of purchase, can indeed be used to offset long-term capital gains, which are profits from the sale of assets held for more than a year. By strategically applying these losses, investors can potentially lower their taxable income, making it an essential consideration for anyone involved in buying and selling assets.
If you’re looking for help optimizing your tax strategy or harvesting investment losses in your portfolio, consider working with a financial advisor.
What Are Capital Gains and Capital Losses?
A capital gain occurs when you sell an asset for more than its purchase price, reflecting a positive return on your investment. Conversely, a capital loss arises when the selling price is less than the purchase price, indicating a decrease in the value of your investment. These fluctuations can affect various types of assets, including stocks, bonds, real estate and collectibles like art or antiques.
The value of these assets can change due to many factors, such as market conditions and economic indicators. For example, an increase in demand for real estate can lead to capital gains for property owners, whereas a downturn in the stock market can result in capital losses for stockholders.
As another example, if an investor buys shares in a technology firm and then sells them at a higher price after a successful product launch. This investor realizes a capital gain. Conversely, if the investor sells their shares after a decline in the company’s profitability, the investor suffers a capital loss.
Short-Term vs. Long-Term
Capital gains and losses are classified as either short-term or long-term. Short-term capital gains and losses – which come from assets held for one year or less – are taxed at higher rates, the same as ordinary income tax rates. These tax rates can be as high as 37% depending on the taxpayer’s income bracket.
In contrast, long-term capital gains and losses – which come from the sale of assets held for more than one year – benefit from lower tax rates, currently capped at 20%. This tax structure incentivizes investors to engage in longer-term investments, promoting financial stability and growth.
Capital Gains Tax Rates

The distinction between short- and long-term capital gains is key to determining how investment profits should be taxed. Short-term capital gains typically include profits from the sale of stocks, bonds or commodities held for a short duration. Long-term capital gains, on the other hand, may arise from the sale of real estate or long-held stock investments.
In 2026, short-term capital gains are taxed as ordinary income, with rates that range from 10% to 37%, depending on the taxpayer’s income bracket.
2026 Short-Term Capital Gains Tax Rates
| Rate | Single | Married Filing Jointly | Married Filing Separately | Head of Household |
|---|---|---|---|---|
| 10% | $0 – $12,400 | $0 – $24,800 | $0 – $12,400 | $0 – $17,700 |
| 12% | $12,401 – $50,400 | $24,801 – $100,800 | $12,401 – $50,400 | $17,701 – $67,450 |
| 22% | $50,401 – $105,700 | $100,801 – $211,400 | $50,401 – $105,700 | $67,451 – $105,700 |
| 24% | $105,701 – $201,775 | $211,401 – $403,550 | $105,701 – $201,775 | $105,701 – $201,775 |
| 32% | $201,776 – $256,225 | $403,551 – $512,450 | $201,776 – $256,225 | $201,776 – $256,200 |
| 35% | $256,226 – $640,600 | $512,451 – $768,700 | $256,226 – $384,350 | $256,201 – $640,600 |
| 37% | $640,601+ | $768,701+ | $384,351+ | $640,601+ |
However, long-term capital gains are taxed at 0%, 15% or 20%, based on the taxpayer’s income level:
2026 Long-Term Capital Gains Tax Rates
| Tax Rate | Individuals | Married Filing Jointly | Head of Household | Married Filing Separately |
|---|---|---|---|---|
| 0% | $0 – $49,450 | $0 – $98,900 | $0 – $66,200 | $0 – $49,450 |
| 15% | $49,451 – $545,500 | $98,901 – $613,700 | $66,201 – $579,600 | $49,451 – $306,850 |
| 20% | $545,501+ | $613,701+ | $579,601+ | $306,851+ |
How Capital Losses Can Offset Gains
Investing in the stock market inherently involves both potential gains and the risk of losses. However, not all losses need to be viewed negatively if managed strategically through tax-loss harvesting. This method involves the deliberate selling of securities at a loss to offset a corresponding gain, which can help reduce the overall tax liability.
Short-term losses are first used to offset short-term gains. If short-term losses exceed the gains, the remaining loss can be applied against long-term gains. Conversely, long-term losses are first applied against long-term gains.
Notably, if an investor’s total realized losses exceed their total gains, the IRS allows up to $3,000 of this excess loss to be deducted against other types of income annually, with the possibility of carrying forward unused losses into future tax years.
Want a clearer picture of your taxes before you submit your return? Try our income tax calculator to get an estimate.
Income Tax Calculator
Calculate your federal, state and local taxes for the 2025 tax year.
Your 2025 Total Income Taxes
Federal Income & FICA Taxes
State Taxes
Local Taxes
About This Calculator
Our income tax calculator calculates your federal, state and local taxes based on several key inputs: your household income, location, filing status and number of personal exemptions.
How Income Taxes Are Calculated
-
First, we calculate your adjusted gross income (AGI) by taking your total household income and reducing it by certain items such as contributions to your 401(k).
-
Next, from AGI we subtract exemptions and deductions (either itemized or standard) to get your taxable income. Exemptions can be claimed for each taxpayer.
-
Based on your filing status, your taxable income is then applied to the tax brackets to calculate your federal income taxes owed for the year.
-
Your location will determine whether you owe local and / or state taxes.
When Do We Update? - We check for any updates to the latest tax rates and regulations annually.
Customer Service - If you would like to leave any feedback, feel free to email info@smartasset.com.
Assumptions
Deductions
- "Other Pre-Tax Deductions" are not used to calculate state taxable income.
Credits
- The only federal credit automatically calculated is the Savers Credit, depending on your eligibility.
- We do not apply any refundable credits, like the Child Tax Credit or Earned Income Tax Credit (EITC).
- We do not apply state credits in our calculations.
Itemized Deductions
- If itemizing at the federal level, you may need to itemize at the state level too. Some states don't allow itemized deductions, which is accounted for in our calculations.
- When calculating the SALT deduction for itemized deductions, we use state and local taxes, and we assume your MAGI.
- We assume that there is no cap to itemized deductions, if a state allows them.
- We do not categorize itemized deductions (such as medical expenses or mortgage interest), which could be subject to specific caps per state.
Local Tax
- Depending on the state, we calculate local taxes at the city level or county level. We do not include local taxes on school districts, metro areas or combine county and city taxes.
- With the exception of NYC, Yonkers, and Portland/Multnomah County, we assume local taxes are a flat tax on either state taxable income or gross income.
Actual results may vary based on individual circumstances and changes in tax laws or IRS regulations. Estimates provided by this calculator do not guarantee income tax amounts or rates. Past performance is not indicative of future results.
SmartAsset.com does not provide legal, tax, accounting or financial advice (except for referring users to third-party advisers registered or chartered as fiduciaries ("Adviser(s)") with a regulatory body in the United States). Articles, opinions and tools are for general informational purposes only and are not intended to provide specific advice or recommendations for any individual. Users should consult their accountant, tax advisor or legal professional to address their particular situation.
Example of Tax-Loss Harvesting

Let’s take the example of an investor who has the following losses and gains within the same fiscal year:
- $5,000 short-term loss
- $2,000 short-term gain
- $7,000 long-term gain
Our hypothetical investor chose to sell a short-term investment at a $5,000 loss to reduce net gains of $9,000 ($2,000 on another short-term investment and $7,000 on an investment that they held for six years before selling).
First, the $5,000 short-term loss will offset the entirety of his $2,000 short-term gain. For tax purposes, he has $3,000 in remaining short-term losses that he can apply against his $7,000 long-term gain. As a result, he’ll pay long-term capital gains tax rates on just $4,000.
It’s important to note that while tax-loss harvesting can be a beneficial strategy, its effectiveness depends on individual circumstances and market conditions. Additionally, there are rules and limitations, such as the wash-sale rule, which prevents investors from claiming a tax deduction for a security sold at a loss and repurchased within 30 days.
Bottom Line
Understanding how short-term capital losses can offset long-term capital gains is crucial for effective tax planning. Tax-loss harvesting is a strategy that uses investment losses to offset investment gains realized in the same year. Short-term losses must first be applied to short-term gains. Then, the remaining short-term losses can be used to offset long-term gains. If total losses exceed total gains, the IRS allows investors to deduct up to $3,000 from their other forms of income, further reducing one’s tax liability in a given year.
Portfolio Tax Tips
- If tax efficiency is a financial priority, consider working with a financial advisor who can help in that area. Finding a financial advisor doesn’t have to be hard. SmartAsset’s free tool matches you with vetted financial advisors who serve your area, and you can have a free introductory call with your advisor matches to decide which one you feel is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.
- Planning for a tax bill related to the sale of an investment can help make filing your taxes a little less painful. After all, it’s better to go into tax season with a sense of how much you’ll owe from when you sold that stock or ETF the previous year. Whether you have short- or long-term capital gains, SmartAsset’s capital gains tax calculator can help you estimate how much you may end up owing.
Photo credit: ©iStock.com/skhoward, ©iStock.com/Pekic, ©iStock.com/Thapana Onphalai
