Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Estimated Tax Savings
$1,320
from harvesting this loss
Gains offset by loss $4,000
Tax saved on offset gains $600
Loss deducted vs. ordinary income $3,000
Tax saved on ordinary deduction $720
Loss carried over to future years $3,000

What Is Tax-Loss Harvesting?

This calculator applies to United States federal tax rules. Tax-loss harvesting is the practice of selling an investment at a loss to offset taxable capital gains and, where losses exceed gains, to deduct up to $3,000 per year ($1,500 if married filing separately) against ordinary income. Any unused loss carries forward indefinitely. Rules reflect current IRS treatment of capital losses; consult a tax professional and watch the wash-sale rule.

Flat diagram showing a capital loss splitting into two streams: one offsetting a capital gain, the other applying to ordinary income up to a 3000 cap
A realized loss first offsets capital gains, then up to $3,000 reduces ordinary income.

How to Use It

Enter the realized capital loss you are harvesting, the amount of capital gains you want to offset, your capital gains tax rate, and your marginal ordinary income tax rate. The calculator shows how much of the loss offsets gains, how much (up to $3,000) reduces ordinary income, your total estimated tax savings, and any loss carried into future years.

The Formula Explained

$$S = G \cdot \text{CapRate} + D \cdot \text{OrdRate}$$ $$\text{where}\quad \left\{ \begin{aligned} G &= \min\!\left(\text{Loss},\ \text{Gains}\right) \\ D &= \min\!\Big(\max\!\left(\text{Loss} - \text{Gains},\,0\right),\ 3000\Big) \end{aligned} \right.$$ The first term values the gains your loss cancels at your capital-gains rate. The second applies the $3,000 ordinary-income deduction to whatever loss is left, valued at your higher ordinary rate.

Advertisement
Flat bar visualization of the saving formula split into capital-gains-rate portion and ordinary-rate portion
Savings come from two rate components: the gain offset taxed at the capital-gains rate and the deduction at the ordinary rate.

Worked Example

Suppose you harvest a $10,000 loss, have $4,000 of gains, a 15% capital gains rate, and a 24% ordinary rate. The loss offsets $4,000 of gains, saving \(\$4{,}000 \times 15\% = \$600\). The remaining $6,000 exceeds the $3,000 limit, so $3,000 deducts against income, saving \(\$3{,}000 \times 24\% = \$720\). Total savings = \(\$600 + \$720 = \$1{,}320\), with $3,000 carried forward.

FAQ

Is the $3,000 limit per loss or per year? Per tax year across all net capital losses.

Do leftover losses disappear? No — they carry forward to offset future gains and income indefinitely.

What about the wash-sale rule? Buying a substantially identical security within 30 days disallows the loss; this tool assumes the loss is valid.

Last updated: