First In, First Out Method

This is the default method to figure shares you sold if both of these apply:

  • You held your shares in a brokerage account.
  • You didn’t specify a method when you sold your shares.

With the first-in, first-out method, the shares you sell are the first ones you bought. Since the market usually goes up over time, you’ll get a bigger gain by selling shares you bought using the first-in, first-out method. You might have held the shares for various lengths of time. If so, you might get favorable long-term capital gains treatment by selling the shares you bought first.

If you want to sell shares other than these, you must identify the shares in writing before the sale. The broker must also send you a confirmation that those shares will be sold.

Related Topics

Related Resources

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.

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.

I have a question about rolling 401K into IRA and reporting 401K rollover into IRA. If my previous employer made me roll

Learn more about rolling your 401K into an IRA with help from the tax experts at H&R Block.

What is adjusted gross income and what is taxable income — What’s the difference between the two?

What is the difference between taxable income and adjusted gross income (AGI)? Learn more from the tax experts at H&R Block.