Investing aims to grow money, not lose it. Even pros take losses, but you can use them to benefit come tax time. Capital gains can be offset by capital losses in a process known as tax-loss harvesting.

Excess losses can offset up to $3,000 in ordinary income, with the remaining carry-forward indefinitely. Tax savings can vary based on gains, losses, filing status, and tax bracket.

If in lower tax brackets, offsetting gains with losses may not yield tax benefits. Still, it’s wise to offset gains to save money, even if it’s just a few hundred or thousand dollars, depending on gains.

Read more at Yahoo Finance: Here’s How Stock Losses Can Boost Your Tax Refund