Calculating the Return on Investment in Currency X When Investing in Currency Y

Calculating the Return on Investment in Currency X When Investing in Currency Y — Dr Krzysztof Ozimek

Abstract

This post presents a method for calculating the return on an investment denominated in a base currency X, when the actual investment is made in a foreign currency Y. The approach considers both the performance of the asset in Y and the movement of the exchange rate between X and Y. A general formula is derived and explained in detail, along with a simplified approximation for practical use. The analysis also accommodates trade costs, taxes, and inflation. Several scenarios are discussed to illustrate how currency appreciation or depreciation affects investment returns. A numerical example is provided, alongside R and Python implementations of the calculation.

Return on Investment in X from Investments in Y

To calculate the return on an investment denominated in currency X, when the investment is made in currency Y, we use the following formula (with derivation provided):

\[ \begin{aligned} \mathrm{r}_{\mathrm{X}} &= \frac{\mathrm{V}^{\prime}[\mathrm{X}]}{\mathrm{V}[\mathrm{X}]} - 1 \\[12pt] &= \frac{\mathrm{V}[\mathrm{X}] \cdot \mathrm{e}_{\mathrm{XY}} \cdot \left(1 + \mathrm{r}_{\mathrm{Y}} \right) \cdot \mathrm{e}_{\mathrm{YX}}^{\prime}}{\mathrm{V}[\mathrm{X}]} - 1 \\[12pt] &= \left(1 + \mathrm{r}_{\mathrm{Y}} \right) \cdot \frac{\mathrm{e}_{\mathrm{YX}}^{\prime}}{\mathrm{e}_{\mathrm{YX}}} - 1 \\[12pt] &= \left(1 + \mathrm{r}_{\mathrm{Y}} \right)\left(1 + \mathrm{R}_{\mathrm{YX}} \right) - 1 \end{aligned} \]

where:

  • \(\mathrm{V}[\mathrm{X}]\) – starting value of the investment in X
  • \(\mathrm{V}^{\prime}[\mathrm{X}]\) – final value of the investment in X
  • \(\mathrm{r}_{\mathrm{X}}\) – return on investment in currency X
  • \(\mathrm{r}_{\mathrm{Y}}\) – return on investment in currency Y
  • \(\mathrm{e}_{\mathrm{YX}}\) – exchange rate of Y in terms of X (units of X per unit of Y)
  • \(\mathrm{e}_{\mathrm{YX}}^{\prime}\) – future exchange rate after a given period
  • \(\mathrm{R}_{\mathrm{YX}}\) – relative change in the exchange rate \(\mathrm{e}_{\mathrm{YX}}\)

Trade costs, taxes, and inflation can be included when calculating \(\mathrm{r}_{\mathrm{Y}}\). Exchange costs can be taken into account when determining \(\mathrm{e}_{\mathrm{YX}}^{\prime}\).

We know that:

\[ \begin{aligned} \frac{\mathrm{e}_{\mathrm{YX}}^{\prime}}{\mathrm{e}_{\mathrm{YX}}} &= \frac{\mathrm{e}_{\mathrm{XY}}}{\mathrm{e}_{\mathrm{XY}}^{\prime}} \\[12pt] &= \frac{1}{\frac{\mathrm{e}_{\mathrm{XY}}^{\prime}}{\mathrm{e}_{\mathrm{XY}}}} = \frac{1}{1 + \mathrm{R}_{\mathrm{XY}}}. \end{aligned} \]

So:

\[ \begin{aligned} \mathrm{r}_{\mathrm{X}} &= \left( 1 + \mathrm{r}_{\mathrm{Y}} \right) \left( 1 + \mathrm{R}_{\mathrm{YX}} \right) - 1 \\[12pt] &= \frac{1 + \mathrm{r}_{\mathrm{Y}}}{1 + \mathrm{R}_{\mathrm{XY}}} - 1. \end{aligned} \]

Rule of Thumb

One can write the discussed return as:

\[ \begin{aligned} \mathrm{r}_{\mathrm{X}} &= \frac{1 + \mathrm{r}_{\mathrm{Y}}}{1 + \mathrm{R}_{\mathrm{XY}}} - 1 \\[12pt] &= \frac{\mathrm{r}_{\mathrm{Y}} - \mathrm{R}_{\mathrm{XY}}}{1 + \mathrm{R}_{\mathrm{XY}}}. \end{aligned} \]

It leads to the following remarks.

Firstly, \(\mathrm{R}_{\mathrm{XY}}\approx 0\), then:

\[\mathrm{r}_{\mathrm{X}}\approx \mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}.\]

