Tax Basis (Cost Basis)

Tax Compliance & Rules
intermediate
7 min read
Updated Feb 20, 2025

What Is Tax Basis?

Tax basis (or cost basis) is the original value of an asset for tax purposes—usually the purchase price plus any associated costs—used to determine the capital gain or loss when the asset is sold.

Tax basis, often referred to simply as "cost basis," is the foundational number used to calculate capital gains taxes. It represents the amount of after-tax capital you have invested in an asset. When you sell an investment, you are not taxed on the total sales price; you are only taxed on the *gain*—the difference between what you sold it for and your basis. The Formula: Capital Gain/Loss = Sale Proceeds - Tax Basis If you purchase a share of stock for $100, your tax basis is $100. If you sell that share years later for $150, your taxable gain is only $50. The original $100 is returned to you tax-free because it was your own money to begin with. Conversely, if you sell the share for $90, you have a capital loss of $10, which can be used to offset other gains. Without an accurate record of your tax basis, the IRS may assume your basis is zero. In that worst-case scenario, if you sold the stock for $150, you would owe tax on the entire $150, resulting in a massive and unnecessary tax bill. Basis applies to almost every asset class, including stocks, bonds, mutual funds, real estate, cryptocurrency, and even business equipment, making it a universal concept in investing.

Key Takeaways

  • The starting point for calculating capital gains taxes.
  • Generally equals the purchase price + commissions + improvements.
  • Adjusted over time ("Adjusted Basis") for events like stock splits, dividends reinvested, or depreciation.
  • A "Step-up in Basis" resets the value to current market price upon the owner's death.
  • Crucial for determining if a sale results in a taxable profit or a deductible loss.

How It Works: Calculating Basis

Calculating the initial basis is usually straightforward—it is the purchase price plus any transaction fees (like brokerage commissions or closing costs). However, maintaining the correct basis over time requires tracking "Adjustments." 1. Reinvested Dividends: This is the most common area of confusion. If you own a mutual fund that pays a $100 dividend, and you automatically reinvest that $100 to buy more shares, you must *add* $100 to your total tax basis. You have already paid tax on that dividend income in the year it was paid; if you don't add it to your basis, you will pay tax on it *again* when you sell the shares. 2. Stock Splits: If a company splits its stock 2-for-1, your total basis remains the same, but your *per-share* basis is cut in half. If you owned 10 shares with a basis of $100 each (Total $1,000), you now own 20 shares with a basis of $50 each (Total $1,000). 3. Return of Capital: Sometimes an investment pays out cash that is not a dividend but a return of your original investment. This is not taxable immediately, but it reduces your basis. If you bought for $10 and received a $1 return of capital, your new basis is $9. 4. Corporate Actions: Mergers, spin-offs, and acquisitions can complicate basis. If a company you own spins off a subsidiary, your original basis must be allocated between the parent company stock and the new subsidiary stock based on their relative fair market values.

Important Considerations

For crypto investors, basis tracking is notoriously difficult. Unlike stock brokers, crypto exchanges have historically been less consistent in providing tax forms. Every trade—swapping Bitcoin for Ethereum, or using crypto to buy a coffee—is a taxable event that triggers a gain or loss calculation. You must know the USD value of the crypto at the exact moment you acquired it (basis) and the USD value at the exact moment you spent it (proceeds). Failure to track this granular data is the primary cause of crypto tax audits.

Step-by-Step Guide to Tracking Cost Basis

Mastering basis tracking prevents double taxation. Here is a guide to keeping your records straight: 1. Save Trade Confirmations: Never rely solely on your current dashboard view. Download the official "Trade Confirmation" PDF for every purchase. This document proves the date and price of your acquisition. 2. Select Your Cost Basis Method: When you sell a partial position (e.g., selling 10 shares out of 100), you must tell the broker which shares to sell. - FIFO (First-In, First-Out): Sells the oldest shares first. Usually the default. - LIFO (Last-In, First-Out): Sells the newest shares first. Good if recent shares were bought at a high price (harvesting a loss). - Specific ID: You specify "Sell the lot bought on Jan 5th." This offers maximum tax control. 3. Log Reinvestments Manually: If you use a DRIP (Dividend Reinvestment Plan), update your spreadsheet annually. Add the value of reinvested dividends to your total cost pool. 4. Adjust for Real Estate: For property, keep a "Capital Improvements" folder. Did you add a deck? Replace the roof? Add those costs to your basis immediately. Repairs (fixing a leak) do not count; improvements (adding value) do. 5. Review Form 1099-B: At tax time, compare your records with the broker's 1099-B. Ensure the "Cost Basis" box is populated and matches your data. If it's blank or wrong, you must correct it on Form 8949.

