QuantCalc Tax-Loss Harvesting Calculator
Retirement Planner All tools

Tax-Loss Harvesting Calculator 2026: Wash-Sale Check, $3,000 Rule and 0% Gain Harvesting

Full Schedule D netting — short vs long term, the $3,000 loss limit, character-preserving carryforward, NIIT, and your 0% bracket headroom.

Enter this year's gains, losses, and carryovers and the calculator runs the exact Schedule D sequence: same-character netting, cross-character offset, the $3,000 ordinary-income deduction ($1,500 married filing separately), and the character-split carryforward to next year — then prices it all with 2026 federal brackets, the long-term capital-gains stack, and the 3.8% net investment income tax.

How much tax does harvesting a loss save in 2026?

A harvested loss saves the tax on whatever it offsets: short-term gains and ordinary income save the most, long-term gains less, and gains already in the 0% band nothing. A single 66-year-old in California with $30,000 of Social Security, $40,000 of IRA withdrawals and a $25,000 long-term gain who sells $10,000 of losing positions pays $1,662 less federal tax (16.6% of the loss, above the 15% rate because the gain was pulling Social Security into tax) and $600 less California tax. The other year-end move is the reverse: a couple, 62 and 60, with a $50,000 pension can realize $81,100 of long-term gain at 0% federal ($0 of federal tax), though California still taxes it: $3,599. A sale counts for 2026 only if it trades by December 31, and buying the same security back within 30 days before or after a loss sale disallows the loss (IRC §1211; wash sales: IRC §1091, checker below).

Computed by the tax engine for 2026 (Schedule D netting, the 0/15/20% worksheet, Social Security under Pub. 915; California through the state engine).
Key number2026
$10,000 of long-term losses: federal tax cut (Rev. Proc. 2025-32)$1,662
… California tax cut (CA rules)$600
… federal cut per dollar of loss (Pub. 915)16.6%
$10,000 of short-term losses (on $90,000 of wages): federal cut$2,200
… California cut$930
Long-term gain at 0% federal (couple, $50,000 pension)$81,100
… federal tax on it$0
… California tax on it (CA rules)$3,599

An estimate from QuantCalc’s open tax engine (federal 2.0.0, state 1.12.0) for the 2026 tax year. Not tax advice: your return depends on facts this page does not ask about, so check a move with your tax preparer or custodian before acting. How the engine computes each line, with its official source: federal, state.

Your 2026 capital gains & losses

Losses are entered as positive numbers. Results update as you type.

