QuantWheel

Free tool

Tax Loss Harvesting Calculator

This tax loss harvesting calculator shows the tax you could save by selling a losing position. Enter your gains, the positions you could sell at a loss and your tax rates. See how the $3,000 limit applies and the loss you carry over. Free, no signup.

The free Cost Basis Calculator lowering the adjusted cost basis per share as covered call premium is added
Your year so far

A percent, such as 24.

A percent, such as 24.

Positions you could sell at a loss

Position 1

Short-term result: $0

Enter both tax rates to see the result

Type your tax rate on short-term gains and your tax rate on long-term gains, each as a percent from 0 to 100.

Try the whole product with sample positions. No account needed.

$1 for 7 days • Cancel anytime • 14-day money-back guarantee

How it works

How the Tax Loss Harvesting Calculator Works

Three entries show what selling a losing position could save you.

  1. Enter your gains so far this year

    Add your short-term and long-term capital gains, and any loss you carried over from last year.

  2. Add the positions you could sell at a loss

    For each stock or option you bought, enter what you paid, what it is worth now and how long you have held it. For an option you sold, enter the premium you received and what it costs to buy back.

  3. Enter your tax rates and read the result

    Type your own short-term and long-term rates. See the tax you could save this year, the loss that goes against other income and the loss you carry over.

The rules

How Does Tax Loss Harvesting Work?

Tax loss harvesting means you sell an investment for less than you paid and use the loss to lower your tax. The loss first cancels capital gains. Then up to $3,000 of it lowers your other income for the year.

  • Losses cancel gains first

    You net short-term losses against short-term gains and long-term losses against long-term gains. Then you combine the two results into one net gain or net loss.

  • The limit is $3,000 a year

    If you end with a net loss, you can deduct up to $3,000 of it from other income. The limit is $1,500 if you are married and file a separate return.

  • The rest carries over

    A loss above the limit moves to next year and keeps its short-term or long-term character. You can carry it over until it is used up.

Example

Tax Loss Harvesting Example

These numbers are made up to show the sums. The 24% rate is an example. Enter your own rate in the calculator.

Tax Loss Harvesting Example
LineAmountHow it is worked out
Short-term gains this year$8,000Gains you already took
Loss you harvest$12,000Short-term loss on the position you sell
Gains left to tax$0The loss cancels all $8,000 of gains
Loss against other income$3,000The yearly limit
Loss carried over to next year$1,000$12,000 less $8,000 less $3,000
Estimated tax saved this year at a 24% rate$2,64024% of $11,000 ($8,000 plus $3,000)

The catch

Avoid a Wash Sale When You Harvest a Loss

A harvested loss counts only if you stay clear of the wash sale rule for 30 days before and after the sale.

  • Buying back too soon disallows the loss

    If you buy the same stock within 30 days before or after the sale, the IRS disallows the loss. The loss is added to the cost of the new shares, unless your IRA made the buy.

  • A call option counts as buying back

    An option to buy the stock is a trigger under the rule. A put you sell may be one too, and an assignment inside the 30 days is a buy of the stock.

  • Check the trade before you place it

    Run the sale through the Wash Sale Calculator, or read the guide on harvesting a loss with options.

Wash Sale CalculatorTax loss harvesting with options

The trade-off

Is Tax Loss Harvesting Worth It?

It depends on three things the calculator shows you.

  • You have gains to cancel

    A loss lowers your tax by your rate on the gains it cancels. With no gains, only $3,000 a year goes against other income ($1,500 if you are married and file separately).

  • The tax can come back later

    If you buy back at a lower price, your new cost is lower. A later sale at a profit then shows a bigger gain.

  • Costs can be larger than the saving

    Count commissions, the bid-ask spread and the risk that the stock rises while you are out of it for 31 days.

FAQ

Tax Loss Harvesting Calculator questions

FAQ

The estimated saving is your tax rate times the gains the loss cancels, plus your rate times up to $3,000 of other income. The calculator works it out from your own numbers and rates.

There is no limit on the gains a loss can cancel. If your losses are larger than your gains, you can deduct up to $3,000 of the net loss from other income each year, or $1,500 if you are married and file separately.

It carries over to next year. It keeps its short-term or long-term character, and you can carry it over until it is used up.

Yes. A loss on an option you close is a capital loss. The wash sale rules also apply to losses on options, so check any option on the same stock that you open within 30 days.

Yes, on day 31 after the sale or later. If you buy it sooner, the loss is disallowed and added to the cost of the new shares.

Yes. This calculator covers taxable accounts only, but a buy in your IRA or Roth IRA within 30 days can trigger the wash sale rule on a loss in your taxable account. In that case the loss is disallowed and the IRA's basis does not go up.

No. The calculator gives an estimate from the numbers and tax rates you enter and the rules in IRS Publication 550. Check the result with a tax professional. QuantWheel does not give tax advice.

Wash Sale CalculatorTax loss harvesting with optionsCost Basis After Assignment CalculatorHow are options taxed

An estimate, not tax advice

This calculator applies the capital loss rules in IRS Publication 550 to the numbers and tax rates you enter. It covers US federal tax only and leaves out state tax and the net investment income tax. It also leaves out index options and other section 1256 contracts. QuantWheel does not give tax advice. Check the result with a tax professional before you trade or file.

SourceIRS Publication 550, Investment Income and Expenses

Next step

Where to go next

Try the whole product with sample positions. No account needed.

$1 for 7 days • Cancel anytime • 14-day money-back guarantee