Inflation and change
When comparing dollar amounts over time, it is important to account for inflation, or the rate at which values naturally change. Here we’ll use Excel to convert nominal values (i.e. numbers written down in a specific year) to real values (i.e. numbers scaled up or down to a specific year).
Here’s what we’ll do:
- Convert nominal values to real values
- Rescale the CPI to a different year
- Calculate inflation rate
- Calculate average inflation over time
- Deal with compounding inflation
You can download this Excel file to follow along:
You can also download this completed version:
The data we’ll use comes from the Federal Reserve’s FRED database (the St. Louis Fed office is responsible for maintaining Fed economic statistics).
- GDP (nominal)
- GDP deflator
- CPI
- Personal income (nominal)
- Population
- Personal income per capita (nominal)
- Health expenditures per capita (nominal)
Converting nominal values to real values
To convert nominal values (the numbers written down at the time) to real values (the numbers in today’s / another year’s dollars), use this formula. When dealing with dollar amounts in the United States, the price index is typically the CPI. Other databases will have different kinds of price indexes, often called “deflators” (like the World Bank’s GDP deflator).
Shifting CPI
Use this formula to shift the price index to a different year:
Inflation rate
The inflation rate is the percent change in CPI between two periods. The formula for percent change is fairly simple—just remember NOO!
or
Pay attention to the time periods in data from FRED. Datasets like GDP are reported quarterly, while the CPI is monthly. If you need to calculate the annual change (or annual inflation), make sure you either (1) use the same month or quarter as your current and previous times (i.e. January 2016 and January 2017), or (2) add all the percent changes within the year (i.e. add the rates from January 2016, April 2016, July 2017, and October 2017).
Compounding inflation (CAGR)
The compound average growth rate (CAGR) is the percent that if the CPI had grown at that rate, compounded, from the start year to the end year, the same CPI would occur in the end year. To calculate this, use the formula for compounding interest, where
If we assume interest is compounded once a year,
We can rearrange the formula so that
Alternatively, instead of assuming annually compounding interest, we can also assume exponential growth (or continually compounding interest), which uses the following formula (again where
Or
We can again rearrange the formula so that
In the video, we calculate the compound annual growth rate of inflation. We also answer the following questions:
According to the US Census, the median home price in 1990 was $125,000. In 2018, it was $329,600.
- What was the nominal percent change in housing prices?
- What was the real percent change in housing prices?
- What was the average yearly rate of change in housing prices?