Specific Identification vs. FIFO

Two different tax liabilities for same-stock sale.

Apr 22, 2014 at 2:00PM

Whenever you sell a stock at a higher market price than you bought it for, you may have to pay income tax on the profit -- which is considered a capital gain. But if the stock price increases after your initial purchase and you scoop up additional shares before selling off part of the portfolio, it can be a little confusing figuring out which shares' tax basis to use when calculating your gain. In fact, the Internal Revenue Service lets you choose between two ways of determining which tax basis to use: specific identification and FIFO, or "first in, first out." This choice presents a tax planning opportunity -- but you have to take advantage of it before you sell the stock.

The tax basis of your stock
Figuring out your capital gain is a bit simpler when all of the shares you sell were purchased at the same price, as you don't have to worry about whether you use specific identification or FIFO to choose shares. Your capital gain is essentially the difference between your basis in the stock and the price you sell it for. A stock's tax basis is the market price your broker executes your buy trade at plus any commission he charges. When your broker executes the sell trade, however, you don't increase the stock's tax basis again. Instead, the commission reduces your total proceeds from the stock sale.

To illustrate how this all works, suppose you bought 1,000 shares of Sony Corporation at $15 per share and then sold the entire portfolio two weeks later when the market price was $21 per share. If your broker charges a $25 commission for each trade, your basis in the 1,000 shares is $15,025 -- the $15,000 market price you paid plus the broker's commission. Your net proceeds from the sale are $20,975 -- the $21,000 market price minus the $25 commission. In this scenario, your profit is $5,950 ($20,975 minus $15,025) and is taxed as a short-term capital gain because you held the Sony shares for less than one year before selling them. With a short-term gain, you'll owe ordinary rates of tax on it -- not the lower rates that apply to net long-term gains -- if you don't have losses to offset it with.

Multiple purchases of identical stock
Things aren't so straightforward when selling shares purchased in separate lots and at different market prices. Because all of the shares are identical, you may be unsure which lot's tax basis to use for the sale transaction. In cases like this, the IRS generally requires a "first in, first out," or FIFO, approach to figuring out the correct tax basis. This means you have to use the entire acquisition cost for the first lot of shares before you can use the cost basis of the more recent stock purchases. But if you're proactive and tell your broker the specific shares you want to trade and receive some form of written confirmation after the sale, you can cherry-pick the shares with the higher tax basis by using what's known as specific identification. Ultimately, the higher your tax basis is, the less taxable gain you'll have.

To appreciate the difference in tax liabilities that can result from the same stock sale, suppose your portfolio includes 3,000 shares of Sony stock that you acquired through three separate trades of 1,000 shares. If the market prices you paid for each lot are $15,000, $17,000 and $21,000, respectively, your total basis (before commissions) is $53,000. Under the FIFO rule, you have to use the basis of the oldest stocks first, so if you sell 1,000 shares for $20,000, your capital gain is $5,000 -- the sales proceeds minus the $15,000 cost of the first lot of 1,000 shares purchased.

But if you use specific identification and tell your broker in advance to sell the third lot that you paid $21,000 for, you'll end up with a $1,000 capital loss, rather than a taxable $5,000 capital gain. At the end of the day, not only do you avoid paying income tax on the stock by identifying the specific lot sold, but you may save even more money in tax with the loss.

Take advantage of this little-known tax "loophole"
Recent tax increases have affected nearly every American taxpayer. But with the right planning, you can take steps to take control of your taxes and potentially even lower your tax bill. In our brand-new special report "The IRS Is Daring You to Make This Investment Now!," you'll learn about the simple strategy to take advantage of a little-known IRS rule. Don't miss out on advice that could help you cut taxes for decades to come. Click here to learn more.

Jeffrey Franco has no position in any stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

4 in 5 Americans Are Ignoring Buffett's Warning

Don't be one of them.

Jun 12, 2015 at 5:01PM

Admitting fear is difficult.

So you can imagine how shocked I was to find out Warren Buffett recently told a select number of investors about the cutting-edge technology that's keeping him awake at night.

This past May, The Motley Fool sent 8 of its best stock analysts to Omaha, Nebraska to attend the Berkshire Hathaway annual shareholder meeting. CEO Warren Buffett and Vice Chairman Charlie Munger fielded questions for nearly 6 hours.
The catch was: Attendees weren't allowed to record any of it. No audio. No video. 

Our team of analysts wrote down every single word Buffett and Munger uttered. Over 16,000 words. But only two words stood out to me as I read the detailed transcript of the event: "Real threat."

That's how Buffett responded when asked about this emerging market that is already expected to be worth more than $2 trillion in the U.S. alone. Google has already put some of its best engineers behind the technology powering this trend. 

The amazing thing is, while Buffett may be nervous, the rest of us can invest in this new industry BEFORE the old money realizes what hit them.

KPMG advises we're "on the cusp of revolutionary change" coming much "sooner than you think."

Even one legendary MIT professor had to recant his position that the technology was "beyond the capability of computer science." (He recently confessed to The Wall Street Journal that he's now a believer and amazed "how quickly this technology caught on.")

Yet according to one J.D. Power and Associates survey, only 1 in 5 Americans are even interested in this technology, much less ready to invest in it. Needless to say, you haven't missed your window of opportunity. 

Think about how many amazing technologies you've watched soar to new heights while you kick yourself thinking, "I knew about that technology before everyone was talking about it, but I just sat on my hands." 

Don't let that happen again. This time, it should be your family telling you, "I can't believe you knew about and invested in that technology so early on."

That's why I hope you take just a few minutes to access the exclusive research our team of analysts has put together on this industry and the one stock positioned to capitalize on this major shift.

Click here to learn about this incredible technology before Buffett stops being scared and starts buying!

David Hanson owns shares of Berkshire Hathaway and American Express. The Motley Fool recommends and owns shares of Berkshire Hathaway, Google, and Coca-Cola.We Fools don't all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

©1995-2014 The Motley Fool. All rights reserved. | Privacy/Legal Information