Tax Loss Harvesting Calculator
Estimate the tax saved by selling investments at a loss to offset gains, using the 2026 rules the page cites.
Tax Details
Usually your Capital Gains rate (15-20%) or Income Tax rate.
The "Wash Sale" Rule
To claim this tax benefit, you cannot buy the same or "substantially identical" security within 30 days before or after the sale. If you do, the IRS disallows the loss deduction for that year.
The 2026 Guide to Tax Loss Harvesting Strategy
In the world of sophisticated investing, it's not just about what you make - it's about what you keep. Tax Loss Harvestingis a legitimate strategy that allows you to "rebate" a portion of your investment losses from the IRS by using them to offset your taxable gains.
While seeing "red" in your portfolio is never fun, these unrealized losses are actually a valuable tax asset. By "realizing" those losses strategically, you can effectively lower your tax bill, keep more money compounding in the market, and turn a market downturn into a long-term financial advantage.
How Tax Loss Harvesting Actually Works
When an investment's current market value falls below its cost basis(the price you paid, including commissions), you have an unrealized loss. If you sell that investment, that loss becomes "realized."
Once realized, that loss can be used as a deduction. The IRS allows you to use your realized losses to cancel out realized capital gains you've made on other investments. If you made $10,000 from selling a stock at a gain, but also realized a $10,000 loss on another, your net taxable gain for the year is $0.
The $3,000 Income Offset Rule
What if you have no gains to offset? This is where the strategy gets even better. If your total capital losses exceed your total capital gains for the year, you can use up to $3,000 of the remaining loss to offset your ordinary income(like your salary). This reduces the amount of your paycheck that the IRS can tax at your highest marginal rate.
Understanding the Wash Sale Rule
You cannot simply sell a stock today to claim the loss and buy it back five minutes later. The IRS Wash Sale Ruledictates that if you sell a security at a loss and buy the same or a "substantially identical" security within 30 days before or afterthe sale, your loss is disallowed for tax purposes.
This means you must be out of the position for at least 31 days to successfully "harvest" the loss.Example:If you sell the Vanguard S&P 500 ETF (VOO) for a loss, you can't immediately buy the iShares S&P 500 ETF (IVV) because the IRS may view them as substantially identical. However, you could potentially buy a Total Stock Market ETF (VTI) which is highly correlated but not identical.
A disallowed loss is not gone: it is added to the basis of the replacement shares, and only the matched share count is affected when you buy back fewer shares than you sold. The wash sale calculation guide works the adjusted basis and holding period lot by lot, including dividend reinvestments and IRA purchases.
Short-Term vs. Long-Term: The Netting Rule
The IRS groups your transactions into two buckets:
- Short-Term: Assets held for one year or less. These are taxed at your ordinary income tax rates (up to 37%).
- Long-Term: Assets held for more than one year. These are taxed at lower capital gains rates (0%, 15%, or 20%).
When harvesting, you first offset losses against gains of the same type (short-term losses against short-term gains). If you have excess losses in one bucket, they can then be used to offset gains in the other bucket.
Tax Loss Carryforwards: Losses That Never Expire
If you have a particularly bad year and your losses exceed both your gains and the $3,000 income offset, you don't lose the "unused" part of your loss. You can carry it forward to future tax years indefinitely. Many investors use large losses from a market crash to offset their gains for the next 5-10 years.
Should You Always Harvest?
While saving on taxes is great, harvesting isn't always the right move. When you sell and buy back later, you areresetting your cost basisto a lower level. This means when you eventually sell at a profit years from now, your gain will be larger, and you'll pay more tax then.
Essentially, tax loss harvesting is often a tax deferralstrategy. You save $1,000 in taxes today so you can keep that $1,000 invested and growing for 20 years, even if you eventually have to pay it back. The "win" is the time-value of that money.
Real-World Harvesting Example
Calculating the immediate tax 'rebate' for a high-income earner.
The Savings Mathematics
Your savings are a function of your marginal tax rate. A $1,000 loss is 'worth' $370 to a millionaire but only $100 to someone in the 10% bracket.
Portfolio Psychology
"Successful investing is 20% head knowledge and 80% behavior. Using tax loss harvesting helps turn the psychological pain of a market drop into a logical win on your tax return."
Harvesting Savings Models
The Stock Millionaire
The Average Saver
Frequently Asked Questions
- Can I harvest losses in a Roth IRA?
- No. You cannot harvest losses in tax-advantaged accounts like a Roth IRA, 401(k), or HSA. Since you don't pay capital gains taxes in these accounts, the concept of offsetting gains doesn't apply.
- What is 'substantially identical' to the IRS?
- The IRS has never given a perfect definition. However, selling a stock and buying a call option on that same stock is definitely 'substantially identical.' Selling one S&P 500 ETF and buying another from a different company is a grey area that many avoid.
- Do losses carry forward forever?
- Yes, under current US tax law, capital loss carryforwards do not expire. They remain on your record until you die or until they are fully used up.
- Is tax loss harvesting worth the effort for small amounts?
- If you are in a high tax bracket, even small amounts add up. However, if your total loss is only $100, the benefit might be $20, which may not be worth the transaction costs or the complexity of tracking the sale.
- What is Tax Loss Harvesting?
- It is the practice of selling an investment that has a loss, so you can use that loss to offset taxes on other investment gains or regular income.
- How much can I offset?
- In the US, you can offset unlimited capital gains. If your losses exceed your gains, you can use up to $3,000 to offset ordinary income per year.
- What is a Wash Sale?
- A wash sale occurs if you sell a security at a loss and buy it back (or a substantially identical one) within 30 days. This prevents you from claiming the loss on that year's taxes.
Sources & Citations
- Publication 550: Investment Income and Expenses - Internal Revenue Service (IRS)
- Tax-Loss Harvesting: A Silver Lining to Investment Losses - Charles Schwab
- Capital Gains and Losses: 10 Key Facts - Investopedia
Finance Editorial Desk
Financial Calculator Research | Formula review, Public-source data checks
“The finance desk maintains mortgage, tax, retirement, loan, and investment calculators using documented formulas, public agency references, and repeatable test cases. These tools provide educational estimates, not personalized financial advice.”
About the Tax Loss Harvesting
Calculate tax savings from investment losses. See how losses offset capital gains.
Results are estimates; verify regulated rates, eligibility rules, and professional decisions with the cited primary source.