How to Calculate How Much Money You Gained or Lost in Investing in Stocks

by Bonnie Conrad ; Updated July 27, 2017

Items you will need

  • Purchase confirmation
  • Sales confirmation
  • Dividend reports

Investing in stocks can be lucrative, but when you do make money, you must pay taxes on the profits. Therefore, it is important to calculate the cost basis of any stock you sell. Knowing how much you paid for the stock originally is essential, because that total cost basis allows you to accurately compute your capital gain or your loss on the stock.

Step 1

Find a copy of the purchase confirmation you received when you bought the stock. Add the brokerage commission to the price of the stock to determine the full purchase price.

Step 2

Review any statements you received indicating dividend payments. Add those dividend payments to the cost basis you calculated in the first step. You already paid taxes on these dividends, so you need to include them when you calculate your cost basis.

Step 3

Check the confirmation you received when you sold your stock. Subtract the brokerage commission you paid when you sold the stock from the proceeds from the sale.

Step 4

Subtract the original cost basis of the stock you sold from the proceeds of the sale you calculated in step 3. If the proceeds are more than the cost basis, you have a capital gain, and if the stocks are held within a taxable account, you need to pay taxes on that gain. If you have a capital loss, you can write off part of that loss on your taxes.

About the Author

Based in Pennsylvania, Bonnie Conrad has been working as a professional freelance writer since 2003. Her work can be seen on Credit Factor, Constant Content and a number of other websites. Conrad also works full-time as a computer technician and loves to write about a number of technician topics. She studied computer technology and business administration at Harrisburg Area Community College.