Make every day count Free money tools for every American household
--:-- …--°

Tax-loss harvesting calculator

Before December 31, selling investments that are worth less than you paid can lower your tax: losses offset your gains, and up to $3,000 of a net loss reduces your other income. Estimate the tax you could save, and check the wash sale rule.

Your gains and losses this year

Short-term means held one year or less; long-term, more than one year. The amounts are examples: your brokerage shows realized gains and unrealized losses. Your bracket is on the tax bracket calculator.

Estimated federal tax saved

–

Net capital gain or loss after selling
Deducted from other income
Loss carried to next year
Tax on your gains without selling

An estimate of federal income tax only, not tax advice. State tax, the 3.8% net investment income tax and your full return are not included.

What tax-loss harvesting is

If some of your investments in a taxable account are worth less than you paid, selling them "realizes" the loss. Realized losses offset realized gains, and if your losses are larger than your gains, part of the net loss can reduce your other income. Doing this before December 31 counts for the 2026 tax year. This calculator estimates the federal tax you could save and shows the wash sale rule that can cancel the benefit.

The IRS rules the calculator follows

How the estimate works

An example

You have $2,000 of short-term gains and $5,000 of long-term gains this year, and you could sell investments with $4,000 of short-term losses and $6,000 of long-term losses. In the 22% bracket with a 15% long-term rate, your gains would cost $440 + $750 = $1,190 in federal tax. After selling, the net result is a $3,000 loss: the gains are wiped out and $3,000 reduces your other income, saving another $660. The estimated saving is $1,850, and nothing carries over.

Things to know before you sell

Frequently asked questions

How much of a capital loss can I deduct?

After losses offset your gains, up to $3,000 of a net loss ($1,500 if married filing separately) reduces other income each year. The rest carries forward.

What is a wash sale?

Selling at a loss and buying substantially identical stock or securities within 30 days before or after the sale. The loss is not deductible then; it is added to the cost of the new shares.

Does buying in my IRA trigger a wash sale?

Yes. IRS Publication 550 lists buying substantially identical stock for your IRA or Roth IRA as a wash sale.

When is the deadline?

For the 2026 tax year, sales must happen by December 31, 2026. Ask your broker about its cut-off times.

Is my information saved?

No. The numbers stay in your browser and are not sent to us.

How we calculate

The formula in plain words

Short-term losses offset short-term gains and long-term losses offset long-term gains; the rest crosses over. Tax = net short-term gain × ordinary rate + net long-term gain × long-term rate. A net loss is deducted up to $3,000 ($1,500 married filing separately) at the ordinary rate; the rest carries forward. Saved = tax before − tax after.

Assumptions and limits

Data and sources

Figures and rules used: 2026.

Main sources: IRS Topic No. 409: Capital gains and losses; IRS Publication 550: Investment Income and Expenses (capital loss carryover).

Methodology last reviewed: November 12, 2026. Methodology, rounding and corrections

Sources

The rates, limits and data on this page are based on these publications:

Markets & investing

Home & mortgage

Taxes & pay

Retirement & savings

Loans & debt

Money & business

Creators

Travel

Money games

Weather & time

Guides