No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

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.

Position built from two purchases
ItemSharesPriceAmount
First purchase100$10$1,000
Second purchase50$12$600
Total cost150$10.6667 average$1,600
Current value150$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.

The same position with 50 shares sold at $15
Part of the positionCost basisValue at $15Gain
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.

Frequently asked questions

What is the average cost of 100 shares at $10 and 50 shares at $12?
The total cost is $1,000 + $600 = $1,600 for 150 shares, so the average cost is $10.6667 per share. It is a weighted average, which is why it sits closer to $10 than to the simple midpoint of $11.
How do purchase fees change the return?
A $10 fee raises the cost basis to $1,610 and the average cost to $10.7333. At a $15 price the gain becomes $640 instead of $650, and the return becomes 39.7516% instead of 40.625%.
What is the dividend yield on a $2 dividend and a $50 price?
The yield is $2 ÷ $50 = 4%. On 100 shares that is $200 of income a year before tax. If the shares were bought at $40, the yield on cost is 5%, which is a different measure from the current yield.
Why is CAGR 14.8698% over 5 years but 7.1773% over 10?
Doubling $1,000 to $2,000 is a 100% total return either way, but spreading it over half the time doubles the annual compounding rate. CAGR shows that difference; total return does not.
How is profit calculated on a cross-currency sale?
Compare the sale proceeds with the purchase cost in the same currency. Buying 1,000 EUR at 1.10 costs $1,100; selling at 1.20 returns $1,200, so the profit is $100, or 9.0909%. A $10 fee cuts it to $90, or 8.1818%.
Does this guide use live prices or exchange rates?
No. Every price, dividend and exchange rate is entered by the user, and the calculators use no live market data. The results are arithmetic checks on those inputs, not valuations, predictions or investment advice.

Tools for this job

All Calculators