Skip to main content
Common Investor Tax Mistakes

Cost Basis Tracking: Why Not Tracking It Costs Thousands in Taxes

Pomegra Learn

Cost Basis Tracking: Why Not Tracking It Costs Thousands in Taxes?

Cost basis is the dollar amount you paid to acquire an investment. When you sell, your capital gain or loss is the sale price minus the cost basis. Fail to track cost basis carefully, and you'll pay tax on phantom gains—profits that don't exist. A common scenario: You buy 100 shares of a fund at $50/share ($5,000 total), reinvest dividends for 20 years, and accumulate 250 shares. When you sell for $80/share ($20,000 total), you assume your gain is $15,000. But your actual cost basis is higher—the original $5,000 plus all reinvested dividends. If the true basis is $12,000, your real gain is only $8,000. You've just overpaid $1,680 in federal taxes (on a phantom $4,000 gain at 42% combined federal and state rate) through poor record-keeping. Multiply this across dozens of holdings, and you can unnecessarily pay tens of thousands in taxes over a lifetime. The IRS requires brokers to track basis and report it on Form 8949, but only on direct purchases—not on inherited shares, reinvested dividends from decades ago, or positions transferred between accounts. Investors who don't maintain their own records will face audits and lose the ability to claim the true basis.

Quick definition: Cost basis is the original dollar amount paid to acquire an investment, adjusted for stock splits, reinvested dividends, and other corporate actions. Capital gain is the selling price minus the cost basis. Accurate basis tracking is essential to avoiding overpayment of capital gains tax.

Key takeaways

  • Cost basis is calculated as the purchase price per share multiplied by the number of shares, plus all costs to acquire (commissions, fees).
  • Reinvested dividends and distributions increase cost basis; they are not taxable income at reinvestment, only when the shares are sold.
  • Stock splits and reverse splits adjust the number of shares and per-share basis, but not the total basis.
  • The IRS requires basis reporting on Form 8949 (Sales of Capital Assets); brokers provide this information on Form 1099-B.
  • Three holding-period methods exist: specific ID (most tax-efficient), FIFO, and average cost; the default is FIFO if you don't specify.
  • Tracking basis is especially important for inherited shares (stepped-up basis), dividend reinvestment plans (DRIPs), and positions transferred between brokers.
  • Poor basis tracking can inflate capital gains and unnecessarily trigger the Net Investment Income Tax (NIIT) and higher Medicare premiums (IRMAA).

Why Cost Basis Matters: The Phantom Gain Problem

Cost basis sounds technical, but it's the foundation of tax liability. Every dollar you report as a capital gain is taxed. If you report $100,000 of gain when the true gain is $60,000, you're paying tax on a $40,000 phantom gain.

Example: You purchased a growth fund 25 years ago for $10,000. Over the years, you reinvested all dividends. Today, your statements show the fund is worth $80,000. You sell it. Your initial instinct is that your gain is $70,000 ($80,000 - $10,000). But your cost basis is not $10,000. Assuming the fund paid an average annual dividend of $400/year and you reinvested it, your accumulated basis is approximately $10,000 + ($400 × 25 years × 0.5 compounding factor) ≈ $15,000. Your true gain is $65,000, not $70,000. A seemingly small $5,000 discrepancy costs you $1,100 in federal tax (at 22% rate) and $400 in state tax—$1,500 in unnecessary taxes due to imprecise basis tracking.

Now imagine a portfolio with 30 holdings, many with decades of dividend reinvestment. A 5–10% basis error across the portfolio is common. On a $1 million sale realizing $500,000 in reported gains, a 10% basis understatement means you're paying tax on an extra $50,000 of phantom gains—roughly $12,000 in federal and state taxes you didn't actually owe.

Components of Cost Basis

Cost basis includes the purchase price and all costs to acquire:

  1. Purchase price: The market price you paid per share multiplied by the number of shares
  2. Commissions and fees: Trading commissions, advisory fees tied to the purchase, and bid-ask spreads (though the IRS treats bid-ask spreads as part of the execution price, not a separate cost)
  3. Reinvested dividends: Every dividend reinvestment increases basis. This is critical and often overlooked. The dividend is income in the year received (even if reinvested), but the reinvestment itself raises basis.
  4. Return of capital distributions: Some distributions (especially from master limited partnerships, REITs, and some mutual funds) are classified as return of capital, not income. These reduce basis but are not taxable at reinvestment.
  5. Stock splits and mergers: Adjusted proportionally. A 2-for-1 split halves the per-share basis but doesn't change total basis.

