Cost Basis: What It Is, How to Calculate It & Capital Gains Implications

Agasthya Krishna
Last updated
July 27, 2026
Agasthya Krishna
Last updated
July 27, 2026

Cost basis is the amount you originally paid for an investment, adjusted over time for items like commissions, reinvested dividends, and corporate actions. It is the figure used to calculate your taxable gain or loss when you sell, which makes it one of the most important numbers in your investment record. The IRS describes basis as generally the amount you paid for the asset, used to figure any gain or loss on the sale, exchange, or other disposition of the property.

For most investors, cost basis sits quietly in the background until a sale triggers a tax event. Getting the number right (or wrong) can shift how much you owe in capital gains tax, which is why brokerages, mutual funds, and the IRS all care about how it gets tracked.

What is cost basis?

If you are asking what cost basis is, here is the simplest answer:

Cost basis is the total amount you have invested in a security for tax purposes, including the purchase price plus associated costs and adjustments. FINRA points out that for stocks and bonds, your cost basis generally equals the purchase price for those securities, plus any reinvested dividends or reinvested capital gains distributions, plus commissions and fees paid to complete the transaction.

Cost basis operates as the baseline against which your sale price is measured. If your sale price exceeds your basis, you have a capital gain. If it falls below, you have a capital loss. Both outcomes affect your tax return in different ways.

Why cost basis matters

Your cost basis directly determines what you owe in taxes when you sell. The higher your basis, the smaller your gain (and the smaller your tax bill). The lower your basis, the larger your gain. Understanding cost basis helps you forecast your tax exposure before a sale, rather than after.

Three practical reasons cost basis matters:

  • It establishes your taxable gain or loss for any sale
  • It affects whether a sale qualifies for long-term or short-term capital gains treatment based on holding period
  • It carries forward when you transfer securities between accounts or pass them on through inheritance

Accurate basis tracking ties closely to broader portfolio decisions, including diversification and rebalancing across asset classes.

How to calculate cost basis

Learning how to calculate cost basis starts with the purchase. In its simplest form:

Cost basis = (Purchase price per share × Number of shares) + Commissions and fees

If you bought 100 shares of a stock at $50 each and paid a $10 commission, your starting basis is $5,010. Your per-share basis is $50.10.

From there, several events can adjust the basis upward or downward over time. The most common adjustments include:

  • Reinvested dividends and capital gains distributions: each reinvestment buys additional shares and increases your overall basis
  • Stock splits: a split changes the number of shares you own and your per-share basis, though your total basis stays the same
  • Return of capital distributions: these reduce your basis instead of counting as taxable income in the year received
  • Wash sales: a disallowed loss is added to the basis of the replacement shares you purchased

If you have held a position for years and reinvested dividends along the way, the math compounds quickly. This is why brokerages send you Form 1099-B at tax time, with the cost basis already calculated.

Common cost basis methods

When you sell only part of a position, the IRS allows several methods for identifying which shares you sold. The method you pick can meaningfully change your taxable gain.

Method How it works Best used for
FIFO (First In, First Out) Sells the oldest shares in the position first The default, if you do not specify a method, often produces long-term gains
LIFO (Last In, First Out) Sells the most recently purchased shares first Reducing gains when older shares have appreciated significantly
Specific Identification You choose exactly which lots to sell at the time of the trade Maximum tax control; requires manual selection at sale
Average Cost Average basis across all shares of the same fund Mutual fund holders who want simplicity over precision

FIFO is the default if you do not specify a method. FINRA notes that if you cannot identify the specific shares being sold, tax rules generally treat the sale as if you sold the earliest-acquired shares first.

Specific identification gives you the most control, but it requires you to flag the specific lots at the time of sale. The election cannot be applied retroactively after the trade settles.

Cost basis examples

A few examples make the mechanics clearer. Each row below shows a typical scenario.

Scenario Purchase details Cost basis Notes
Simple stock buy 100 shares at $50, $10 commission $5,010 Most common starting point
With reinvested dividends $5,010 initial plus $400 reinvested $5,410 Reinvestments raise the basis dollar for dollar
2-for-1 stock split 100 shares at $50 split into 200 shares $5,010 total; $25.05 per share Total basis unchanged, per-share basis halved
Inherited shares 100 shares; $80 fair market value at death $8,000 Step up to the fair market value resets basis

Three takeaways from these examples:

  • Reinvested dividends almost always raise your basis, which lowers your eventual taxable gain
  • Stock splits do not change total basis, only the per-share number
  • Inheritance typically gets a step-up in basis, which can substantially reduce capital gains tax for heirs

Cost basis and capital gains

The relationship between cost basis and capital gains is direct: capital gain (or loss) equals sale price minus cost basis. That single equation drives the tax bill on every taxable sale.

Two timing buckets affect how that gain is taxed:

  • Short-term capital gains apply to assets held one year or less and are taxed at ordinary income rates
  • Long-term capital gains apply to assets held more than one year and are taxed at preferential federal rates (currently 0%, 15%, or 20% depending on income)

