Consumer Price Index (CPI) vs GDP Deflator
Consumer Price Index (CPI) and GDP Deflator are two Measuring the Economy concepts in AP Economics that students often mix up. The Consumer Price Index (CPI) is a price index tracking the cost of a fixed basket of goods a typical household buys, with the base year set to 100. The GDP deflator is a measure of the level of prices of all new, domestically produced, final goods and services in an economy. Here is how they compare side by side.
The Consumer Price Index (CPI) is a statistical measure that tracks the weighted average of prices of a basket of goods and services consumed by households. It is used to measure inflation, which is a sustained increase in the general price level of goods and services in an economy. The CPI is calculated by comparing the current prices of the basket of goods and services to a base period. This helps to determine the percentage change in prices over time.
It is calculated as the ratio of nominal GDP to real GDP, multiplied by 100, and shows how much prices have changed since the base year. It is a broad measure of inflation that includes all goods and services in GDP, unlike the CPI which uses a fixed basket.
CPI vs GDP Deflator: What Each One Actually Measures
| Consumer Price Index (CPI) | GDP Deflator | |
|---|---|---|
| What it prices | A fixed basket of goods households buy | Every final good and service counted in GDP |
| Imported goods | Included when consumers buy them | Excluded, only domestic production counts |
| Capital goods and government purchases | Excluded | Included |
| Basket weights | Fixed at base-year quantities | Current-period quantities, reweighted each period |
| Formula | Cost of basket now / cost in base year × 100 | Nominal GDP / real GDP × 100 |
| Main exam use | Finding the inflation rate and indexing wages | Converting nominal GDP into real GDP |
What each index covers
The CPI tracks the price of a fixed market basket of goods and services that a typical household buys, so it is built to measure the cost of living. The GDP deflator tracks the prices of everything counted in GDP, which means consumption plus investment goods, government purchases and exports, with imports netted out. That difference in coverage cuts both ways. Capital equipment bought by firms and goods bought by the government show up in the deflator but not in the CPI, while imported consumer goods show up in the CPI but are stripped out of the deflator, because GDP counts only domestic production. Both indexes equal 100 in the base year, since in the base year the basket costs what it cost and nominal GDP equals real GDP, and both are turned into an inflation rate the same way: take the change in the index, divide by the earlier index, and multiply by 100.
Fixed basket versus changing basket
The CPI holds quantities fixed at base-year levels and reprices that same basket each period, which makes it a fixed-basket, or Laspeyres, index, and although the official statistic does refresh its weights periodically, AP and IB treat it as fixed. The GDP deflator uses current-period quantities instead, because it is nominal GDP divided by real GDP and nominal GDP already reflects what the economy actually produced this period, which makes it a current-weighted, or Paasche, index. The consequence is a bias in each direction. Because the CPI basket does not update when consumers substitute away from goods whose prices rose, it tends to overstate the true increase in the cost of living, a problem called substitution bias. The deflator does not share that upward bias, since substitution shows up in its weights automatically, but a current-weighted index tends to err the other way and understate the rise in living costs, and any movement in the deflator mixes price changes together with changes in the composition of output.
Why the two can tell different stories
Because they cover different goods, the CPI and the deflator do not have to move together, and the gap between them is often the exam question. A jump in the price of imported oil raises the CPI directly, since households pay for imported fuel, but imported goods are not domestic output, so the deflator moves only to the extent domestic producers pass higher fuel costs into the prices of the goods they make at home. A jump in the price of domestically produced machinery does the reverse: it lifts the deflator while leaving the CPI untouched, because households do not buy machine tools. The other frequent slip is reaching for the wrong index. Real GDP is found by dividing nominal GDP by the GDP deflator and multiplying by 100, never by the CPI, while cost-of-living adjustments and real wage calculations are CPI jobs. You can work through both at /calculate/gdp-deflator and /calculate/inflation-rate.
Frequently asked questions
What is the difference between the CPI and the GDP deflator?
The CPI measures the price of a fixed basket of goods bought by households and includes imports, while the GDP deflator measures the prices of all final goods and services produced domestically, including investment goods and government purchases. The CPI holds base-year quantities fixed, whereas the deflator uses current-period quantities because it equals nominal GDP divided by real GDP, times 100.
Does the GDP deflator include imports?
No, the GDP deflator covers only goods and services produced inside the country, so imports are excluded, while the CPI includes the imported goods households buy. That is why a spike in the price of imported oil shows up far more strongly in the CPI than in the deflator.
Which is better for measuring inflation, the CPI or the GDP deflator?
Neither is better outright, because they answer different questions: use the CPI when you care about the cost of living for households, since that is the basket it prices, and use the GDP deflator when you want the broadest measure of price change across everything the economy produces. Central banks and statistical agencies publish both for that reason.
How do you calculate the GDP deflator?
Divide nominal GDP by real GDP and multiply by 100. If nominal GDP is $22 trillion and real GDP measured in base-year prices is $20 trillion, the deflator is 110, meaning the price level is 10 percent higher than in the base year.
Related comparisons
Get AP Econ exam tips in your inbox
Occasional emails with study tips, new interactive graphs, and exam-season reminders. Free, no spam.
No spam. Unsubscribe anytime. Read our privacy policy.
Keep track of what you have studied
A free EconLearn account adds progress tracking, your quiz history, and achievements. Studying here is free either way, and there is nothing to pay for as a student.
Create a free accountAlready have one? Sign in
Last updated