
NVDA Tax-Lot Case Study: FIFO vs. HIFO
A winning stock can contain tax lots with very different gains, holding periods, and tax costs. When an investor needs cash, the broker's default disposal method may matter more than the position-level return shown on the screen.
This hypothetical NVIDIA case compares FIFO, HIFO, and a mixed-lot sale. It uses simplified federal rates to isolate lot selection; it excludes net investment income tax, state tax, trading costs, and the rest of the investor's return.
The Four NVDA Lots
Sarah owns 1,400 split-adjusted shares worth $200 each and needs to raise $56,000 by selling 280 shares.
| Lot | Shares | Basis per Share | Unrealized Gain per Share | Holding Period | |---|---:|---:|---:|---| | A | 400 | $27 | $173 | Long-term | | B | 400 | $12 | $188 | Long-term | | C | 400 | $116 | $84 | Long-term | | D | 200 | $108 | $92 | Short-term; one month from long-term |
Assume Sarah's marginal ordinary federal rate is 32% and her long-term capital-gains rate is 15%. Actual rates depend on the complete return, and investment income may also be subject to the 3.8% net investment income tax.
Option 1: FIFO
FIFO sells the oldest available shares, so all 280 shares come from Lot A.
- Proceeds: 280 × $200 = $56,000.
- Basis: 280 × $27 = $7,560.
- Long-term gain: $48,440.
- Simplified federal tax at 15%: $7,266.
FIFO is easy, but it creates the largest gain among the available long-term lots.
Option 2: HIFO
HIFO selects the highest-basis shares. Lot C has the highest basis at $116 per share, so all 280 shares can come from that long-term lot.
- Proceeds: $56,000.
- Basis: 280 × $116 = $32,480.
- Long-term gain: $23,520.
- Simplified federal tax at 15%: $3,528.
Within the NVDA position alone, HIFO saves an estimated $3,738 of current federal tax compared with FIFO under these assumptions.
Option 3: Sell the Newest Lots
Sarah might assume the most recent shares have the smallest gain. They do not: Lot C has a higher basis than Lot D, and Lot D is still short-term.
Selling all 200 Lot D shares plus 80 Lot C shares produces:
- Lot D short-term gain: 200 × $92 = $18,400.
- Lot C long-term gain: 80 × $84 = $6,720.
- Simplified federal tax: ($18,400 × 32%) + ($6,720 × 15%) = $6,896.
“Newest first” is substantially worse than HIFO because the short-term rate overwhelms the slightly different basis.
What If Sarah Waits One Month?
If Lot D becomes long-term before the sale, selling 200 Lot D shares and 80 Lot C shares would create $25,120 of long-term gain. At 15%, the simplified federal tax is $3,768.
That is still $240 more than selling 280 Lot C shares under HIFO. More importantly, waiting is not risk-free. NVDA's price could rise or fall during the month, and the cash need may not be flexible.
Holding-period analysis is useful, but it must be compared with basis and market risk rather than annualized as a guaranteed return.
Where Portfolio-Wide Losses Change the Answer
HIFO is the best of these NVDA-only choices, but the tax return includes every capital transaction. Suppose Sarah also has $18,400 of harvestable long-term losses in diversified holdings that she independently wants to replace.
If those losses are realized and no other transactions intervene, they may reduce the $23,520 HIFO gain to $5,120. At a 15% rate, the simplified current federal tax falls to $768.
The $18,400 loss is not $18,400 of tax savings. It defers tax on an equal amount of gain, and the replacement holdings may carry lower basis that creates tax later.
Why the Brokerage Default Is Not a Strategy
FIFO answers “which shares are deemed sold by default?” HIFO answers “which shares have the highest basis?” Neither automatically incorporates:
- Short-term versus long-term rates.
- Other realized gains and losses.
- Capital-loss carryforwards.
- Portfolio concentration and replacement risk.
- Charitable-giving or estate plans.
- State tax and the net investment income tax.
The right lot is the one that supports the investor's cash and portfolio objective at the lowest acceptable total cost.
A Pre-Sale Tax-Lot Checklist
- Confirm the exact share quantity and cash target.
- Export basis and acquisition dates for every lot.
- Compare FIFO, HIFO, and specific-lot combinations.
- Model short- and long-term rates separately.
- Include other gains, losses, and carryforwards.
- Check the broker's lot instruction before settlement.
- Save the confirmation for tax records.
For the broader process, read what tax-lot optimization means and how choosing the right lot can save tax.
Bottom Line
In this simplified NVDA example, HIFO reduces current federal tax from $7,266 under FIFO to $3,528. Portfolio-wide losses could reduce it further, but only as part of the complete capital-gain calculation. Accurate lot counts, holding periods, and explicit assumptions matter more than an eye-catching savings headline.
Official Sources
