Home › Calculators › Tax Loss Harvesting Calculator

Tax Loss Harvesting Calculator

Estimate how much tax you save by selling investments at a loss. Enter the gains you have already realized, the losses you plan to harvest and your tax rates to see the gains offset, the up-to-$3,000 deduction against ordinary income, and a year-by-year schedule for any loss you carry forward.

Last updated:

Gains already realized this year
$

Assets held 1 year or less

$

Assets held more than 1 year

Losses you harvest
$
$
$
$
Your tax rates
%

0 if your state has no income tax

$

Per year, for the carryforward schedule

Enter your values to see the result.
Advertisement
Advertisement

How to use the Tax Loss Harvesting Calculator

  1. Enter gains you have already realized this year, split into short-term and long-term.
  2. Enter the losses you plan to harvest, and any loss carryover from last year's return.
  3. Pick your federal bracket, long-term gains rate and state rate, and tick NIIT if it applies.
  4. Optionally enter expected future gains to see how fast a carryforward is used.
  5. Press Calculate tax savings to see savings now, the carryforward and the schedule.

How capital losses are netted

  1. Same type first. Short-term losses (assets held 1 year or less) offset short-term gains; long-term losses offset long-term gains. Last year's carryovers join their own group.
  2. Cross-netting. If one group ends with a net loss and the other with a net gain, the loss reduces the gain.
  3. Ordinary income deduction. A remaining net capital loss reduces other income by up to $3,000 ($1,500 married filing separately).
  4. Carryforward. Anything left carries to next year, keeping its short-term or long-term character; the short-term part is used first against the $3,000.

Example: $6,000 short-term and $12,000 long-term gains. You harvest $4,000 of short-term and $20,000 of long-term losses. Short-term nets to +$2,000, long-term to −$8,000; cross-netting leaves a $6,000 net loss. $3,000 is deducted from ordinary income and $3,000 carries forward. In the 24% bracket with 15% long-term rate and 5% state tax, tax drops from $4,140 to −$870 (a reduction on other income), a $5,010 saving this year, plus about $870 next year.

2026 federal capital gains rates

Long-term gains are taxed at 0%, 15% or 20% depending on taxable income; short-term gains are taxed like wages. Approximate 2026 thresholds for the long-term rates:

Filing status0% up to15% up to20% above
Single$49,450$545,500$545,500
Married filing jointly$98,900$613,700$613,700
Head of household$66,200$579,600$579,600

The 3.8% net investment income tax applies on top when modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly); those thresholds are not indexed.

Harvesting tips

  • Harvest before December 31. The sale (trade) date must fall in the tax year you want the loss to count in.
  • Avoid wash sales by waiting 31 days to buy back, or buy a similar fund that tracks a different index.
  • Prioritize short-term gains. Losses that wipe out short-term gains save your full marginal rate.
  • Track carryovers. Your carryover is reported on Schedule D; keep the worksheet so next year's numbers are right.
  • Taxable accounts only. Losses inside IRAs, 401(k)s and other tax-advantaged accounts cannot be deducted.

Thresholds reflect 2026 inflation adjustments (IRS Rev. Proc. 2025-32) and may be rounded; check the current IRS figures for your return. This is an estimate, not tax advice.

Frequently asked questions

How does tax loss harvesting save money?

You sell an investment that is below what you paid, and the realized loss offsets capital gains you would otherwise pay tax on. If losses exceed gains, up to $3,000 a year ($1,500 if married filing separately) reduces ordinary income, and the rest carries forward to future years.

In what order are capital losses applied?

Short-term losses first offset short-term gains and long-term losses offset long-term gains. A net loss in one group then offsets a net gain in the other. Any remaining net loss is deducted up to the $3,000 limit, and the rest carries forward keeping its short-term or long-term character.

Is the $3,000 capital loss limit per year?

Yes. The deduction against wages and other ordinary income is capped at $3,000 per year ($1,500 for married filing separately). The limit has not been indexed for inflation. Unused losses carry forward indefinitely until used or until the taxpayer dies.

What is the wash-sale rule?

If you buy the same or a substantially identical security within 30 days before or after selling it at a loss, the loss is disallowed for now and added to the cost basis of the new shares. Buying in an IRA or a spouse's account can also trigger it. Many investors switch to a similar but not identical fund for 31 days.

