Skip to content

International

International parity conditions

Covered and uncovered interest parity, relative and absolute purchasing power parity, the international Fisher effect and real exchange rates.

Model id
international.parity_conditions, version 1
Domain
International
Evidence
standard
Cost class
instant: A closed-form calculation; a hosted run may take up to 2 seconds.

Formula

F=S Gq(T)Gb(T)F = S\,\frac{G_q(T)}{G_b(T)}G(T)∈{1+iT, (1+i/m)mT, eiT}G(T) \in \{1 + iT,\ (1 + i/m)^{mT},\ e^{iT}\}E[ST]=S Gq(T)Gb(T)E[S_T] = S\,\frac{G_q(T)}{G_b(T)}E[ST]=S(1+πq1+πb)T,SPPP=PqPbE[S_T] = S \left(\frac{1 + \pi_q}{1 + \pi_b}\right)^T, \quad S_{\mathrm{PPP}} = \frac{P_q}{P_b}1+i=(1+r)(1+π)1 + i = (1 + r)(1 + \pi)E[S1]S0−1=1+iq1+ib−1\frac{E[S_1]}{S_0} - 1 = \frac{1 + i_q}{1 + i_b} - 1q=S PbPq,Δq=(1+s)(1+πb)1+πq−1q = S\,\frac{P_b}{P_q}, \quad \Delta q = \frac{(1 + s)(1 + \pi_b)}{1 + \pi_q} - 1

Where

FF
Forward exchange rate forward_rate
SS
Spot exchange rate: units of the quote currency per unit of the base currency spot
Gq(T)G_q(T)
What 1 of the quote currency grows to over T at its interest rate
Gb(T)G_b(T)
What 1 of the base currency grows to over T at its interest rate
TT
Horizon, in years years
ii
An interest rate per year, compounded as the convention says
mm
Compounding periods in a year frequency
E[ST]E[S_T]
Expected spot rate at the horizon expected_spot
πq\pi_q
Inflation rate of the quote currency quote_inflation
πb\pi_b
Inflation rate of the base currency base_inflation
SPPPS_{\mathrm{PPP}}
The exchange rate at which a basket costs the same in both currencies ppp_rate
PqP_q
Price of the basket, or the price level, in the quote currency
PbP_b
Price of the basket, or the price level, in the base currency
rr
Real interest rate
iqi_q
Nominal interest rate of the quote currency quote_rate
ibi_b
Nominal interest rate of the base currency base_rate
qq
Real exchange rate real_exchange_rate
Δq\Delta q
Change in the real exchange rate real_change
ss
Change in the spot rate spot_change

Each symbol's field is named beside it; the inputs and outputs, with their units and bounds, are under Variables, and the citations give each formula's source.

Variables

Rates, returns and yields are decimals: 0.05 is five percent. Bounds in brackets include their end; in parentheses they exclude it.

Inputs