Because the holding period attaches to each specific lot, the method you use to identify shares sold (FIFO, LIFO, or specific identification) can change both the size of your gain and whether it falls into the short-term or long-term bucket. Choosing higher-basis lots reduces gains. Choosing older lots may shift a gain from the short term to the long term.

This connection between cost basis and capital gains is the practical reason recordkeeping matters. Without an accurate basis, you cannot compute a reliable gain, and without a reliable gain, you risk overpaying or filing inaccurately.

Special situations and adjustments

Some events require careful adjustments to the basis outside the standard buy-and-hold scenario.

  • Gifted securities: your basis is generally the donor's original basis, plus any gift tax paid on the appreciation
  • Inherited securities: basis is "stepped up" to the fair market value on the date of death, which can eliminate decades of accumulated gains
  • Corporate actions: mergers, spinoffs, and stock splits all require basis allocation, which your brokerage typically reports

If your brokerage transferred securities from another firm before 2011 (the year cost basis reporting requirements expanded for equities), the basis figure on file may be incomplete. In that case, the responsibility to substantiate it with your own records sits with you.

Cost basis and accredited investors

For accredited investors participating in private markets, cost-basis tracking carries extra weight. Private securities typically have limited liquidity, may involve multiple capital calls, and can include events such as distributions in kind or partial returns of capital, all of which change the basis over time. Accreditation provides access to private offerings sold under the SEC's Rule 506, in which platforms verify investor status before allowing participation.

In these structures, the basis is rarely reported on a Form 1099-B, as it is for public equities, so investors often need to track it themselves, aided by the issuer's reporting. To explore private market opportunities, see Marketplace, Collective, and The Power 20.

Final thoughts

Cost basis is the foundation of every taxable investment outcome. If you track it accurately through the holding period, your tax reporting becomes a calculation rather than a guess. The mechanics get more involved with reinvestments, corporate actions, and private securities, though the principle stays the same: know what you paid, adjust as events change the position, and your gain or loss falls out of the math.

Disclaimer

This content is for informational and educational purposes only. It does not constitute investment advice, legal advice, or a recommendation to buy or sell any security or to pursue any specific investment strategy.

Agasthya Krishna

Agasthya Krishna is an analyst at Augment, supporting the Capital Markets and Marketing teams. He joined Augment after graduating from Northeastern University, where he studied economics & business and explored global private markets as a research assistant alongside some of the world’s most cited researchers. He’s also supported founders through IDEA and gained early-stage venture experience with ah! Ventures and Hustle Fund. Originally from India and now based in San Francisco, he’s happiest when he’s digging into private market dynamics, and can always make time for cricket (preferably with an iced mocha on the side).

Learn more

FAQs

What is cost basis in simple terms?

Cost basis is what you originally paid for an investment, plus adjustments for fees, reinvestments, and corporate actions over time. When you sell, you subtract your cost basis from the sale price to figure your taxable gain or loss.

How do you calculate cost basis when reinvested dividends are involved?

Add the amount of each reinvested dividend to your existing basis. The reinvestment effectively buys more shares at the price on the dividend date, and those purchases raise your total basis dollar for dollar, which lowers the gain you report at sale.

How are cost basis and capital gains connected?

Capital gain equals sale price minus cost basis. A higher basis means a smaller taxable gain (and a smaller tax bill), which is why choosing the right cost basis method at sale time can make a material difference in what you owe.

Which cost basis method should you use?

FIFO is the default and works for most casual investors. Specific identification gives the most control if you want to target particular lots to manage taxes. Mutual fund holders can also use the average cost method when they prefer simplicity over precision.

FOR QUALIFIED INSTITUTIONAL AND ACCREDITED INVESTORS ONLY: Under federal securities laws, private market investments on this platform are available exclusively to Institutional and Accredited Investors. Verification of status required before investing. Private investments involve significant risks including illiquidity, potential loss of principal, and limited disclosure requirements. "Augment" refers to Augment Markets, Inc. and its affiliates. Augment Markets, Inc. is a technology company offering software and data services, not a bank or financial institution. Cash Accounts are provided by Modern Treasury Corp. financial institution partners and through Augment's technology. Augment does not act as a money services business, provide money transmission, or serve as a custodian of funds. Funds held in your Cash Account are not FDIC insured unless expressly disclosed. Full terms available in the Augment Cash Account Agreement.Brokerage services are offered through Augment Capital, LLC, an affiliated broker-dealer and member FINRA/SIPC. “Investment accounts” are not brokerage accounts and do not hold customer funds or securities. Investment advisory services are offered through Augment Advisors, LLC, an SEC-registered investment adviser.  Registration with the SEC does not imply a certain level of skill or training. Augment and its affiliates do not provide legal or tax advice; consult your attorney or tax professional regarding your specific situation. For additional information, please refer to Augment Advisors, LLC’s Form ADV Part 2A (Firm Brochure) and FINRA BrokerCheck.