Basis calculation example

Year 1: You buy 100 shares at $50/share = $5,000. Commission: $25. Cost basis: $5,025.

Year 2: The stock pays a $2/share dividend. You reinvest for 100 shares at $60/share = $12,000. Cost basis is now $5,025 + $12,000 = $17,025.

Year 3: A 3-for-1 stock split occurs. You now own 300 shares. Per-share basis becomes $17,025 ÷ 300 = $56.75. Total basis remains $17,025.

Year 4: The stock pays a $1/share dividend, now distributed to 300 shares = $300. You reinvest at $70/share = 300 × $1 ÷ $70 ≈ 4.3 additional shares. Your new basis is $17,025 + $300 = $17,325. You now own 304.3 shares.

Sale: You sell all 304.3 shares at $80/share = $24,344. Your capital gain is $24,344 - $17,325 = $7,019.

Without careful basis tracking, you might have mistakenly assumed your gain was $24,344 - $5,000 = $19,344, overstating the gain by $12,325.

Decision tree for cost basis methods

Holding-Period Methods: FIFO, Specific ID, and Average Cost

When you own multiple lots of the same security purchased at different prices, you can choose which specific shares to sell. The method you choose affects your capital gain or loss.

FIFO (First-In, First-Out): The default method. You sell the oldest shares first. If you bought 100 shares at $50 in Year 1 and 100 shares at $75 in Year 5, selling 100 shares uses the Year 1 purchase (cost basis $50), generating a larger gain if the current price is higher. FIFO maximizes gains in rising markets and minimizes losses in falling markets—tax-inefficient for most investors.

Specific ID (Specific Identification): You explicitly designate which shares to sell. If you bought 100 shares at $50 and 100 shares at $75, and you want to minimize gains, you sell the $75 shares, yielding a smaller gain. This is the most tax-efficient method but requires meticulous record-keeping. You must inform your broker in writing before selling which lot you're selling.

Average cost: You average the cost of all shares and use that average basis for all sales. If you own 200 shares: 100 at $50 and 100 at $75, your average cost is $62.50 per share. Selling 100 shares generates a gain based on $62.50 × 100. Average cost is useful for mutual funds with many small purchases but less flexible than specific ID.

Example: You own ABC stock purchased in three lots:

  • 100 shares at $40 (Lot A)
  • 150 shares at $60 (Lot B)
  • 50 shares at $80 (Lot C)

Current price: $100/share. You want to sell 100 shares.

  • FIFO: Sell Lot A. Gain = ($100 - $40) × 100 = $6,000.
  • Specific ID: Sell Lot C. Gain = ($100 - $80) × 100 = $2,000. Tax savings: $2,240 (at 28% rate).
  • Average cost: ($40 × 100 + $60 × 150 + $80 × 50) ÷ 300 = $60 per share. Gain = ($100 - $60) × 100 = $4,000.

Specific ID delivers the lowest gain and the lowest tax.

Form 8949 and Form 1099-B: Broker Reporting

The IRS requires you to report capital gains and losses on Form 8949 (Sales of Capital Assets) and Summary on Schedule D. Your broker provides a Form 1099-B showing all sales and cost basis information.

Form 1099-B basics:

  • Box 1a (Proceeds): The gross sale price
  • Box 1b (Cost basis): The IRS-reported cost basis (if available)
  • Box 1c (Adjustment code): Codes indicating adjustments (reinvestments, splits, etc.)
  • Box 2 (Sales date): The date of sale (for holding period determination)

If your broker reports basis information and you agree, your Form 8949 is straightforward—the reported amounts flow through. If there's a discrepancy (your records show different basis), you must report the correct basis on Form 8949 and explain the difference.

The IRS matches Form 1099-B data from your broker against your Form 8949 submission. If your basis differs, the IRS flags it. Having documentation (purchase confirmations, dividend statements, corporate action notices) is essential to defending your basis in an audit.

