How do I turn a dollar return into a krona return?

Line up a stock’s dollar prices with the USD/SEK exchange rate by date, compute its return in Swedish kronor, and use a rate quoted in either direction.

After this lesson, you can compute the return in Swedish kronor of a stock priced in US dollars.

How do I compute a return in kronor?

A krona investor earns the stock’s dollar return and the dollar’s return against the krona, so the krona return is the product of the two gross returns minus 1, after the prices and exchange rates are lined up by date. On 3 March, the stock rises from 100 to 110 dollars and the dollar from 10 to 11 kronor, so a share worth 1,000 kronor becomes worth 1,210, a return of 21%.

\[ r_{\text{SEK}} = (1 + r_{\text{USD}})(1 + r_{\text{FX}}) - 1 \]

Here \(r_{\text{USD}}\) is the stock’s return in dollars and \(r_{\text{FX}}\) the return of the USDSEK rate, the number of kronor per dollar.

The made-up tables hold AAA’s price in dollars per share and the USDSEK rate on six days each, with a rate on 5 March and no price, and a price on 9 March and no rate. .merge(how="left") keeps every price date, as in the lesson on merge, so the 6 March returns of both series cover 4 to 6 March. The missing rate of 9 March makes the krona returns of 9 and 10 March missing, and filling it with zero would assume an unchanged rate. The return of the krona price, dollar price times USDSEK, gives the same numbers.

The following box lines up the tables and computes the krona return both ways.

import pandas as pd

prices = pd.DataFrame({"date": ["2026-03-02", "2026-03-03", "2026-03-04", "2026-03-06", "2026-03-09", "2026-03-10"], "usd_price": [100, 110, 99, 99, 108.9, 108.9]})
rates = pd.DataFrame({"date": ["2026-03-02", "2026-03-03", "2026-03-04", "2026-03-05", "2026-03-06", "2026-03-10"], "usdsek": [10, 11, 10, 10.5, 12, 12.5]})
joined = prices.merge(rates, on="date", how="left", validate="one_to_one")
joined["usd_return"] = joined["usd_price"].pct_change(fill_method=None)
joined["fx_return"] = joined["usdsek"].pct_change(fill_method=None)
joined["sek_return"] = (1 + joined["usd_return"]) * (1 + joined["fx_return"]) - 1
joined["sek_price_return"] = (joined["usd_price"] * joined["usdsek"]).pct_change(fill_method=None)
print(joined.round(4).to_string())
         date  usd_price  usdsek  usd_return  fx_return  sek_return  sek_price_return
0  2026-03-02      100.0    10.0         NaN        NaN         NaN               NaN
1  2026-03-03      110.0    11.0         0.1     0.1000      0.2100            0.2100
2  2026-03-04       99.0    10.0        -0.1    -0.0909     -0.1818           -0.1818
3  2026-03-06       99.0    12.0         0.0     0.2000      0.2000            0.2000
4  2026-03-09      108.9     NaN         0.1        NaN         NaN               NaN
5  2026-03-10      108.9    12.5         0.0        NaN         NaN               NaN

What if the rate is quoted the other way?

A rate quoted as SEKUSD, dollars per krona, is the reciprocal of USDSEK, so the stock’s gross return is divided by the rate’s gross return. On 3 March, SEKUSD falls by 9.09% while USDSEK rises by 10%, and the division gives the same krona return of 21%.

\[ r_{\text{SEK}} = \frac{1 + r_{\text{USD}}}{1 + r_{\text{SEKUSD}}} - 1 \]

The returns are price returns of an unhedged investment, without dividends, fees or trading costs.

The following box computes SEKUSD, its return and the krona return from it.

joined["sekusd"] = 1 / joined["usdsek"]
joined["sekusd_return"] = joined["sekusd"].pct_change(fill_method=None)
joined["sek_return_from_sekusd"] = (1 + joined["usd_return"]) / (1 + joined["sekusd_return"]) - 1
print(joined[["date", "fx_return", "sekusd_return", "sek_return", "sek_return_from_sekusd"]].round(4).to_string())
         date  fx_return  sekusd_return  sek_return  sek_return_from_sekusd
0  2026-03-02        NaN            NaN         NaN                     NaN
1  2026-03-03     0.1000        -0.0909      0.2100                  0.2100
2  2026-03-04    -0.0909         0.1000     -0.1818                 -0.1818
3  2026-03-06     0.2000        -0.1667      0.2000                  0.2000
4  2026-03-09        NaN            NaN         NaN                     NaN
5  2026-03-10        NaN            NaN         NaN                     NaN

Your turn

Print the krona return from 2 to 6 March in percent. You should see 18.80%, from 1,000 to 1,188 kronor.

The krona price is the dollar price times USDSEK.

sek_price = (joined["usd_price"] * joined["usdsek"]).set_axis(joined["date"])
print(f"{sek_price['2026-03-06'] / sek_price['2026-03-02'] - 1:.2%}")
18.80%