Are short-term losses more valuable than long-term losses?

A loss is worth the most when it offsets income taxed at a high rate. Short-term gains and ordinary income are taxed at your regular bracket, while long-term gains are taxed at 0%, 15% or 20%. The netting rules decide which gains a loss actually offsets, which this calculator follows.

Is tax loss harvesting a permanent saving?

Partly. Selling and buying a replacement lowers your cost basis, so you may pay more tax when you eventually sell. The benefit is permanent when the loss offsets short-term gains or ordinary income but the later gain is taxed at lower long-term rates, or if you hold until death or donate the shares.

Does harvesting help if my long-term gains rate is 0%?

Usually not for offsetting long-term gains, since they would be taxed at 0% anyway. Losses must offset gains before they reduce ordinary income, so harvesting in a 0% year can use up losses that would be more valuable in a higher-income year.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Capital Gains CalculatorGain or loss on a sale, short- or long-term tax at your rates, net proceeds and return.Stock Profit CalculatorStock trade profit and % return after commissions, plus the break-even sell price.Home Sale Capital Gains Tax CalculatorTaxable gain and tax on selling your home after the $250,000 / $500,000 exclusion.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Income Tax CalculatorEstimate US federal income tax after deductions and credits, with effective and marginal rate.Social Security Benefits CalculatorEstimate your monthly Social Security benefit and compare claiming at 62, full age or 70.GST CalculatorAdd or remove GST at any rate, with India CGST/SGST split and AU, NZ and Canada presets.Reverse Sales Tax CalculatorBack out sales tax from a total: pre-tax price and tax amount, one total or a whole list.Salary to Hourly CalculatorConvert hourly, weekly, monthly and yearly pay, with overtime.VAT CalculatorAdd or remove VAT and sales tax with country rate presets.Sales Tax CalculatorAdd sales tax to a price or find the pre-tax price from a total, with US state rates.Commission CalculatorCalculate flat or tiered sales commission and total pay with a base salary.Overtime CalculatorOvertime pay at time and a half or double time, with weekly, monthly and annual totals.Pay Raise CalculatorNew salary after a raise by percent or amount, with hourly, monthly and real (after inflation) figures.Paycheck CalculatorEstimate take-home pay per paycheck from hourly or salary pay, taxes and deductions.Freelance Hourly Rate CalculatorWork out the hourly and day rate you need from income goals, expenses, taxes and time off.Property Tax CalculatorAnnual and monthly property tax from value, assessment ratio, exemptions and % or mill rate.Hourly to Salary CalculatorConvert an hourly wage to annual, monthly, biweekly, weekly and daily pay, with overtime.Bonus Tax CalculatorEstimate take-home pay on a bonus: 22% federal supplemental rate, FICA and state tax.Self-Employment Tax CalculatorCalculate Social Security and Medicare self-employment tax (15.3%) and the deductible half.Real Estate Commission CalculatorCalculate realtor commission, the agent and broker split, and the seller's net proceeds.Holiday Pay CalculatorWork out pay for holiday hours at 1.5x, 2x or any multiplier, plus total gross pay.Job Offer Comparison CalculatorCompare up to 3 job offers by total compensation, commute, PTO and effective hourly rate.Per Diem CalculatorCalculate a travel per diem from trip dates, lodging and M&IE rates and provided meals.Prorated Salary CalculatorProrated pay for a partial month or year by calendar days or working days, with the daily rate.Quarterly Estimated Tax CalculatorQuarterly estimated tax payments and a due-date schedule for freelancers and the self-employed.Gross Up CalculatorFind the gross amount needed so a bonus or payment leaves the exact net after taxes.Raise vs Inflation CalculatorCheck whether your raise beat inflation: real raise and purchasing power gain or loss.Severance Pay CalculatorEstimate your severance package from salary, years of service, PTO and bonus.Shift Differential CalculatorFind your night or weekend differential rate and weekly gross pay, with FLSA overtime.Tax Bracket CalculatorTax in each bracket, total tax, marginal and effective rate, with an editable bracket table.Tax Equivalent Yield CalculatorCompare tax-free municipal bond yields with taxable yields using your tax rates.Tip Pooling CalculatorSplit a tip pool among staff by hours, role points or percentages, with a tip-out sheet.Arizona Paycheck CalculatorArizona take-home pay: federal tax, FICA and the A-4 state withholding rate you choose.California Paycheck CalculatorCalifornia take-home pay after federal and CA income tax, Social Security, Medicare and SDI.Child Tax Credit CalculatorEstimate your child tax credit, refundable part and income phase-out for 2026 or 2025.Crypto Tax CalculatorUS tax on a crypto sale: short- or long-term gain tax from your income and filing status.Earned Income Tax Credit CalculatorEstimate your EITC from earned income, AGI, filing status and children with 2026/2025 IRS tables.Ohio Paycheck CalculatorOhio take-home pay after federal, FICA, 2.75% Ohio tax, city and school district taxes.Pennsylvania Paycheck CalculatorPennsylvania take-home pay after federal, FICA, 3.07% PA tax, local EIT, LST and UC.RMD CalculatorRequired minimum distribution from your IRA or 401(k) balance and age, with a yearly schedule.Standard Deduction CalculatorYour standard deduction by filing status, age 65+, blindness and dependent rules vs itemizing.State Income Tax CalculatorEstimate state income tax for any US state and compare it with all 50 states and DC.Tax Refund CalculatorEstimate your federal tax refund or balance due from income, withholding and credits.Texas Paycheck CalculatorTexas take-home pay after federal withholding and FICA. No state income tax to subtract.Virginia Paycheck CalculatorVirginia take-home pay after federal tax, FICA, VA income tax brackets and exemptions.W-4 Withholding CalculatorEstimate federal withholding per paycheck and the W-4 entries that hit your target refund.Washington Paycheck CalculatorWashington take-home pay: federal tax, FICA, WA Cares and Paid Family Leave premiums.ACA Subsidy CalculatorEstimate your ACA premium tax credit from income, household size and the benchmark plan premium.Affiliate Commission CalculatorEstimate affiliate income, EPC and RPM from traffic, CTR, conversion rate, AOV and commission.Bills Per Paycheck PlannerSee which paycheck pays each bill by due date and how much is left over from every paycheck.Dividend Tax CalculatorTax on qualified and ordinary dividends with 0/15/20% brackets, 3.8% NIIT and state tax.401(k) Early Withdrawal CalculatorSee the 10% penalty, taxes, cash you keep and lost growth from cashing out a 401(k) early.How Much to Save for Taxes CalculatorPercentage of each 1099 payment to save for self-employment, federal and state taxes.GS Pay CalculatorFederal GS salary from grade, step and locality: annual, biweekly and hourly pay.Home Office Deduction CalculatorCompare the simplified ($5/sq ft) and regular home office deduction, plus depreciation.Labor Cost CalculatorJob labor cost from crew size, hours, wage, overtime and burden, with cost per labor hour.LLC vs S Corp Tax CalculatorCompare LLC self-employment tax with an S corp salary, payroll taxes and costs: yearly savings.Military Pay CalculatorUS military base pay by grade and years of service, plus BAH, BAS and tax-free totals.Minimum Wage by State CalculatorLook up the 2026 minimum wage in any state and see weekly, monthly and yearly earnings.No Tax on Overtime CalculatorEstimate the federal deduction for qualified overtime premium pay and your tax savings.No Tax on Tips CalculatorEstimate the federal tips deduction (up to $25,000) after the MAGI phase-out and your tax savings.Payroll Tax Calculator (Employer)Employer payroll tax cost: FICA match, FUTA and SUTA per employee, per year and per pay period.Pension CalculatorDefined benefit pension: service × multiplier × final average salary, early reduction, COLA.Real Hourly Wage CalculatorFind your true pay per hour after taxes, commute time and costs, and unpaid work hours.Rideshare Driver Earnings CalculatorFind a rideshare or delivery driver's net pay per hour and per mile after fuel and car costs.RSU Tax CalculatorRSU vest income, 22%/37% withholding vs. your real bracket, tax shortfall and shares withheld.Social Security Break-Even CalculatorCompare claiming Social Security at 62, full retirement age or 70 and find your break-even ages.
See all 118 Tax & Paycheck Calculators →