When Basis Tracking Is Especially Critical

1. Inherited shares: Inherited stock receives a "stepped-up basis" to the fair market value on the decedent's death date. If your parent bought a stock for $20 and it was worth $100 at their death, your basis is $100, not $20. If you sell for $105, your gain is $5, not $85. You must obtain a certified valuation from the date of death; IRS Form 8949 requires you to note "inherited" shares. Poor tracking here means paying tax on the full $85 phantom gain—roughly $12,700 at a 22% federal rate—when you owed zero tax.

2. Dividend reinvestment plans (DRIPs): If you've been reinvesting dividends for decades, your cost basis is substantial. A fund bought for $5,000 with $300/year average dividends reinvested over 25 years has a basis of roughly $5,000 + $3,750 (discounted for partial-year compounding) = $8,750. Without tracking, you'd think the basis is $5,000 and overpay tax on the $3,750 phantom gain.

3. Transferred accounts: If you move a brokerage account from one firm to another, basis must transfer. Sometimes, legacy basis information doesn't carry over cleanly, especially for old positions from before the year 2000 when electronic records were less standardized. You must verify that the receiving broker's records match your own cost basis documentation.

4. Corporate actions: Stock splits, reverse splits, mergers, and spin-offs adjust basis. A 2-for-1 split halves the per-share basis but maintains total basis. A reverse 1-for-10 split increases per-share basis 10-fold. Mergers introduce new securities; your cost basis in the acquiring company is determined by basis in the acquired company. Poor tracking through these events compounds errors.

5. Securities with multiple share classes: If you own both Class A and Class B shares of the same company (or preferred and common), each class has its own basis. Confusing them is easy and leads to overstated gains.

Real-world examples

Example 1: Decades-old fund with reinvested dividends. Sarah bought a mutual fund 30 years ago for $10,000. She's reinvested dividends every year, averaging $300/year in new share purchases. Her cost basis is approximately $10,000 + (30 × $300 × 0.6 compounding factor) = $15,400. But because she never tracked the basis in detail, she assumes her basis is $10,000. Today, the fund is worth $180,000. She sells it, expecting a gain of $170,000. Her actual gain is $164,600, a $5,400 difference. On a 28% combined tax rate (federal + state), she overpays $1,512 in taxes due to imprecise basis. The fund company's statements show the reinvested dividends, but Sarah never aggregated them.

Example 2: Inherited stock with stepped-up basis. Tom inherited 1,000 shares of a blue-chip stock from his mother. His mother's cost basis was $15/share ($15,000 total). On her death date, the stock was worth $80/share ($80,000). Tom receives a stepped-up basis of $80,000. He later sells at $85/share ($85,000). His gain is $5,000. But if he mistakenly uses his mother's $15,000 basis, he'd report a $70,000 gain, paying roughly $14,700 in taxes on a phantom gain. Proper stepped-up basis documentation is critical; most executors and tax preparers get this right, but estate disorganization can lead to errors.

Example 3: Specific ID saves thousands. Jane owns a growth ETF accumulated over 20 years:

  • Lot 1: 200 shares at $30 (purchased in 2004) = $6,000 cost basis
  • Lot 2: 300 shares at $50 (purchased in 2010) = $15,000 cost basis
  • Lot 3: 150 shares at $75 (purchased in 2019) = $11,250 cost basis

Total: 650 shares at an average of $52.69/share, with a total cost basis of $32,250. Current price: $90/share. Jane wants to raise $18,000 in proceeds and will sell 200 shares.

  • FIFO (default): Sell Lot 1 (oldest). Gain = ($90 - $30) × 200 = $12,000. Tax at 22% + 8% state = $6,000.
  • Specific ID: Sell Lot 3 (highest basis). Gain = ($90 - $75) × 200 = $3,000. Tax = $1,500. Jane saves $4,500.

If Jane doesn't specify, her broker defaults to FIFO, and she unnecessarily pays $4,500 in taxes.

Common mistakes

1. Assuming cost basis is only the purchase price. Many investors forget that reinvested dividends, mergers, and stock splits adjust basis. They track the initial purchase but not the basis increases from dividends, leading to substantial overstatement of gains.

