Accessibility Skip to Top Navigation Skip to Main Content Home  |  Change Text Size  |  Contact IRS  |  About IRS  |  Site Map  |  Español  |  Help  
magnifying glass
Advanced Search   Search Tips

Stocks (Options, Splits, Traders)

Question:   How do I figure the cost basis when the shares I'm selling were purchased at various times and at different prices?


Answer:   If you can identify which shares of stock you sold, your basis is:

  • What you paid for the shares sold plus any costs of purchase.
  • The total of all the acquisition costs of all the shares sold if you sell a block of the same kind of stock and you report all the shares sold at the same time as one sale.

If you cannot adequately identify the shares you sold and you bought the shares at various times for different prices, the basis of the stock sold is:

  • The basis of the shares you acquired first (first-in first-out). Except for certain mutual fund shares, you cannot use the average price per share to figure gain or loss on the sale of stock.

Additional Information:

Category: Capital Gains, Losses/Sale of Home

Subcategory: Stocks (Options, Splits, Traders)


Please provide your feedback.

1. Was it easy to find your information within the above Frequently Asked Question?

2. How satisfied are you with the information provided within the above Frequently Asked Question?

3. If you still need help from the IRS, what would your next step be?



The OMB number for this study is 1545-1432.
If you have any comments regarding this study, please write to:
IRS, Tax Products Coordinating Committee
SE:W:CAR:MP:T:T:SP
1111 Constitution Avenue NW
Washington, DC 20224


Back to Frequently Asked Questions


Page Last Reviewed or Updated: December 02, 2008