Tax Lot Accounting Explained: FIFO, LIFO, & Specific ID for U.S. Investors
30 May 2025
Tax Enough

Tax Lot Accounting Explained: FIFO, LIFO, & Specific ID for U.S. Investors

So, you're a savvy U.S. investor. You diligently research stocks, time your trades (or try to!), and aim for those sweet capital gains. But when it comes time to report those gains (or, sometimes, losses), things can get a bit more complicated than just "buy price vs. sell price." Especially if you've bought shares of the same stock at different times and prices. Did you know *how* your gains are calculated could be as important as the gains themselves when it comes to your tax bill? This is where **tax lot accounting** steps into the spotlight.

Tax Lot Accounting Explained: FIFO, LIFO, & Specific ID for U.S. Investors

Introduction: Beyond "Buy Low, Sell High" – Understanding Your Cost Basis Calculation

So, you're a savvy U.S. investor. You diligently research stocks, time your trades (or try to!), and aim for those sweet capital gains. But when it comes time to report those gains (or, sometimes, losses), things can get a bit more complicated than just "buy price vs. sell price." Especially if you've bought shares of the same stock at different times and prices. Did you know how your gains are calculated could be as important as the gains themselves when it comes to your tax bill? This is where tax lot accounting steps into the spotlight.

What is a "Tax Lot" Anyway? The Building Blocks of Your Investments

Think of a tax lot as a batch of shares of a particular security that you purchased in a single transaction, at a specific price, on a specific date. Every time you buy shares of a stock – even if it's the same stock you already own – you're creating a new, distinct tax lot if the purchase price or date is different.

Why does this matter? Because each tax lot has its own:

  • Acquisition Date: When you bought the shares. This is crucial for determining if a gain or loss is short-term or long-term.
  • Cost Basis: The original value of an asset for tax purposes, usually the purchase price plus any commissions or fees. For shares, it's the total cost divided by the number of shares in that lot.
  • Quantity: The number of shares in that lot.

Tracking these individual lots is fundamental to accurately calculating your capital gains or losses when you eventually sell some (or all) of those shares. If you buy 10 shares of XYZ Corp today and another 15 shares next month at a different price, you now have two tax lots for XYZ Corp.

The Core Cost Basis Methods for Stocks: FIFO and Specific Identification

When you sell shares of a stock for which you have multiple tax lots, the IRS needs to know which shares you sold to determine your profit or loss. This is where cost basis accounting methods come in. For U.S. investors dealing with stocks, the two primary methods you'll encounter are FIFO and Specific Identification.

FIFO (First-In, First-Out): The Common Default

FIFO is exactly what it sounds like: First-In, First-Out. This method assumes that the first shares you acquired (the oldest ones in your portfolio) are the first ones you sell.

  • How it Works: Let's say you made the following purchases of AwesomeStock Inc.:
    • Lot 1 (January): Bought 10 shares @ $10/share
    • Lot 2 (June): Bought 10 shares @ $12/share If you later sell 10 shares of AwesomeStock Inc., FIFO automatically assumes you sold the 10 shares from Lot 1 (the $10 ones). Your cost basis for this sale would be $100 (10 shares x $10).
  • Potential Impact: FIFO is straightforward and many brokers use it as the default method if you don't specify otherwise. In a market where prices are generally rising, FIFO might result in recognizing gains from your older, lower-cost shares first. This could mean higher taxable gains sooner compared to other methods.

Specific Identification (Spec ID): You Choose the Shares to Sell

The Specific Identification method gives you, the investor, the control to pick exactly which tax lot (or lots) of shares you want to sell.

  • How it Works: Using our AwesomeStock Inc. example, if you decide to sell 10 shares, you could specifically instruct your broker (at the time of sale!) to sell the 10 shares from Lot 2 (the $12 ones). Your cost basis for this sale would then be $120 (10 shares x $12).
  • Potential Impact: Spec ID offers the most flexibility for managing your tax outcomes. For instance, you might choose to sell shares with the highest cost basis to realize a smaller gain or even a loss (useful for tax-loss harvesting). Conversely, you might sell lower-cost shares if you prefer to realize gains sooner for a specific reason. The key is meticulous record-keeping and ensuring your broker can and does execute your specific instructions, providing you with a confirmation.

What About LIFO (Last-In, First-Out)? A Quick Clarification for Stock Investors

You might have heard of LIFO (Last-In, First-Out), where the last shares purchased are assumed to be the first ones sold. It's a common inventory accounting method for businesses.

  • Crucial Note for Stock Investors: For U.S. taxpayers, the IRS does NOT permit the use of the LIFO method for valuing securities like stocks and bonds. So, while it's a concept in accounting, it's not an option you can use for your stock sales on your tax return. We mention it here mainly to clear up any potential confusion.

Comparing the Methods: A Simple Scenario for Stocks