Forward rate by covered parity (covered_interest_parity): 7 inputs
Inputs of the calculation covered_interest_parity
NameDescription
Spotspotratio · [1e-06, 1e+06]Spot exchange rate, in units of the quote currency per unit of the base currency
Quote ratequote_raterate · [-0.05, 1]Nominal interest rate of the quote currency per year
Base ratebase_raterate · [-0.05, 1]Nominal interest rate of the base currency per year
Yearsyearsyears · (0, 10]Horizon in years
CompoundingcompoundingtextHow both rates compound over the horizon
FrequencyfrequencytextCompounding frequency of periodic rates
CalculationcalculationtextForward rate by covered parity
Expected spot by uncovered parity (uncovered_interest_parity): 7 inputs
Inputs of the calculation uncovered_interest_parity
NameDescription
Spotspotratio · [1e-06, 1e+06]Spot exchange rate, in units of the quote currency per unit of the base currency
Quote ratequote_raterate · [-0.05, 1]Nominal interest rate of the quote currency per year
Base ratebase_raterate · [-0.05, 1]Nominal interest rate of the base currency per year
Yearsyearsyears · (0, 10]Horizon in years
CompoundingcompoundingtextHow both rates compound over the horizon
FrequencyfrequencytextCompounding frequency of periodic rates
CalculationcalculationtextExpected spot by uncovered parity
Expected spot by relative purchasing power (relative_ppp): 5 inputs
Inputs of the calculation relative_ppp
NameDescription
CalculationcalculationtextExpected spot by relative purchasing power
Spotspotratio · [1e-06, 1e+06]Spot exchange rate, in units of the quote currency per unit of the base currency
Quote inflationquote_inflationrate · [-0.2, 1]Inflation per year in the quote currency's economy
Base inflationbase_inflationrate · [-0.2, 1]Inflation per year in the base currency's economy
Yearsyearsyears · (0, 10]Horizon in years
Exchange rate by absolute purchasing power (absolute_ppp): 4 inputs
Inputs of the calculation absolute_ppp
NameDescription
CalculationcalculationtextExchange rate by absolute purchasing power
Quote pricequote_pricemoney · [0.01, 1e+07]Basket's price in the quote currency
Base pricebase_pricemoney · [0.01, 1e+07]Basket's price in the base currency
Spotspotratio · [1e-06, 1e+06]Spot exchange rate, in units of the quote currency per unit of the base currency
Real rates and the expected change (international_fisher): 5 inputs
Inputs of the calculation international_fisher
NameDescription
CalculationcalculationtextReal rates and the expected change
Quote ratequote_raterate · [-0.05, 1]Nominal interest rate of the quote currency per year
Base ratebase_raterate · [-0.05, 1]Nominal interest rate of the base currency per year
Quote inflationquote_inflationrate · [-0.2, 1]Inflation per year in the quote currency's economy
Base inflationbase_inflationrate · [-0.2, 1]Inflation per year in the base currency's economy
Real exchange rate and its change (real_exchange_rate): 7 inputs
Inputs of the calculation real_exchange_rate
NameDescription
CalculationcalculationtextReal exchange rate and its change
Spotspotratio · [1e-06, 1e+06]Spot exchange rate, in units of the quote currency per unit of the base currency
Quote price levelquote_price_levelindex_level · [0.01, 1e+07]Price index of the quote economy
Base price levelbase_price_levelindex_level · [0.01, 1e+07]Price index of the base economy
Spot changespot_changereturn · [-0.9, 10]Change in the spot rate over the period
Quote inflationquote_inflationreturn · [-0.5, 10]Inflation in the quote economy over it
Base inflationbase_inflationreturn · [-0.5, 10]Inflation in the base economy over it

Outputs

Forward rate by covered parity (covered_interest_parity): 4 outputs
Outputs of the calculation covered_interest_parity
NameDescription
CalculationcalculationtextForward rate by covered parity
Forward rateforward_rateratio · (0, 1e+11]Forward exchange rate for the horizon, in units of the quote currency per unit of the base currency
Forward pointsforward_pointsratio · [-1e+11, 1e+11]Forward less spot, in units of the quote currency
Forward premiumforward_premiumreturn · [-1, 100000]Forward over spot, less one: the base currency's forward premium
Expected spot by uncovered parity (uncovered_interest_parity): 3 outputs
Outputs of the calculation uncovered_interest_parity
NameDescription
CalculationcalculationtextExpected spot by uncovered parity
Expected spotexpected_spotratio · (0, 1e+11]Spot rate expected at the horizon, in units of the quote currency per unit of the base currency
Expected changeexpected_changereturn · [-1, 100000]Expected change in the spot rate
Expected spot by relative purchasing power (relative_ppp): 4 outputs
Outputs of the calculation relative_ppp
NameDescription
CalculationcalculationtextExpected spot by relative purchasing power
Expected spotexpected_spotratio · (0, 1e+11]Spot rate expected at the horizon, in units of the quote currency per unit of the base currency
Expected changeexpected_changereturn · [-1, 100000]Expected change in the spot rate
Inflation differentialinflation_differentialrate · [-3, 3]Quote inflation less base inflation: the change per year, approx.
Exchange rate by absolute purchasing power (absolute_ppp): 3 outputs
Outputs of the calculation absolute_ppp
NameDescription
CalculationcalculationtextExchange rate by absolute purchasing power
PPP rateppp_rateratio · (0, 1e+09]Exchange rate equating the basket's prices, in units of the quote currency per unit of the base currency
Base currency valuationbase_currency_valuationreturn · [-1, 100]Spot over the PPP rate, less one: above zero, the base is dear
Real rates and the expected change (international_fisher): 6 outputs
Outputs of the calculation international_fisher
NameDescription
CalculationcalculationtextReal rates and the expected change
Quote real ratequote_real_raterate · [-0.99, 10](1 + quote rate) / (1 + quote inflation) - 1
Base real ratebase_real_raterate · [-0.99, 10](1 + base rate) / (1 + base inflation) - 1
Real rate differentialreal_rate_differentialrate · [-3, 3]Quote real rate less base real rate
Expected changeexpected_changereturn · [-1, 100]Expected change in the spot rate over a year: (1 + i_q) / (1 + i_b) - 1
Approximate changeapproximate_changerate · [-3, 3]Quote rate less base rate: the change's linear approximation
Real exchange rate and its change (real_exchange_rate): 3 outputs
Outputs of the calculation real_exchange_rate
NameDescription
CalculationcalculationtextReal exchange rate and its change
Real exchange ratereal_exchange_rateratio · (0, 1e+15]Spot times the base price level over the quote price level
Real changereal_changereturn · [-1, 250](1 + spot change)(1 + base inflation)/(1 + quote inflation) - 1

