Purchasing Power
Purchasing Power is what 100 units of a currency at the start of the date range buy in every later period, in the prices of the start: it falls as consumer prices rise, so 74.29 means that money has lost a quarter of its value. It is the inverse of the growth in the Consumer Price Index since the first period of the range (see get_consumer_price_index with cumulative=True), on the same monthly sources by default (period=”yearly” for the Global Macro Database’s annual averages).
With overnight_rate=True, the 100 is not held as banknotes but deposited at the overnight rate of its currency, compounded day by day (see get_overnight_rate with cumulative=True): €STR for the Euro Area and its members, SONIA for the United Kingdom, TONA for Japan and SOFR for the United States. The result is the real value of cash, which stays above 100 only when the interest outpaced inflation. Countries without an overnight rate are left out with a note. A euro member earns €STR over the whole range, also before it adopted the euro.
The formula is as follows:
\[\text{Purchasing Power} (t) = 100 \cdot \text{CPI} (\text{start}) / \text{CPI} (t)\] \[\text{Purchasing Power of Cash} (t) = 100 \cdot \text{Overnight Rate Growth} (t) \cdot \text{CPI} (\text{start}) / \text{CPI} (t)\]CPI (start) is each country’s index in the first period of the date range (its own first period when it starts later). The cash growth starts at 1 on the first day of the range and every month takes it on the last day of the month, next to the index of that same month (the reference month). The index of a month is published some weeks after it ends, so the latest months of the cash growth are left out until their index is published rather than paired with older prices.
Also known as: real value of money, value of money, real value of cash, real return on cash, inflation erosion.
Purchasing Power in Python or via the MCP
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_purchasing_power as shown below.
from financetoolkit import Economics
economics = Economics(start_date='2020-01-01', end_date='2026-09-30')
economics.get_purchasing_power(
countries=['Euro Area', 'Netherlands', 'United States'], overnight_rate=True
).iloc[::12]
Or, after setting up the Finance Toolkit MCP, ask:
How much of its purchasing power did cash earning the overnight rate keep in the euro area, the Netherlands and the United States each January from 2020 to 2026, starting from 100?
Which returns:
| Euro Area | Netherlands | United States | |
|---|---|---|---|
| 2020-01 | 99.9567 | 99.9567 | 100.124 |
| 2021-01 | 98.5071 | 97.8545 | 98.9891 |
| 2022-01 | 93.1777 | 90.4128 | 92.1353 |
| 2023-01 | 85.9347 | 83.578 | 88.3553 |
| 2024-01 | 86.5277 | 83.8851 | 90.2447 |
| 2025-01 | 87.5091 | 84.4527 | 92.2405 |
| 2026-01 | 87.9163 | 84.4219 | 93.9886 |
Parameters
get_purchasing_power accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
countries | list[str] | str | None | The countries to include in the data. Defaults to None, which is every country with a consumer price index, or the Euro Area, Japan, the United Kingdom and the United States with overnight_rate=True. | ["United States", "Germany"] |
period | str | None | Whether to return the monthly or the annual data. Defaults to None, which is the monthly data. The overnight rate is only combined with the monthly data. | "weekly" |
overnight_rate | bool | Whether the 100 earns the overnight rate of its currency instead of being held as banknotes. Defaults to False. | False |
growth | bool | Whether to return the growth data or the actual data. Defaults to False. | True |
lag | int | The number of periods to lag the data by. Defaults to 1. | 4 |
rounding | int | None | The number of decimals to round the results to. Defaults to None. | 2 |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |