Cost basis and currency effect: understand your real gain

Updated · 6 min read

Your broker shows +45% on a stock, a friend who owns the same one sees +30%, and another app shows yet another number. Often nobody is wrong: each one calculates the cost basis differently, or in another currency. Here is how to make sense of it.

Average cost per share

The average cost is the average price paid for each share you still hold, fees included. If you buy 10 shares at €100 and then 10 at €120, your average cost is €110 (plus fees divided by 20).

When you sell part of the position, the most common method keeps the same average cost for the remaining shares. The gain from the sale is then "realised" and leaves the position.

The partial-sale trap

Example
Buy 20 shares€1,000
Sell 10 shares+ €1,200
Value of the 10 remaining shares€1,400
Total return+ €1,600
  • Average cost kept: the 10 remaining shares cost €500 and are worth €1,400, i.e. +€900 (+180%). The €700 gain from the sale is shown separately, as a realised gain.
  • Money taken back: some brokers deduct the sale proceeds from the cost. You have already taken back more than you invested, so the remaining shares are "free" and the percentage no longer makes sense.

Both are correct. What matters is the total return (here +€1,600), which does not depend on any convention.

Currency effect: when the dollar eats your performance

For a stock priced in dollars, your performance in euros combines two things: the share price and the exchange rate.

Example
Buy: 10 shares at $100, €1 = $1.10€909
Today: price $130, €1 = $1.20€1,083
Price effect (+30% in dollars)+ €273
Currency effect (the dollar fell)− €98
Gain in euros (+19%)+ €174

The company did +30%, but you made 19%. It is not your broker's mistake: it is the dollar. Over the long run currency effects tend to even out, but they can weigh heavily over a few years.

Stock splits

When a company splits its stock (say 1 share becomes 10), your number of shares is multiplied and your average cost divided accordingly. Nothing changes in the value of your position. A tracker that misses the split will still show a 90% drop: the most common spreadsheet error.

In Volant Each position shows its cost basis in euros and in the stock's currency, separates the price effect from the currency effect, applies splits automatically, and shows your total return even after partial or full sales.

Your portfolio deserves better than a spreadsheet.

Volant brings your brokers together and calculates your total return, annualised return and net dividends. Free, with no access to your broker account. Available in English.

Create my free account