Cost Basis

If you sell mutual funds or stock shares, it’s important you know the basis of the shares. Knowing the basis lets you accurately calculate your capital gain or loss. To calculate your gain or loss on the sale of the shares, subtract your basis from the amount you received for the shares.

When calculating the basis of stock or mutual fund shares you sell:

  • Make sure the amount you’re starting with is correct. To learn more about your starting basis, see the Original Basis and the Shares Bought Through Reinvestment tax tips.
  • Look at events that have happened since you bought the shares. Some might have changed the shares’ basis (Ex: nontaxable distributions). To learn more, see the Adjusted Basis tax tip.

You can use these methods to calculate the basis of mutual funds:

  • Average-basis method
  • Specific identification method
  • First-in, first-out method

However, you can’t use these methods to calculate the basis for stocks.

Related Topics

Related Resources

At-Risk Limits And Reported Income

What are at-risk limits, and how can they help you reduce your reported income? Learn more about at-risk rules and get tax answers at H&R Block.

I have a question related to investment property tax deductions and filing taxes. I have a rental property in Colorado t

Learn more about investment property tax with advice from the tax experts at H&R Block.

Wash Sales

Learn more about the wash sale rule for investments and get tax answers at H&R Block.

529 Tax Deductions & End-of-Year Savings Options

As end-of-year approaches, taxes owed can become a major headache. Plan ahead by considering 529 Tax Deductions and other end-of-year savings options.