how-to · 7 min read
Checking a real investment return and a cross-currency sale
A return that feels right can still be wrong if the cost basis, dividends, fees or currency conversion are counted inconsistently. The reliable approach is to write down each cash flow, compute the simple total return, then annualise it and check the currency separately.
This walkthrough follows one position bought in two lots and one asset sold in a foreign currency. Every figure comes from the browser calculators, uses prices and rates the user enters, and assumes no live market data. It is an arithmetic check, not investment or tax advice.
The position: two purchases and a current price
The first purchase is 100 shares at $10, which costs $1,000. The second is 50 shares at $12, which costs $600. The combined cost is $1,600 for 150 shares, so the average cost is $10.6667 per share. The average is a weighted figure: it is not the midpoint of $10 and $12, because more shares were bought at the lower price.
At a current price of $15, the position is worth $2,250. That is an unrealised gain of $650, or 40.625% of the $1,600 cost. If nothing has been sold, the whole gain is unrealised: it exists only on paper until shares are sold, and the price can move before that happens.
| Item | Shares | Price | Amount |
|---|---|---|---|
| First purchase | 100 | $10 | $1,000 |
| Second purchase | 50 | $12 | $600 |
| Total cost | 150 | $10.6667 average | $1,600 |
| Current value | 150 | $15 | $2,250 |
| Unrealised gain | — | — | $650 (40.625%) |
Fees belong in the cost basis
A $10 commission paid to buy the second lot is part of what the position cost. The cost basis becomes $1,610 and the average cost rises to $10.7333. At $15 the gain is now $640 rather than $650, and the return falls from 40.625% to 39.7516%.
Fees on the way out work the other way: a commission or spread taken from the sale proceeds reduces what the investor actually receives, so it lowers the realised return. The same logic applies to platform charges and custody fees, which reduce the net result without changing the share price. Keep a record of every fee, because a small percentage on a large position can be a meaningful amount.
Dividends: income beside the price change
Dividends are a separate cash flow and should not be hidden inside the price gain. A $2 annual dividend on a $50 share price is a 4% yield. For 100 shares that is $200 a year, before withholding tax or account fees.
Yield on cost is a different measure: if the shares were bought at $40, the same $2 dividend is 5% of the original cost. Neither yield is a promise; a company can cut or suspend a dividend, and a high yield can signal a falling price rather than generous income.
If the $200 of dividends is included, the total return on the $1,600 position becomes ($650 + $200) ÷ $1,600 = 53.125% before fees. Keep the dividend receipts separate in the records so that the price return, the income return and the total can each be checked on their own.
CAGR: comparing a 5-year and a 10-year doubling
A $1,000 investment that reaches $2,000 has made a 100% total return whenever it happened. The holding period changes the annual rate: over 5 years the compound annual growth rate is 14.8698%, and over 10 years it is 7.1773%. Both are correct descriptions of the same doubling over different spans.
CAGR is calculated as (ending value ÷ starting value)^(1 ÷ years) − 1. It smooths the path into one constant annual rate, which makes investments of different lengths comparable, but it does not show volatility, drawdowns or the order of returns. Use total return for how much was gained and CAGR for how fast it compounded per year.
The same annualisation principle applies to a mortgage or savings assumption: a total cost or balance over 35 years means little until it is turned into a rate or compared with an alternative of the same length.
Selling an asset in another currency
Currency profit is a separate calculation from the asset's price change. Buying 1,000 EUR at 1.10 USD/EUR costs $1,100. Selling the same 1,000 EUR at 1.20 USD/EUR returns $1,200, a profit of $100, which is 9.0909% of the $1,100 cost. The euro amount did not change; only the exchange rate did.
A $10 conversion fee reduces the profit to $90 and the return to 8.1818%. Spreads, transfer fees and bank charges act like that fee, so the quoted exchange rate is rarely the rate an investor actually gets on the full amount.
There is no live FX feed behind this calculation: the user enters the buy and sell rates. Record the rate source and the date with each transaction, because the same euro sale can show a different dollar result depending on which rate and which day are used.
Reconciling total return, CAGR and real return
Three numbers answer three different questions. Total return says how much the position gained as a percentage of cost. CAGR says what constant annual rate would produce that gain over the holding period. Real return says what is left after inflation, so it measures purchasing power rather than nominal dollars.
For the 10-year doubling, the 7.1773% nominal CAGR becomes about 4.0557% after 3% inflation, using (1 + nominal) ÷ (1 + inflation) − 1. For the 5-year doubling the same 3% inflation leaves a much larger real rate because the nominal rate is higher. Compare real figures only with other real figures, and nominal with nominal.
Keep realised and unrealised amounts apart as well. If 50 of the 150 shares are sold at $15, the realised gain on those shares is roughly $216.67, based on a cost basis of about $533.33; the remaining 100 shares carry about $1,066.67 of cost and an unrealised gain of about $433.33 at $15. Together they reconcile to the $650 total gain, but only the realised part belongs in a cash or tax record.
| Part of the position | Cost basis | Value at $15 | Gain |
|---|---|---|---|
| 50 shares sold | $533.33 | $750.00 | $216.67 realised |
| 100 shares kept | $1,066.67 | $1,500.00 | $433.33 unrealised |
| Total | $1,600.00 | $2,250.00 | $650.00 |
A reconciliation checklist before you trust the number
Run this list before comparing two investments, reporting a return or filing a tax record. It catches the errors that arithmetic alone cannot, because the calculator trusts every number entered into it.
- Cost basis includes purchase fees and any adjustments, and is recorded per lot rather than only as an average.
- Dividends, interest and other income are recorded separately from price changes, with withholding tax noted where it applies.
- Realised and unrealised gains are reported separately, and sales are matched to the right cost basis.
- Currency conversions record the rate, the date and the fee; no live FX rate is assumed by the calculators.
- Total return, CAGR and real return are labeled and compared only with figures of the same type and period.
- Taxes and fees are applied explicitly where they matter; the calculators exclude them unless the user includes them in the inputs.
- Every figure is based on user-entered data, so keep the source records and treat the results as arithmetic checks, not investment advice or a valuation.

