# How do I Determine Cost Basis on Stocks?

Figuring out whether you made a profit on a stock investment is easy: if you sold the shares for more than you paid, it’s a safe bet you made at least a little profit. But when it comes time to do your taxes, it gets a little more complicated. You start calculating what you owe Uncle Sam by determining the cost basis of stocks. Cost basis is the total cost of the investment, and includes expenses you incurred besides the price paid for the shares, such as transaction fees. This works to your advantage because cost basis is always more than the cost of the shares themselves, reducing your capital gains and thus the amount of taxable profit.

## Step 1

Multiply the price you paid per share by the number of shares of stock you purchased to find the total purchase price. If you bought some shares at different times, calculate each purchase transaction separately and then add the total purchase prices together. You may not need to actually do these computations, since many brokers do it for you and list the information on your account statement.

## Step 2

Exclude any dividends you received while you owned the stock. Dividends are considered earnings and are taxed as ordinary income, not as capital gains.

## Step 3

Make certain you calculate cost basis for the correct shares if you sold only some of your holdings of a particular stock. Unless you instruct your broker to sell specific shares, the IRS assumes the first shares bought are the first ones you sold.

## Step 4

Add all fees, broker commissions and other transaction costs for the purchase and sale of the stock to the total purchase price. The result is the cost basis for the stock.