What Is the Average Cost Method? Definition and Example
The average cost method values every share you own at the same blended price. Here is how it works, how it compares with FIFO, and when the IRS allows it.
Cost basis is what you paid for an investment, and it decides your gain or loss when you sell. Here is how it is calculated, with an average‑cost and FIFO example.
What is your own portfolio exposed to? Check it with Exent →
Cost basis is the amount you are treated as having invested. The IRS describes it as generally what you paid; for stocks and bonds, “the purchase price plus any additional costs such as commissions” (IRS Topic No. 703). Shares you inherit or receive as a gift follow different rules.
See how this applies to your own holdings with an Exent portfolio check.
Illustrative: buy 10 shares at $100, then 10 at $150. Later, sell 5 shares at $140 ($700).
| Method | Basis of the 5 shares sold | Realized gain |
|---|---|---|
| Average cost ($125 a share) | $625 | $75 |
| FIFO (from the $100 lot) | $500 | $200 |
| Specific ID (from the $150 lot) | $750 | −$50 |
Same trade, three different taxable results. The method you use must match what your broker reports.
Basis drives both your tax bill and your sense of what is working. Without it, you cannot separate realized and unrealized gains or judge a position’s real profit. See the average cost method.
This is general education, not tax advice. Your broker’s tax forms and a tax professional are the reference for your return.
Yes. For shares you buy, the IRS says basis is the purchase price plus costs such as commissions and transfer fees.
Total basis stays the same and is spread over more shares, so basis per share falls in proportion to the split.
Brokers keep purchase records for most recent holdings. For older or transferred shares, past statements or historical prices can reconstruct it.
Average cost is one way to calculate cost basis when you bought shares at different prices. FIFO and specific identification are others.
Upload a screenshot of your holdings and get concentration, overlap, crash exposure and a risk-matched benchmark in about a minute.
Educational content, not investment advice. Examples are illustrative; past performance does not guarantee future results.