Calculator

Run the model on your own inputs, starting from its example. Rates are decimals: 0.05 is five percent. The run goes to the pyeconomics API on this site: your values travel only in the request, and nothing is stored.

Loading the calculator…

Worked example

Example two_year_forward. Inputs:

{
  "base_rate": 0.03,
  "calculation": "covered_interest_parity",
  "compounding": "continuous",
  "frequency": "annual",
  "quote_rate": 0.01,
  "spot": 0.75,
  "years": 2
}

Outputs:

{
  "calculation": "covered_interest_parity",
  "forward_points": -0.02940792063575759,
  "forward_premium": -0.03921056084767682,
  "forward_rate": 0.7205920793642424
}

Assumptions

  • Exchange rates are in units of the quote currency per unit of the base currency.
  • Interest parity compares money-market investments of equal risk, with both rates compounded the same way over the horizon.
  • Relative PPP and the international Fisher effect compound annually; the Fisher effect is over one year.

Limitations

  • Results are the formulas' outputs for the inputs given, not forecasts or trading advice.
  • Covered interest parity holds up to transaction costs and credit; since 2008 a persistent cross-currency basis has opened gaps the formula does not show.
  • Uncovered interest parity and purchasing power parity fail empirically over short horizons: high-rate currencies tend not to depreciate as uncovered parity predicts, and real exchange rates deviate from PPP for years. Read their outputs as benchmarks.
  • Absolute PPP needs the same basket in both economies; a spot rate more than 101 times the PPP rate raises DomainError.

Evidence

Status: standard. Textbook consensus, such as bond duration or the CAPM formula.

Every model declares one status: standard (textbook consensus), practitioner (a widely used convention), contested (under active debate), rejected (failed out of sample) or historical (a superseded methodology).

Syllabus

The 2027 CFA® Program's topic areas this model relates to, as factual tags. Each links to CFA Institute's page for its level; pyeconomics holds none of the curriculum's text.

Citations

  1. Borio, C., McCauley, R. N., McGuire, P. and Sushko, V. (2016). Covered interest parity lost: understanding the cross-currency basis. BIS Quarterly Review, September 2016. https://www.bis.org/publ/qtrpdf/r_qt1609e.htm (Section "A framework" and Box A (the covered parity condition))
  2. Rogoff, K. (1996). The Purchasing Power Parity Puzzle. Journal of Economic Literature, 34(2), 647-668. https://ideas.repec.org/a/aea/jeclit/v34y1996i2p647-668.html (The definitions of absolute and relative PPP, and the evidence on them)
  3. Fisher, I. (1930). The Theory of Interest. Macmillan. https://www.econlib.org/library/YPDBooks/Fisher/fshToI.html (The relation between money interest and real interest)
  4. Fama, E. F. (1984). Forward and Spot Exchange Rates. Journal of Monetary Economics, 14(3), 319-338. doi:10.1016/0304-3932(84)90046-1 (The regressions of spot changes on the forward premium)

Changelog

  • Version 1: First version.

Use it elsewhere

Documentation
The model's reference page
REST API
GET or POST /v1/models/international.parity_conditions/run
MCP tool
international_parity_conditions, or run_model with the model's id; both give the same result. Connect an assistant
Command line
pyeconomics models run international.parity_conditions --help

The worked example, from Python and from the command line:

Python
import pyeconomics

inputs = {
    "base_rate": 0.03,
    "calculation": "covered_interest_parity",
    "compounding": "continuous",
    "frequency": "annual",
    "quote_rate": 0.01,
    "spot": 0.75,
    "years": 2,
}
result = pyeconomics.run("international.parity_conditions", inputs)
print(result.to_json())
Command line
pyeconomics models run international.parity_conditions --inputs - <<'JSON'
{
  "base_rate": 0.03,
  "calculation": "covered_interest_parity",
  "compounding": "continuous",
  "frequency": "annual",
  "quote_rate": 0.01,
  "spot": 0.75,
  "years": 2
}
JSON