What is cost basis?
Cost basis is the starting line for every gain or loss. Buy shares for €500 plus a €5 fee and your cost basis is €505. Sell them later for €700 and your gain is €195, not €200.
Worked example
Two purchases, one average
Check the maths- Buy 10 at €50 + €5 fee€505
- Buy 10 at €60 + €5 fee€605
- Cost basis, 20 shares€1,110 (€55.50 each)
- Value now, 20 × €70€1,400
- Unrealised gain+ €290
When you buy more than once
Most people buy the same investment several times at different prices. There are two common ways to work out the cost of the shares you later sell:
- Average cost: All purchases are pooled, and every share carries the same average price.
- First in, first out (FIFO): The shares you sell are treated as the oldest ones you bought, at their own price.
- Your country decides: Tax rules differ by country on which method applies. The gain you report for tax follows those rules, not your preference.
Where it goes wrong
Forgetting fees makes gains look bigger than they were. Mixing up shares bought in different currencies is another trap: the cost basis is usually counted in your home currency at the exchange rate of the day you bought.
In Red Start
Portfolio keeps the cost of every trade you log or import, fees included, and works out your gains from it. Open Portfolio
Sources
Explanations only. Spotted a mistake? Report it.