Tax-Loss Harvesting: formula
SEC Investor.gov: financial calculators · IRS Publication 550: Investment income and expenses
Tax-Loss Harvesting: worked example
| Realized capital loss | $12,000 |
|---|---|
| Capital gains offset | $8,000 |
| Ordinary-income offset used | $3,000 |
| Estimated blended tax rate | 24.0% |
| Estimated current tax benefit | $2,640 |
| Loss carried forward | $1,000 |
Wash sales can involve purchases before or after a loss sale, including purchases in other relevant accounts. A disallowed loss and its replacement-basis treatment need the applicable IRS rules. Short-term and long-term netting, carryforwards and the ordinary-income limit must be determined before using this estimate.
It does not classify substantially identical securities or decide which transactions qualify.
Tax-Loss Harvesting: changing Realized capital loss
| Realized capital loss | Estimated current tax benefit | Loss carried forward |
|---|---|---|
| $9,600 | $2,304 | $0.00 |
| $10,800 | $2,592 | $0.00 |
| $12,000 (example) | $2,640 | $1,000 |
| $13,200 | $2,640 | $2,200 |
| $14,400 | $2,640 | $3,400 |
Tax-Loss Harvesting: compare input ranges
| Input | Tested from | To | Estimated current tax benefit: low input | Estimated current tax benefit: high input | Swing |
|---|---|---|---|---|---|
| Estimated blended tax rate | 22.0% | 26.0% | $2,420 | $2,860 | $440 (17%) |
| Capital gains offset | $7,200 | $8,800 | $2,448 | $2,832 | $384 (15%) |
| Ordinary-income offset used | $2,700 | $3,300 | $2,568 | $2,712 | $144 (5.5%) |
| Realized capital loss | $10,800 | $13,200 | $2,592 | $2,640 | $48 (1.8%) |
Tax-Loss Harvesting: individual input comparisons
| Input | Value | Estimated current tax benefit | Loss carried forward |
|---|---|---|---|
| Realized capital loss | $9,600 | $2,304 | $0.00 |
| $10,800 | $2,592 | $0.00 | |
| $12,000 | $2,640 | $1,000 | |
| $13,200 | $2,640 | $2,200 | |
| $14,400 | $2,640 | $3,400 | |
| Capital gains offset | $6,400 | $2,256 | $2,600 |
| $7,200 | $2,448 | $1,800 | |
| $8,000 | $2,640 | $1,000 | |
| $8,800 | $2,832 | $200 | |
| $9,600 | $2,880 | $0.00 | |
| Ordinary-income offset used | $2,400 | $2,496 | $1,600 |
| $2,700 | $2,568 | $1,300 | |
| $3,000 | $2,640 | $1,000 | |
| $3,300 | $2,712 | $700 | |
| $3,600 | $2,784 | $400 | |
| Estimated blended tax rate | 20.0% | $2,200 | $1,000 |
| 22.0% | $2,420 | $1,000 | |
| 24.0% | $2,640 | $1,000 | |
| 26.0% | $2,860 | $1,000 | |
| 28.0% | $3,080 | $1,000 |
Tax-Loss Harvesting: combined input changes
| Realized capital loss / Capital gains offset | $6,400 | $8,000 | $9,600 |
|---|---|---|---|
| $9,600 | $2,256 | $2,304 | $2,304 |
| $10,800 | $2,256 | $2,592 | $2,592 |
| $12,000 | $2,256 | $2,640 | $2,880 |
| $13,200 | $2,256 | $2,640 | $3,024 |
| $14,400 | $2,256 | $2,640 | $3,024 |
Tax-Loss Harvesting: which assumptions move the result?
Tax-Loss Harvesting: values and definitions
| Quantity and definition | Value used |
|---|---|
| Realized capital loss | $12,000 |
| Capital gains offset | $8,000 |
| Ordinary-income offset used | $3,000 |
| Estimated blended tax rate | 24.0% |
| Estimated current tax benefit | $2,640 |
| Loss carried forward | $1,000 |
Tax-Loss Harvesting: half and double Estimated blended tax rate
| Estimated blended tax rate | Estimated current tax benefit |
|---|---|
| 12.0% | $1,320 |
| 24.0% | $2,640 |
| 48.0% | $5,280 |
Realized capital loss is the loss from selling an investment below your cost, capital gains offset is the gains you have realized that year, and the ordinary-income offset is the part of any remaining loss you can deduct against other income, limited to $3,000 a year for most filers. The blended tax rate is the rate you would have paid on the gains and income being offset. Get the numbers from Form 1099-B.
Common error: Selling a losing position to harvest the tax loss, then immediately repurchasing the identical security. The wash-sale rule disallows the loss in that situation, eliminating the exact benefit the harvesting was meant to capture.
Investing & Returns calculators: Rule of 72 and 115 Doubling and Tripling Calculator, XIRR Calculator, Investment Payback Period Calculator, Average Investment Return Calculator, After-Tax Investment Return Calculator, DCA vs. Lump Sum Calculator.
A realized loss offsets gains this year, and any leftover loss carries forward to future years rather than disappearing, but harvesting a loss and immediately buying back the identical or a substantially similar security within the wash-sale window disallows the loss entirely, turning what looked like a tax benefit into nothing.
Confirm the replacement investment, if any, isn't substantially identical to the one sold, and that enough time has passed to clear the wash-sale window before repurchasing.
Use the capital gains tax calculator to see the tax on remaining gains, and the after-tax investment return calculator for the wider effect. Keep track of the replacement fund you use during the 30-day window, and confirm it is not substantially identical. A tax professional can confirm how your loss nets.
Does a disallowed wash-sale loss always increase replacement basis?
No. IRS Publication 550 treats an IRA/Roth IRA replacement purchase differently from an ordinary taxable replacement purchase. Do not assume the loss is recoverable through higher basis in every case.
Does this choose a legal loss-netting order?
No. Determine usable losses, applicable gain categories and the permitted ordinary-income offset first. The entered blended rate is a simplified estimate; different tax rates can apply to the amounts offset.
What is the wash-sale rule?
A loss on stock or securities can be disallowed when substantially identical securities are acquired within 30 days before or after the sale. In a taxable replacement purchase, the disallowed loss generally adjusts replacement basis. An IRA or Roth IRA replacement is an important exception: that basis adjustment does not apply.
How much loss can I deduct against ordinary income?
Up to $3,000 a year, or $1,500 if married filing separately. Any extra loss carries forward to future years without expiring.
Does tax-loss harvesting work in an IRA?
No. Losses inside tax-advantaged accounts such as IRAs are not deductible, so harvesting applies only to taxable brokerage accounts.