If you have a capital loss from the sale of an investment, you can deduct the loss-up to a specific amount, which can vary-against your ordinary income (such as wages). However, there is no limit on the amount of capital loss you can deduct from your capital gains. If you have taxable capital gains , you may want to consider selling other investments that are currently worth less than you paid for them so you can offset some or all of your capital gains with a capital loss.
You can use the Capital Gains Estimator to see how different investment sales may affect your tax liability. On the Plan sales of investments page, try entering proposed sales of stocks that would result in a loss. You can experiment with sales that result in gains or losses, and see the Results of proposed sales at the bottom of the page.