What it means
Cost basis is the reference point against which every gain or loss is measured. Without it a sale price is just a number, and with it you can say whether the transaction created a profit and how much of that profit is actually taxable.
This is why record keeping at the moment of purchase matters far more than it feels like it should. The basis is more than the sticker price on the invoice.
Brokerage commissions, transfer duties, legal fees, survey costs, and the delivery and installation charges on equipment all form part of it, because none of them were optional if you wanted to own and use the asset. The figure then moves over the life of the holding, which is where most confusion arises.
Capital improvements to a property increase the basis, while depreciation claimed on a business asset and any return-of-capital distributions on an investment reduce it. Ordinary repairs and maintenance do not change it at all.
Investors most often go wrong when they have bought the same holding several times at different prices. If you bought the same share on three occasions you need a stated method, either average cost across all lots or specific identification of exactly which lots you sold, and the choice can change the reported gain substantially.
Inherited and gifted assets follow their own rules and catch out even experienced people. An inherited asset is commonly revalued to its market value at the date of death, wiping out decades of unrealised gain, while an asset received as a gift usually carries the giver's original basis across to the recipient.
In practice
Real-world examples
Example 1
A couple sells a rental flat and initially calculates the gain from the purchase price alone. Adding $14,000 of legal fees and transfer duty from the original purchase and $46,000 of documented kitchen and roof improvements raises the basis by $60,000 and cuts the taxable gain by the same amount.
Example 2
A manufacturer sells a delivery van bought for $48,000 that has $30,000 of depreciation claimed against it. The adjusted basis is $18,000, so a sale at $22,000 produces a $4,000 gain even though the van sold for far less than it originally cost.
Example 3
An investor holding a fund that has paid several return-of-capital distributions finds the platform reporting a lower basis than the amount originally invested. The distributions were not income but a partial return of the original money, so each one reduced the basis and raised the eventual gain.
Think of it
Think of cost basis like the original price tag on a classic car you restored. If you bought the shell for five thousand pounds, spent three thousand pounds on new parts, and later sold it for fifteen thousand pounds, your total investment is eight thousand pounds. That is your cost basis, meaning your actual profit is seven thousand pounds, not fifteen thousand.
Formula
Calculation
Cost basis = purchase price + acquisition costs + capital improvements - depreciation claimed - return of capital.
An investor buys 500 shares at $40.00 each and pays a $95 broker commission.
Purchase price = 500 x $40.00 = $20,000.
Cost basis = $20,000 + $95 = $20,095, which is $20,095 / 500 = $40.19 per share.
No improvements, depreciation or capital returns apply to a plain shareholding, so the basis stays at $20,095.
Three years later the investor sells all 500 shares at $62.00 each and pays another $95 commission.
Sale proceeds = 500 x $62.00 = $31,000.
Capital gain = $31,000 - $20,095 - $95 = $10,810.
Ignoring both commissions would have produced a reported gain of $31,000 - $20,000 = $11,000, overstating the taxable profit by $190. On a portfolio with dozens of trades a year, that kind of omission compounds into a meaningful overpayment.Case study
Seen in the real world
This is an illustrative and entirely fictional example. Quillon Partners, a small investment club, had bought shares in the same listed company on eleven separate occasions over six years, sometimes reinvesting dividends automatically. When the club decided to sell roughly half the holding, the treasurer used the most recent purchase price as the basis because it was the easiest number to find.
The club's accountant rebuilt the record properly. Across the eleven purchases the average cost worked out at $18.40 per share, against the most recent purchase price of $27.10. Using the wrong figure had understated the gain on the disposal by nearly $9 per share, which on 4,000 shares was a $34,800 error in the club's favour and a genuine exposure if the return had been reviewed.
The correction was painful but the process change mattered more. Quillon Partners adopted a single running schedule recording every purchase date, quantity, price and commission, including reinvested dividends, and agreed in advance that specific identification would be its disposal method. The whole reconstruction had taken the accountant two days; keeping the schedule current takes about ten minutes a month.
Watch out
Common mistakes
- Using only the purchase price and forgetting commissions, transfer duties and legal fees that legitimately increase the basis.
- Forgetting that reinvested dividends are purchases in their own right, which leads to counting the same money as both income and gain.
- Treating routine repairs as capital improvements, which inflates the basis and creates a problem if the return is ever examined.
Questions
People also ask
Does depreciation reduce the cost basis?
Yes, every dollar of depreciation claimed on a business asset lowers the basis, which is why a fully depreciated asset can produce a taxable gain on sale at any price.
What happens to the basis of an asset you inherit?
In most systems it is reset to market value at the date of death, so gains accumulated during the previous owner's lifetime are not taxed on the person who inherits.
How do you handle basis when you sell only part of a holding?
You apply a consistent method, usually average cost across all units or specific identification of the lots sold, and stay with it rather than switching to whichever gives a better answer.