The "Step-Up" in Basis

One of the most powerful estate planning tools is the Step-Up in Basis. If you die and leave stock to your heirs, the tax basis "steps up" to the fair market value on the date of your death. * Scenario: You bought Apple stock for $1,000. It is worth $100,000 when you die. * Tax Consequence: If you sold it while alive, you'd owe tax on $99,000 gain. If your heir sells it immediately after inheriting it, they owe $0 tax. The $99,000 gain is wiped out for tax purposes.

Real-World Example: Reinvested Dividends

An investor buys a mutual fund and reinvests dividends for 10 years.

1Initial Investment: $10,000.
2Dividends Reinvested over 10 years: $4,000. (Taxes were paid on these each year they were received).
3Total Value at Sale: $20,000.
4Wrong Calculation: Gain = $20,000 - $10,000 = $10,000 gain.
5Correct Calculation: Adjusted Basis = $10,000 (Initial) + $4,000 (Reinvested) = $14,000.
6True Gain: $20,000 - $14,000 = $6,000.
Result: Failing to adjust the basis for reinvestments would cause the investor to be double-taxed on the $4,000 of dividends.

Adjusted Basis

Basis isn't always static. It changes based on lifecycle events of the asset: * Increases Basis: * Reinvested Dividends: If you use a $10 dividend to buy more stock, that $10 is added to your total basis. * Improvements (Real Estate): Adding a new roof to a rental property adds to the basis. * Commissions: Fees paid to buy the asset are part of the cost. * Decreases Basis: * Depreciation: For business assets or rental property, claiming depreciation deductions lowers your basis each year. * Return of Capital: If an investment pays you back part of your principal, it lowers your basis. * Stock Splits: If a stock splits 2-for-1, your total basis stays the same, but your *per share* basis is cut in half.

Methods of Tracking Basis

When you own multiple lots of the same stock bought at different prices, you must tell the IRS which ones you sold to calculate basis correctly. 1. FIFO (First-In, First-Out): The default. Assumes you sold the oldest shares first. 2. LIFO (Last-In, First-Out): You sell the most recently bought shares. Often used to minimize taxes if prices have risen. 3. Specific Identification: You tell the broker exactly which shares to sell ("Sell the lot bought on 1/5/2021"). This offers the most control. 4. Average Cost: Often used for mutual funds. Takes the total cost divided by total shares.

FAQs

If you cannot prove your basis to the IRS, they may assume your basis is **zero**. This means the entire sale proceeds are taxable. Since 2011, brokers are required to track cost basis for "covered" securities, but for older assets or crypto, the burden is on you.

No. Inherited assets get a "Step-Up" to current value. Gifted assets generally retain the donor's original basis ("Carryover Basis"). If your dad gives you stock he bought for $1, he gives you his $1 basis (and the tax bill that comes with it).

Crypto is treated as property. Every trade (e.g., swapping BTC for ETH) is a taxable event. You must calculate the basis of the coin you sold (purchase price in USD) vs. the value at the time of the swap. Keeping track of specific lots is critical.

The Bottom Line

Tax basis is the most boring but financially critical number in your investment portfolio. It acts as the shield that protects your original principal from being taxed as profit. Accurate basis tracking—especially the diligent adjustment for corporate actions, reinvested dividends, and capital improvements—is the difference between paying your fair share and paying double. In the eyes of the IRS, if you cannot prove what you paid for it, you got it for free, making the preservation of trade records a non-negotiable habit for serious investors.

At a Glance

Difficultyintermediate
Reading Time7 min

Key Takeaways

  • The starting point for calculating capital gains taxes.
  • Generally equals the purchase price + commissions + improvements.
  • Adjusted over time ("Adjusted Basis") for events like stock splits, dividends reinvested, or depreciation.
  • A "Step-up in Basis" resets the value to current market price upon the owner's death.