Wages, interest, pensions, IRA withdrawals, taxable Social Security (≈ AGI without this year's sales), before the deduction
At the end of 2026 (both spouses on a joint return). Applies the federal 65+ deductions and your state's age rules; blank = none
Part of the income above; many states exclude some or all of it
Part of the income above (employer pension or annuity)
Part of the income above; most states do not tax it
Optional — leave blank to use the 2026 standard deduction for your filing status
State estimate appears in the tax breakdown for PRO users
Held ≤ 1 year
Enter as a positive number
Held > 1 year
Enter as a positive number
From last year's Schedule D worksheet, short-term line
From last year's Schedule D worksheet, long-term line

Netting summary

Net short-term
—
gains − losses − carryover
Net long-term
—
gains − losses − carryover
Taxed as ordinary income
—
net short-term gain after cross-netting
Taxed at preferential rates
—
net long-term gain after cross-netting
Loss deducted vs ordinary income
—
up to the annual limit
Carryforward to 2027
—
short-term / long-term split

Federal tax breakdown

ComponentAmountNotes
Federal ordinary income tax—
Federal long-term capital gains tax—
Net investment income tax (3.8%)—
State tax on capital items PRO🔒 PROUnlock to see the state layer for your selection
Total—
Tax from your capital items
—
total tax with these sales minus total tax without them
Effective rate on included gains
—
capital-item tax ÷ net gain included in income

Next decision: Harvested losses change your bracket headroom — size a Roth conversion into the freed-up bracket →

That’s this year’s harvest. See it across your whole retirement — free tax-aware simulation →
See this move next to the other six before December 31 → Year-end Tax Moves (free: one move + your total) →
Paid tool The numbers above net this year’s sales and price the federal bill. What they cannot tell you is whether a particular loss is worth taking: selling lowers your basis, so the tax you save now comes back as a larger gain later. The Tax Season Pass prices that trade — the saving now against the discounted future cost, the break-even future rate above which holding wins, your state’s layer added to every line above, and a year-by-year projection of the carryforward until it runs out. The pass also unlocks Year-end Tax Moves until the end of the tax season, April 30; Personal PRO includes all of it for good. Unlock with the Tax Season Pass — $39 this season See what it adds to this page, first →

0% bracket headroom

How much more long-term gain fits at a 0% federal rate this year, on top of everything entered above.

Gain-harvesting headroom
—

NIIT threshold check

The 3.8% net investment income tax starts at a statutory MAGI threshold that never inflates.

Wash-sale checker

Check one loss sale against up to three repurchases. The 61-day window is 30 days before through 30 days after the sale (IRC §1091).

Positive number; the rule only applies to losses
Repurchases of the same (or substantially identical) security
—
Loss disallowed
—
Loss still deductible
—
Added to replacement basis
—
Permanently disallowed (IRA)
—

    Harvest analyzer — is this loss worth taking? PRO

    Selling at a loss saves tax now but lowers your basis, so more gain is taxed later. This computes the net present value of harvesting a loss on top of everything in the main form above.

    15.0%
    Defaults to your current all-in marginal rate on long-term gains
    Tax saved now
    —
    Future cost (discounted)
    —
    Net present value
    —
    Break-even future rate
    —
    above this future rate, holding beats harvesting
    Where the savings come fromAmount
    Offsetting same-character gains—
    Offsetting cross-character gains—
    Offsetting ordinary income (the $3,000 / $1,500 lane)—

    Unlock the harvest analyzer

    NPV of every harvest, decomposition of the savings, break-even rates, and the state tax layer — all client-side, nothing uploaded.

    Unlock with the Tax Season Pass — $39 this season
    Already purchased? Paste your key

    Multi-year carryforward projection PRO

    How your loss carryforward gets absorbed year by year, and what it saves versus having no carryforward at all. Uses your filing status, state, and carryovers from the main form; 2026 brackets are applied to every year.

    Year ST carryover in LT carryover in Loss deducted Total tax Saved vs no carryforward
    Cumulative tax saved by the carryforward
    —
    Carryforward remaining at the end
    —

    Unlock the multi-year projection

    See exactly when a large carryforward runs out and what it saves each year, with the state layer included.

    Unlock with the Tax Season Pass — $39 this season
    Already purchased? Paste your key

    Model your whole retirement, not just this year

    This page prices one tax year. The full QuantCalc planner runs a Monte Carlo (100 paths free, up to 10,000 with PRO) over your entire retirement — withdrawals, taxes, Roth conversions, and sequence risk together.

    Model your whole retirement, not just this year — free Monte Carlo planner →

    Frequently Asked Questions

    How does tax-loss harvesting work in 2026?

    Tax-loss harvesting means selling investments that have fallen below your cost basis to realize a capital loss on purpose. On Schedule D, losses first offset gains of the same character — short-term against short-term, long-term against long-term — and any remainder crosses over to offset the other character. Up to $3,000 of a leftover net loss ($1,500 married filing separately) then reduces ordinary income, and everything beyond that carries forward to future years. Because short-term gains are taxed at ordinary rates up to 37% while long-term gains top out at 20% plus the 3.8% net investment income tax, a harvested loss is worth the most when it lands on short-term gains or ordinary income.

    What is the $3,000 capital loss limit ($1,500 married filing separately)?

    After all gains and losses are netted, a net capital loss can offset at most $3,000 of ordinary income per year — $1,500 if married filing separately (IRC §1211(b)). The limit is per return, not per person, and it is not indexed to inflation. Losses above the limit are not wasted: they carry forward indefinitely, and under the IRS carryover worksheet a loss is only treated as used up to the extent your taxable income was positive before the capital-loss deduction.

    What is the wash-sale rule (61-day window, basis adjustment)?

    If you sell a security at a loss and buy the same or a substantially identical security within 30 days before or 30 days after the sale — a 61-day window centered on the sale date — the loss is disallowed under IRC §1091. For a repurchase in a taxable account the disallowed loss is added to the basis of the replacement shares and the original holding period tacks on, so the loss is deferred rather than destroyed. A repurchase inside an IRA permanently disallows that portion of the loss with no basis adjustment (Rev. Rul. 2008-5). The rule only applies to losses — winners can be repurchased immediately.

    Do losses carry forward and do they keep their short/long-term character?

    Yes. Unused capital losses carry forward indefinitely for individuals and retain their character under IRC §1212(b): a short-term carryover enters next year's short-term netting and a long-term carryover enters the long-term netting. Character matters because short-term gains are taxed at ordinary rates, so a short-term carryover that absorbs short-term gains saves more per dollar than a long-term one. When the $3,000 ordinary-income offset is consumed, short-term loss is treated as used before long-term.

    What is the 0% capital-gains bracket and who can use it?

    For 2026, long-term capital gains are taxed at 0% federal to the extent taxable income stays under $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household). Because the standard deduction ($16,100 single / $32,200 joint) comes off first, a married couple with no other income could realize roughly $131,100 of long-term gains at a 0% federal rate. Low-income years — early retirement, sabbaticals, between jobs — are the classic window, and gain harvesting in those years resets basis upward for free. Note that 0%-rate gains still count toward state tax, the net investment income tax threshold, and ACA/IRMAA income tests.

    Does harvesting always save money?

    No. If the gains a harvest offsets would have been taxed at 0% anyway, the harvest saves nothing today while still lowering your cost basis — so you may simply owe more tax when you eventually sell. Whether a harvest pays off depends on the rate you save now versus the rate you expect on the deferred gain later, and on how long the deferral lasts. The harvest analyzer on this page computes the net present value: tax saved now, minus the discounted future cost of the reduced basis, with a break-even future rate — and treats the future cost as zero if the position will get a step-up in basis or be donated.

    How much tax does harvesting a loss save in 2026?

    It depends on what the loss offsets. A single 66-year-old in California with $30,000 of Social Security, $40,000 of IRA withdrawals and a $25,000 long-term gain who sells $10,000 of losing positions cuts federal tax by $1,662 and California tax by $600, because the gain was also pulling Social Security into tax. Against $10,000 of short-term gains on $90,000 of wages, the cut is $2,200 federal. A loss that offsets gains taxed at 0% saves nothing now, and a sale counts for 2026 only if it trades by December 31.

    Related QuantCalc tools & guides

    Methodology & scope. 2026 figures follow IRS Rev. Proc. 2025-32 (ordinary brackets, standard deduction, long-term capital-gains breakpoints). Net investment income tax thresholds are statutory (IRC §1411) and not inflation-indexed. The state line is the state income tax on your capital items: the state tax on the year with them minus the same year without them, each computed on the 2026 state brackets, standard deductions and exemptions with the same capital-gains rules our retirement engine uses — the Arizona, Arkansas, North Dakota, South Carolina and Wisconsin long-term exclusions, the Vermont and New Mexico dollar exclusions, Hawaii’s 7.25% alternative tax, Montana’s capital-gains schedule, Missouri’s full exemption of short- and long-term gains (HB 594), Massachusetts’ 8.5% rate on short-term gains, Maryland’s 2% surcharge above $350,000 of federal AGI, the Washington long-term excise, the Alabama and Oregon federal-tax deductions, and Colorado, Iowa, North Dakota and Montana starting from federal taxable income. A net capital loss lowers state tax by each state’s own rule, the same engine’s: the federal $3,000 ($1,500 married filing separately) where the state starts from federal AGI (the line then shows a saving), Alabama’s whole loss of the year with no limit and no carryover, Massachusetts only against interest and dividends (none here, as this page takes your other income as one amount); Pennsylvania and New Jersey net gains and losses within the year only and give no offset against other income. With your age and the IRA, pension and Social Security parts of your income, the state line also applies each state’s age rules and retirement and Social Security exclusions, including where your gains draw on or phase out a retirement exclusion (Georgia counts gains toward its retirement exclusion; Connecticut, New Jersey and Maine phase theirs out by income); at 65 or older the federal standard deduction includes the 65+ additional amount and the senior deduction unless you override the deduction. Without an age, no age-based rules are applied. The multi-year projection applies 2026 brackets to every projected year. The alternative minimum tax (Form 6251, with the capital-gain rates of its Part III) is computed and shown when it applies. Collectibles (28%), unrecaptured §1250 gain (25%) and §1202 QSBS are not modeled. Educational tool only — not tax advice; confirm decisions with a CPA.