Let's see how these methods can lead to different outcomes. Imagine you're an investor in "TechGrowth Corp." and you've made these purchases:

  • Lot A: Bought 50 shares @ $20/share (Cost: $1,000) on January 1st
  • Lot B: Bought 50 shares @ $25/share (Cost: $1,250) on June 1st
  • Lot C: Bought 50 shares @ $22/share (Cost: $1,100) on December 1st

Now, let's say next year, on March 15th, you decide to sell 70 shares of TechGrowth Corp. when the market price is $28/share. Your total proceeds are $1,960 (70 shares x $28).

Here's how your capital gain might look under different methods:

  • Using FIFO:
    • You'd sell all 50 shares from Lot A (cost $1,000).
    • You'd sell 20 shares from Lot B (cost $25/share * 20 = $500).
    • Total Cost Basis: $1,000 + $500 = $1,500
    • Capital Gain (FIFO): $1,960 (proceeds) - $1,500 (cost) = $460
  • Using Specific Identification (Example Strategy):
    • All 50 shares from Lot B (cost $1,250 – highest cost lot).
    • 20 shares from Lot C (cost $22/share * 20 = $440 – next highest cost).
    • Total Cost Basis: $1,250 + $440 = $1,690
    • Capital Gain (Spec ID example): $1,960 (proceeds) - $1,690 (cost) = $270

As you can see, the calculated capital gain differs significantly based on the accounting method used. This is purely illustrative of how the calculation works, not advice on which method is "better" for your specific situation.

A Note on Mutual Funds: The Average Cost Method

When it comes to shares of mutual funds (and sometimes for shares acquired through dividend reinvestment plans, or DRIPs), U.S. investors often have an additional option: the Average Cost method.

With this method, you average the cost of all shares you own in a particular mutual fund to arrive at an average cost per share. When you sell shares, you use this average cost to determine your gain or loss. The IRS allows for a "single-category" or "double-category" (based on holding period) average cost basis.

It's important to note that once you elect to use the average cost basis method for a particular mutual fund with your broker, you generally must continue to use it for all shares in that account for that fund. Switching back to Specific ID for those shares later might not be permissible. Always check the specific IRS rules or consult your tax advisor.

Key Considerations for Managing Your Tax Lots

Whichever method applies or you choose, here are some vital points:

  • Broker Defaults & Elections: Most brokers default to FIFO for stock sales unless you provide specific instructions for Specific Identification at the time of the trade. For mutual funds, you might need to affirmatively elect the Average Cost method. Understand your broker's policies.
  • Meticulous Record-Keeping: This cannot be stressed enough! Accurate records of all purchase dates, quantities, costs (including commissions), and sale information are essential, especially if you're using Specific ID or tracking basis across multiple brokerage accounts.
  • Interaction with the Wash Sale Rule: If you sell a specific lot at a loss and trigger the wash sale rule by repurchasing substantially identical securities within 30 days before or after the sale, that loss may be disallowed. Understanding which lots you're selling is key here.
  • Impact on Holding Periods (Short-Term vs. Long-Term Gains): The tax lot you sell determines whether your gain or loss is short-term (held one year or less) or long-term (held more than one year), which are typically taxed at different rates.

Understanding these mechanics helps in accurate reporting and enables more informed discussions with your financial or tax advisor.

How TaxEnough.com Tools Can Help You Track and Calculate

Keeping tabs on numerous tax lots, their respective cost bases, and acquisition dates can feel like a juggling act, especially for active investors. That's where technology, like the tools we're building at TaxEnough.com, can be a game-changer.

Our platform is designed to:

  • Help you meticulously track your various purchase lots, including dates, quantities, and cost bases, all in one organized place.
  • Simplify the often-complex task of organizing your investment data for tax season, making it easier to prepare forms like Form 8949.
  • And exciting news! Soon, TaxEnough.com will be rolling out features designed to help you visualize how different lot selection strategies under these accounting methods could potentially impact your calculated gains, losses, and overall tax scenarios. This means you'll be able to explore hypothetical outcomes based on FIFO or by selecting specific lots, empowering you to understand possibilities for better tax efficiency before you make any decisions or consult with your tax advisor. Our goal is to provide you with powerful calculation tools to see these effects clearly.

Conclusion: Smart Calculations for Your Investment Tax Reporting

Understanding tax lot accounting is a fundamental piece of the puzzle for accurate U.S. investment tax reporting. While FIFO is a common default for stocks and Average Cost is often used for mutual funds, the Specific Identification method offers a greater degree of control for those willing to undertake the necessary record-keeping and communication with their broker.

The choice of accounting method, where available, can have very real consequences for the amount of capital gains tax you owe. While sophisticated tools – like those here at TaxEnough.com – can significantly help with the tracking, organization, and calculation aspects, strategic decisions about which lots to sell and when should always be made thoughtfully and, ideally, in consultation with a qualified tax professional who understands your complete financial picture.


Happy (and hopefully, more tax-efficient) investing!

Share This Article