So, if exchange rate of X changes slightly or negligibly, then the return on investment is just about the difference between \(\mathrm{r}_{\mathrm{Y}}\) and \(\mathrm{R}_{\mathrm{XY}}\).

Further, if \(\mathrm{R}_{\mathrm{XY}}\mathrm{ }>0\) (appreciation of X against Y), and \(\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}>0\), one can say that:

\[\mathrm{r}_{\mathrm{X}} < \mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}.\]

The profit on the investment in X is slightly less than \(\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}\).

Lastly, if \(\mathrm{R}_{\mathrm{XY}}\mathrm{ }>0\) and \(\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}<0\), one can say that:

\[\mathrm{r}_{\mathrm{X}} > \mathrm{r}_{\mathrm{Y}} - \mathrm{R}_{\mathrm{XY}}.\]

In this case, the investment loss does not exceed \(\left| \mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}} \right|\).

A similar analysis can be carried out for a depreciation of X against Y (\(\mathrm{R}_{\mathrm{XY}}\mathrm{ }<0\)).

Numerical example

Let: \(\mathrm{r}_{\mathrm{Y}}\mathrm{ }=\mathrm{ }8\%\), \(\mathrm{e}_{\mathrm{XY}}\mathrm{ }=\mathrm{ }4.00\), \(\mathrm{e}^{\prime}_{\mathrm{XY}}\mathrm{ }=\mathrm{ }4.10\).

Then:

\[\mathrm{r}_{\mathrm{X}}=\frac{\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}}{1+\mathrm{R}_{\mathrm{XY}}}=\frac{0.08-\left( \frac{4.10}{4.00}-1 \right)}{1+\left( \frac{4.10}{4.00}-1 \right)}\approx 0.054\]

or, as \(\mathrm{R}_{\mathrm{XY}}=0.025\mathrm{ }>0\) and \(\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}=0.055>0\), one can say approximately, using the upper bound, that \(\mathrm{r}_{\mathrm{X}}\) doesn’t exceed \(\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}=0.055\).

Repeating calculation in R and Python

R:

>> r_X <- function(r_Y, e_XY, e_XY_prime) { + R_XY <- (e_XY_prime / e_XY) - 1 + r_X <- (r_Y - R_XY) / (1 + R_XY) + r_X + } > > r_X(0.08, 4, 4.1) [1] 0.05365854

Python:

>>> def r_X(r_Y, e_XY, e_XY_prime): ... R_XY = (e_XY_prime / e_XY) - 1 ... r_X_value = (r_Y - R_XY) / (1 + R_XY) ... return r_X_value ... >>> r_X(0.08, 4, 4.1) 0.05365853658536584

Conclusion

When investing in foreign assets, evaluating returns in the investor’s domestic currency requires combining asset performance with exchange rate changes. The derived formula

\[ \mathrm{r}_{\mathrm{X}} = \frac{\mathrm{r}_{\mathrm{Y}} - \mathrm{R}_{\mathrm{XY}}}{1 + \mathrm{R}_{\mathrm{XY}}} \]

captures this relationship precisely. The rule-of-thumb approximation is useful for intuitive reasoning, particularly when exchange rate changes are small or one knows the signs of \(\mathrm{R}_{\mathrm{XY}}\) and  \(\mathrm{r}_{\mathrm{Y}}-\mathrm{R}_{\mathrm{XY}}\). The direction and magnitude of currency appreciation or depreciation can either amplify or erode investment gains. Importantly, if the return in Y is strong enough, it may outweigh a currency loss, resulting in a net gain. Conversely, a moderate loss in Y may be offset by favorable exchange rate movements. This dual-dependence highlights the importance of exchange rate exposure in cross-currency investing.

To measure portfolio risk accounting for currency exposure, try my free tool: VaRCalc — Multi-Method Value at Risk Calculator.

For a statistical inference framework for evaluating trading strategies incorporating FX returns, see my textbook: Scientific Backtesting.

To explore synthetic return simulation workflows based on GARCH models, see: Synthetic Data in Inferential Backtesting.

Download the Code Scripts

Currency Adjusted Roi Scripts (R + Python)
Dr Krzysztof Ozimek
Dr Krzysztof Ozimek
Quantitative Investment & Trading Research Educator

Related methodological resources

Continue Exploring Quantitative Finance Methodology

Explore PDF textbooks, implementation-oriented bundles, and methodological frameworks in quantitative investing, trading research, and scientific backtesting.

Explore PDF Textbooks & Bundles
Synthetic Data and Backtesting Bundle

Leave a Reply

Your email address will not be published. Required fields are marked *