2. Not informing the broker of your preferred holding-period method. If you don't explicitly tell your broker you want specific identification, they default to FIFO, which is usually tax-inefficient. Always send written instructions (email to your broker's tax department) specifying the shares to sell.

3. Relying solely on Form 1099-B for basis. If you've held a position for decades, the broker's basis information might be incomplete or inaccurate, especially for dividend reinvestment or if the position originated before 2000. Maintain your own detailed cost-basis records and reconcile them with the Form 1099-B.

4. Confusing return of capital with ordinary dividends. Some distributions (from MLPs, REITs, and certain funds) are return of capital, which reduce basis, not increase it. Misclassifying them inflates basis errors.

5. Failing to document stepped-up basis on inherited shares. Without a certified valuation of inherited shares on the date of death, the IRS can challenge your stepped-up basis claim. You must maintain estate documents and a professional valuation.

6. Not adjusting basis for stock splits and mergers. A 2-for-1 split halves the per-share basis, but the total basis is unchanged. Forgetting this adjustment leads to overstated per-share gains and overstated total taxes.

FAQ

How do I track cost basis if I've lost old statements?

You can reconstruct basis using statements from your custodian (even if partial), annual tax forms (like Form 1099-DIV showing dividend income), and broker records. If absolutely necessary, the IRS will accept a good-faith estimate with documentation of your efforts to find the original statements. However, the IRS may challenge aggressive estimates in an audit. Requesting archived statements from your broker is the first step.

If I sell shares at a loss, does the wash-sale rule affect my cost basis?

The wash-sale rule disallows the loss deduction if you buy substantially identical securities within 30 days before or after the sale. But the rule also increases your basis in the repurchased shares by the disallowed loss. This prevents double-dipping: you don't deduct the loss, but your basis in the new shares is higher, deferring the loss to a future sale.

Do I need to track basis for shares in a Roth IRA or 401(k)?

No. Tax-exempt accounts like Roth IRAs and 401(k)s have no capital gains tax, so basis is irrelevant for tax reporting. However, you still need basis information to calculate whether you've contributed more than the annual limit (contributions have per-share cost basis) and to track inherited retirement accounts, where beneficiaries owe tax on distributions.

What happens if my cost basis includes a negative number or is zero?

Zero basis can occur if you received shares via reinvestment when the reinvestment price was zero (not possible in normal circumstances) or if there's an error in record-keeping. Negative basis (cost-basis reduction exceeding the original purchase price) occurs when return of capital distributions exceed the initial investment. You have ordinary income in the year the basis drops below zero. Example: You buy a fund for $10,000, receive $11,000 in return-of-capital distributions, and your basis becomes negative $1,000. You have $1,000 of ordinary income. This is rare but requires careful tracking to avoid surprises.

Can I use average cost method for stocks, or only mutual funds?

Average cost can be used for any security, but it's most common for mutual funds because you typically make frequent purchases. For individual stocks, specific identification is more common and tax-efficient. However, once you elect average cost for a security, you must stick with it for future sales (you can't switch to specific ID for a later sale of the same security).

If the market drops after I buy, does my cost basis change?

No. Cost basis is the amount you paid to acquire the security, not its current market value. If you buy a stock for $100 and it drops to $60, your cost basis is still $100. The unrealized loss is $40, but that loss is not "realized" for tax purposes until you sell.

Summary

Cost basis is the foundation of accurate capital gains calculation, yet poor tracking is ubiquitous and expensive. Basis includes the purchase price, reinvested dividends, and adjustments for corporate actions like splits and mergers. The IRS requires basis reporting on Form 8949, and brokers provide basis information on Form 1099-B, but for decades-old positions with dividend reinvestment or inherited shares, you must maintain independent documentation. Choosing the optimal holding-period method—specific identification to minimize gains—requires informing your broker before selling. Inherited shares with stepped-up basis require certified valuations to defend against IRS challenges. Failing to track basis correctly inflates reported capital gains and can trigger unnecessary NIIT and higher Medicare premiums on phantom gains that don't exist. Investors should maintain detailed cost-basis records, reconcile them annually with broker statements, and use specific identification when selling to minimize capital gains tax.

Next

Selling Before Long-Term Status: How 30 Days Costs You $10,000 in Taxes