• Meet Claudell, one of our tax experts.
    TurboTax Live Assisted Basic
    File 100% FREE with expert help: Get live help from tax experts, plus a final review before you file — all free.
    Simple tax returns only.
    See if you qualify. Must file by 3/31.
  1. TurboTax /
  2. Tax Calculators & Tips /
  3. Tax Tips Guides & Videos /
  4. Investments and Taxes /
  5. Tax Time Gains and Losses: Calculating Your Investment Portfolio Results

Tax Time Gains and Losses: Calculating Your Investment Portfolio Results

Updated for Tax Year 2022 • December 1, 2022 08:27 AM


Every investor's goal is the same, to make money. But a dollar earned in one investor's portfolio is not necessarily the same as a dollar earned in another's. That's because each portfolio might include a unique mix of investments and also might spread those investments among different types of accounts. When it comes to minimizing the tax bite, there may be as many different strategies as there are portfolios, but you have several ways to manage your portfolio to reduce your overall obligation.

For information on the third coronavirus relief package, please visit our “American Rescue Plan: What Does it Mean for You and a Third Stimulus Check” blog post.


Business investor completing paperwork

Asset location, location, location

Investors hear plenty about asset allocation—what percentage of their investments should be in stocks, bonds, real estate or other asset classes. But asset location—the type of account in which you hold an asset—can be even more important when it comes to taxes:

  • Since ordinary income is generally taxed at higher rates than capital gains, an investment that earns ordinary income is best kept in a tax-deferred account such as an IRA.
  • Investments that produce primarily capital gains would be better in a taxable account, since you can usually put off tax consequences until you sell the investment and pay a lower capital gains tax rate than if it was taxed as ordinary income.

"Harvesting" your tax losses

"Tax-loss harvesting" is the idea of using investment losses to offset investment gains in a given year to reduce your overall tax burden.

  • For example, say you own some stock that has lost a huge amount of its value, and you don't expect the price to recover.
  • Rather than just sell it now to free up cash and "eat" the loss, you can hold onto the stock until you sell another investment that produces a taxable gain.

"If you know you have to take a loss, and you have some taxable gains coming your way, you can do it at the same time" and therefore cut your taxes, says Trevor Ewen, a writer on personal finance issues at However, he warns that you shouldn't sell investments that are simply undergoing a cyclical down market to create losses to "harvest." Doing so would likely be buying high and selling low—the exact opposite of smart investing.

Minimizing asset turnover

Typically, when you sell an investment asset held outside of a tax-advantaged account such as a 401(k), you incur either a capital gain or a capital loss. That's why financial advisors say one of the easiest ways to minimize your tax exposure is to simply avoid selling unless you absolutely have to.

"Don't do a lot of 'sell' transactions," Ewen says. "Try to keep it minimal...keep the effectivity of your money going as long as you can."

Sometimes it makes sense to sell and "harvest gains." You can take advantage of this by selling when you know the amount of gain is small enough to not be taxable, rather than waiting for several years while the gains increase to a taxable amount. You can sell then immediately buy back the investment with the only cost being the transaction fees.

Smart planning prevents tax-time scrambling

Ultimately, it’s best to think ahead—at the time you make the investments—about the tax effects of returns in your investment portfolio rather than at tax time. To capitalize on asset location and tax diversification, you need to have your investments in the right accounts.

Minimizing asset turnover means committing to invest for the long term. Even loss harvesting should be part of an overall strategy, not a snap decision to sell something at a loss—and forfeit any future rebound—simply to reduce taxes by a small amount.

Let a tax expert do your investment taxes for you, start to finish. With TurboTax Live Full Service Premier, our specialized tax experts are here to help with anything from stocks to crypto to rental income. Backed by our Full Service Guarantee. You can also file your own taxes with TurboTax Premier. Your investment tax situation, covered. File confidently with America’s #1 tax prep provider.

Let a tax expert do your investment taxes for you

Get year-round expert advice & every dollar you deserve, guaranteed with Live Full Service Premier.

Get your investment taxes done right

For stocks, crypto, ESPPs, rental property income and more, TurboTax Premier has you covered.

Looking for more information?