The Consumer Price Index (CPI) measures the cost of living by tracking the prices of goods and services in a typical consumer's basket. The CPI is used to calculate Cost of Living Adjustments and measure inflation. It is computed by collecting price data, choosing a base year, calculating the total cost of the basket in other years, and comparing to the base year. The real interest rate, corrected for inflation, is the nominal interest rate minus the inflation rate.