Stockertim Dictionary · Investing
Average cost method
Also called average cost basis, average-cost basis, average cost
In short
A way of working out the cost of shares sold by dividing the total cost of all the shares held by the number held, giving every share the same average price.
- Beginner
- Ratio or metric
- Checked
In detail
Investors often buy the same share or fund several times at different prices. When they later sell part of the holding, they need a cost figure to work out the gain or loss. The average cost method treats the whole holding as a single pool: add up everything paid for the shares, including dealing costs, divide by the number of shares, and use that average as the cost of each share sold.
Each new purchase changes the average; each sale removes shares at the current average and leaves the average unchanged for those that remain. The method is simple to maintain and avoids having to decide which particular shares were sold.
Other methods give different answers. First in, first out treats the oldest shares as sold first, which in a rising market usually produces a bigger taxable gain. Specific identification lets an investor choose which purchase lots to sell. Which methods are allowed, and which is the default, depends on the tax system and the type of investment.
The UK broadly uses pooled average cost for shares of the same class, after applying special rules for shares bought on the same day as a sale or within the following thirty days. In the US, average cost is commonly used for mutual fund shares, while first in, first out is the default for most individual shares unless the investor identifies lots. Good records of every purchase and sale are essential under any method.
Formula
Average cost per share = total cost of shares held / number of shares held
- total cost of shares held
- everything paid for the shares in the pool, usually including dealing costs
- number of shares held
- shares in the pool before the sale
Worked example
An investor buys 100 shares of Kestrel Foods at £5 and later 200 more at £8, then sells 150 at £10.
- Total cost: 100 × £5 + 200 × £8 = £2,100
- Average cost: £2,100 / 300 = £7
- Proceeds: 150 × £10 = £1,500
- Cost of shares sold: 150 × £7 = £1,050
- Gain: £1,500 − £1,050 = £450
The gain is £450, and the remaining 150 shares keep an average cost of £7 each.
In practice
UK investors report share disposals to the tax authority using pooled holdings. US brokers report cost basis to the tax authority and let fund investors elect average cost. Portfolio tools in Nigeria and elsewhere often show an average purchase price per holding.
Watch out
- Average cost and first in, first out can give very different taxable gains.
- Tax rules may override the pool for shares bought shortly before or after a sale.
- Dealing costs generally form part of the cost and reduce the gain.
Learn it properly
- Keeping investment records for tax15 min lesson Free course: Accounts, costs and records
- Investing a fixed amount every month (naira cost averaging)5 min lesson Free course: Investing strategies: Beginner
- Tracking your portfolio for free on Stockertim5 min lesson Free course: Using Stockertim: Beginner
- Building a DCF in a model15 min lesson Free course: Financial modelling
- The cost of capital and WACC15 min lesson Free course: Financial management
Official sources
- Tax when you sell shares · UK Government
- Topic no. 409, Capital gains and losses · US Internal Revenue Service
Facts last checked on 4 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.