Calculators·2026 tax year

What would this loss save me in taxes?

Tax-loss harvesting basically just means selling an investment that's down so the loss lowers this year's tax bill. This estimates what one loss would save you in 2026, which is your federal tax without the loss minus your tax with it.

What you've already sold this year

Short term means held a year or less; long term, more than a year. If you're down overall on one of them, enter a negative number.

Losses carried over from last year

Optional. Losses you couldn't use on your 2025 return. They come into 2026 as losses of the same type.

The loss you're thinking about

Federal tax this loss saves you in 2026

$0

Cancels gains you've taken
Comes off your other income
Carries forward to 2027
That carryforward's value
Saved per dollar of loss

    How the math works

    Your losses and gains for the year get netted the way the IRS does it on Schedule D: short-term losses against short-term gains, long-term against long-term, and then the two totals against each other. There's no cap on how much gain a loss can cancel.

    If you end up with a net loss, up to $3,000 of it comes off your other income, like your paycheck ($1,500 if you're married filing separately, which this doesn't cover). Whatever's left carries forward to 2027, and the year after that, for as long as it takes, and it keeps its short-term or long-term label.

    The saving at the top is your 2026 federal tax without this loss minus your tax with it, using the 2026 brackets, the 0%, 15% and 20% long-term rates and the 3.8% net investment income tax. For stocks and ETFs, the trade date decides the year, so a sale on Thursday, December 31, 2026 counts for 2026 even though it settles in January.

    The honest catch

    If you sell and buy back something similar, your new cost basis is lower by about the same amount as the loss. So when you sell that later, you'll have a bigger gain. A lot of the time, harvesting doesn't erase tax, it pushes it into the future.

    Pushing it out can still be a real saving. It is when the loss knocks out income taxed at a higher rate than the gain will be later (say 22% now against a 15% long-term rate later), when you sell later in a year where the gain lands in the 0% bracket, when you give the shares to a charity instead of selling them, or when you never sell at all, because your heirs get a cost basis equal to what the shares are worth when you die. If none of those apply, think of the saving as a loan from the IRS with no interest.

    And if you buy back the same stock, or something substantially identical, within 30 days before or after the sale, the wash-sale rule disallows the loss. The wash-sale checker shows how much and where it goes.

    What this leaves out

    State income tax, itemized deductions, credits, the alternative minimum tax and married filing separately. It also leaves out dividends and interest, which can change your bracket and the 3.8% tax, and collectibles gains, which have their own rates. The value of the carryforward is rough on purpose: what it's really worth depends on gains you haven't taken yet.

    Watch

    Put this calculator on your site

    Copy this into your page. It stays free, and the numbers update when the tax tables do.

    Sources: IRS Revenue Procedure 2025-32 (2026 brackets, standard deduction and capital gains rates), IRS Topic 409 (netting, the $3,000 limit and carryovers), IRS Publication 550 (trade date, holding period and wash sales), IRS: Net investment income tax, IRS Publication 551 (basis of inherited property) and IRS Publication 526 (giving property that has gone up in value). Last checked against these sources on Nov 9, 2026.

    An estimate for learning, not tax advice. I'm a CPA, but I'm not your CPA, so check with whoever does your taxes before you sell. Nothing you type leaves your browser. Full disclaimer.