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

Bitcoin, Taxes, and the Modern Entrepreneur | H&R Block

Many entrepreneurs find themselves wondering exactly how Bitcoin is taxed. Our H&R Block Tax Pros are prepared to assist self-employed filers with Bitcoin taxation.

Farmer’s Market Tax Tips

If you are selling items at a farmer's market, learn how to file your taxes with H&R Block. From cash income to bartering, these tax tips will help.

The IRS, Bitcoin, and Other Virtual Currencies | H&R Block

Have you found yourself wondering how the IRS classifies Bitcoin? Our tax pros discuss relevant IRS Bitcoin law and notices. Learn more with H&R Block.