This browser is too old to run Achievable.

Update it, or open this page in a current version of Chrome, Safari, Firefox or Edge. On an iPhone or iPad, update iOS: every browser there runs on the version of Safari that comes with it.

Achievable logoAchievable logo
AP Macroeconomics
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Resources
Exam catalog
Mountain with a flag at the peak
Textbook
1. Core economic concepts
2. Measurement of economic performance
2.1 Circular flow model
2.2 Gross domestic product
2.3 Components of GDP
2.4 Unemployment
2.5 Inflation
2.6 Price indices and inflation calculations
2.7 Business cycles
3. Modeling of income and prices
4. Financial sector
5. Long-run consequences of stabilization policy
6. Open economy
Achievable logoAchievable logo
2.6 Price indices and inflation calculations
Achievable AP Macroeconomics
2. Measurement of economic performance
Our AP Macroeconomics course is currently in development and is a work-in-progress.

Price indices and inflation calculations

12 min read
Font
Discuss
Share
Feedback

Economists measure inflation using a tool known as a price index. A price index is a weighted average price of all goods and services of the same type over a specific time period and location. Each price index is adjusted so that a specific year has a value of 100, this is called the base year. Then every other year’s value is relative to the base year.

Price indices allow us to compute measures of inflation, convert nominal values into real values, compare purchasing power over time, and compare purchasing power across countries. We will not use the same price index for each application.

Because a price index combines the prices of many goods and services, if the price of a single good or service is higher but every other good and service has the same price, that will only have a small effect on the overall price level.

Here are the three important price indices to know for the AP exam.

Definitions
Consumer Price Index (CPI)
Tracks the retail prices of a fixed basket of goods and services for consumers. Computed by the Bureau of Labor Statistics (BLS). A measure of prices for goods that consumers purchase.
GDP implicit price deflator
Gives a measure of price changes for goods and services captured by GDP. Calculated by the Bureau of Economic Analysis (BEA). A measure of prices for all goods produced in the United States.
Producer Price Index (PPI)
Tracks the prices of the sales of all domestic producers. It is weighted so that it represents the average sales price for all goods. It does not include services.

For the AP exam, PPI mainly shows up as a concept. The Producer Price Index tracks sale prices of all domestic production of goods, not just final goods. It measures prices relevant to revenue for firms, and these need not be the same as the prices paid by any buyers.

Data is collected through monthly surveys of producers, and used to create PPIs for individual products. These are then combined to create PPIs for broader industries and eventually for the entire economy. Either the component PPIs or the overall are sometimes used by firms for things such as price adjustments in multi-year contracts.

For the CPI and GDP implicit price deflator much more is expected, and that is where we turn to next.

Consumer Price Index (CPI)

The Consumer Price Index, abbreviated CPI, tracks the cost of a fixed basket of goods and services over time. The main version that we talk about is the CPI-U, which aims to be representative of the consumption of all urban consumers in the United States. There is a seasonal adjustment applied to monthly and quarterly values, to make inflation calculations more accurate.

The CPI is an index, so the value during the base year is equal to 100. Unfortunately the base year for the CPI is a little confusing, since it is the average of the years 1982-84. This was a time of transition from a period of high inflation to a period of lower inflation, which explains why it is not a single year.

Data is collected for over 200 individual product categories, and turned into indices for sub-categories in a specific city location. These pieces are weighted and added until there is a single value for all goods in the whole country. The weights for products and locations are currently updated every year and there are also complex adjustments to account for changes in product quality.

There are a few important details that are connected to the components of GDP. The first is that the CPI includes imported goods. It is intended to be representative of demand for any good or service.

The second is with regards to housing, in particular how we treat people who own their own home. For the CPI all the costs of owning your own home, maintenance, property taxes and home improvement costs are also not included. That does not mean we ignore owner-occupied housing, it is just included in a special way. For any owner-occupied piece of property, owners’ equivalent rent is an estimated of what a market rent would be. The computation of this is very technical, it is enough to be aware that this piece in particular does not represent actual spending by consumers.

It is unlikely that any random household actually has the spending profile of the CPI, but it is reflective of an imaginary “average” household that leads to the observed total spending. So while it does not measure actual spending, the CPI does provide a measure of the price level from the side of household demand and is useful for calculating inflation rates.

Many contracts and government payments that have inflation-adjustments. For things such as Social Security payments, these adjustments are referred to as Cost of Living Adjustments, COLAs.

Substitution bias

The fixed basket is also the source of the CPI’s best known shortcoming. When the price of one good rises, consumers switch to cheaper alternatives, but a fixed basket keeps counting the same quantities. So the CPI gives too much weight to goods that have become more expensive. This is substitution bias, and it causes the CPI to overstate the true inflation rate. For example, if the price of beef jumps and households buy more chicken instead, their cost of living rises by less than the CPI shows.

GDP implicit price deflator

The GDP implicit price deflator, often shortened to just GDP deflator, is defined to be the ratio of nominal GDP to real GDP multiplied by 100.

GDP Deflator=Real GDPNominal GDP​×100​

This means that if nominal GDP and real GDP are equal, the value of the GDP deflator will be 100. This is only guaranteed to be true for the base year, which is currently 2017.

Rearranging gives us real GDP from nominal GDP and the deflator. For example, if nominal GDP is $30 trillion and the GDP deflator is 120, then real GDP is 12030​×100=25, or $25 trillion in base year dollars.

The CPI is representative of average purchasing behavior of consumers, regardless of where the goods come from. The GDP deflator, on the other hand, looks at price changes for all goods and services produced domestically.

Now imports will not be included and exports will be included. Adjustments for home ownership are not needed. Only actual production of goods in a country’s borders are included.

Inflation rate calculations

With values of any price index in hand, we can calculate total inflation between two periods as a simple growth rate. We multiply that by 100 so that the value is a percentage expressed as a whole number. That is,

Inflation Rate=Indexold​Indexnew​−Indexold​​×100.​

This calculation is most commonly used to compare to values the previous year. If we compute it over multiple years it gives total inflation from the first year up to the last year.

If we calculate the difference from a previous period that is under a year, these values are often annualized. This involves changing it to represent what the rate of change would be if they occurred over a full year. So a change from the previous month would be multiplied by 12, from the previous quarter multiplied by 4.

As an example we can compare the CPI and GDP deflator values. This chart shows quarterly data since 1948, the earliest year available. Each inflation rate is taken by calculating the percentage change from the same quarter in the previous year.

Historical data showing similar inflation values over time for the two measures.
CPI and GDP deflator (1948-2025)
CPI from U.S. Bureau of Labor Statistics and GDP deflator from Bureau of Economic Analysis (retrieved from FRED, Federal Reserve Bank of St. Louis)
/
Public domain

We can see that the values are very similar, with CPI generally having slightly larger movements.

We can also compare inflation in two countries. The chart below gives the annual inflation rates in Argentina and the United States between 2018 and 2024, using each country’s version of the CPI.

Low inflation in the United States, Argentina starting at 50% and rising to over 200%.
Inflation in Argentina versus the United States (2018-2024)
OECD Data Explorer
/
Public domain

Argentina’s values are so high that it makes the US values seem like they are zero. This is in spite of the US experiencing its highest inflation rates since the early 1980s. This is an example we will return to when we talk about exchange rates.

Value comparisons

Additionally, with any price we can convert nominal values into real values. For now this could be the price of a single good, the cost of a project, or any other amount from a single year.

Amount (year 2 $)×Year 2 price indexYear 1 price index​=Amount (year 1 $)Amount (year 1 $)×Year 1 price indexYear 2 price index​=Amount (year 2 $)​

If we have amounts in each year, either of these calculations allow for direct comparisons. Let us go back to the example of a McDonald’s hamburger, which cost $0.15 in 1955 and $2.19 in 2020.

First we will use the CPI as the price index. The CPI values for those two years are 26.80 and 258.86, respectively.

0.15 1955 dollars×26.80258.86​=1.45 2020 dollars2.19 2020 dollars×258.8626.80​=0.23 1955 dollars​

A helpful hint for which value to divide by and which to multiple by is to consider the units. If we start in 1955 dollars we need to divide by an index in 1955 dollars, which cancels out those units. Then multiplying by an index in 2020 dollars leaves the units at 2020 dollars.

We also could compare the growth rates of the CPI and the hamburger.

(0.152.19​−1)×100=1360(26.80258.86​−1)×100=865.9​

So the hamburger price grew at a faster rate than the overall price level. This means that it was relatively more expensive in 2020 compared to 1955. We could also say that it was relatively cheaper in 1955 compared to 2020.

We can also use the GDP deflator, which was 13.80 in 1955 and 105.36 in 2020.

0.15 1955 $×13.80105.36​=1.15 2020 $2.19 2020 $×105.3613.80​=0.29 1955 $​

No matter which conversion we choose the price is higher in 2020. So the price is relatively more expensive, in 2020 compared to 1955.

A small cautionary note. Although we reach the same conclusion this time, we are not guaranteed to reach the same conclusion for a CPI calculation and a similar GDP deflator calculation.

Real wages

Wages are a nominal value, so the same idea applies. A real wage is the nominal wage deflated by the price level, and it measures what a wage can actually buy.

Real wage=Price indexNominal wage​×100​

A worker earning $30 per hour when the price index is 120 has a real wage of 12030​×100=25, or $25 per hour in base year dollars. If nominal wages rise by 3% in a year when prices rise by 5%, the worker has a higher nominal wage but a real wage that has fallen by about 2%.

Final thoughts

Here are a few facts that connect these concepts to how they are reported on in the news and used in the real world. These purely for personal enrichment, and not things that will feature in the AP Macroeconomics exam.

The first is the concept of core inflation. This is defined to be inflation minus food and energy. That is because food and energy specifically are more prone to shocks, such as weather or supply interruptions. Core inflation can be considered to be the inflation that is potentially “controllable” with monetary policy.

The second is that the Federal Reserve measures inflation using a measure we have not yet discussed. They use the Personal Consumption Expenditures deflator, often shortened to PCE deflator. This is calculated using the methodology of the GDP deflator, but only for the consumption portion of GDP.

So it looks at actual consumption spending for all goods regardless of where they are made, unlike the CPI. So exported goods will be ignored and imports purchased by households will be included.

Price Indices Overview

  • Weighted average price of goods/services, set to 100 in a base year; other years relative to it
  • Used to measure inflation, convert nominal to real values, compare purchasing power over time/across countries
  • No single good’s price swing drastically moves the whole index

Three Key Price Indices

  • CPI: fixed basket of consumer goods/services; computed by BLS; base period 1982-84
  • GDP deflator: all goods/services in GDP; computed by BEA; base year 2017
  • PPI: tracks domestic producer sale prices (goods only, not services); used for contract price adjustments

CPI Details

  • CPI-U represents urban consumers; seasonally adjusted
  • Covers 200+ product categories, weighted by city/sub-category, updated annually, quality-adjusted
  • Includes imported goods; excludes direct homeownership costs (uses “owners’ equivalent rent” instead)
  • Reflects an “average” household, not any real household’s spending
  • Used for COLAs (Cost of Living Adjustments) in contracts/Social Security
  • Substitution bias: fixed basket overweights goods that rose in price (consumers substitute to cheaper goods), causing CPI to overstate true inflation

GDP Deflator Details

  • Formula: GDP Deflator=Real GDPNominal GDP​×100
  • Rearranged to find real GDP: Real GDP=DeflatorNominal GDP​×100
  • Only includes domestically produced goods (excludes imports, includes exports); no homeownership adjustment needed

Inflation Rate Calculation

  • Formula: Inflation Rate=Indexold​Indexnew​−Indexold​​×100
  • Sub-year changes (monthly/quarterly) often annualized (×12 or ×4)
  • CPI and GDP deflator trends are historically similar, though CPI shows larger swings
  • Cross-country comparisons possible using each nation’s own CPI (e.g., Argentina vs. US inflation)

Nominal-to-Real Value Conversions

  • Formula: Amount (year 2 $)×Year 2 indexYear 1 index​=Amount (year 1 $)
  • Unit-cancellation trick: divide by index matching current year’s dollars, multiply by target year’s index
  • CPI-based and GDP deflator-based conversions may yield different conclusions about relative price changes

Real Wages

  • Formula: Real wage=Price indexNominal wage​×100
  • Measures actual purchasing power of wages
  • Nominal wage growth can still mean falling real wages if inflation outpaces it

Related Concepts (enrichment, not exam-tested)

  • Core inflation: excludes volatile food and energy prices
  • PCE deflator: Fed’s preferred inflation measure; uses GDP deflator method but only for consumption spending (includes imports, excludes exports)

Sign up for free to take 7 quiz questions on this topic

Previous
Next  | 2.7 Business cycles
All rights reserved ©2016 - 2026 Achievable, Inc.

Price indices and inflation calculations

Economists measure inflation using a tool known as a price index. A price index is a weighted average price of all goods and services of the same type over a specific time period and location. Each price index is adjusted so that a specific year has a value of 100, this is called the base year. Then every other year’s value is relative to the base year.

Price indices allow us to compute measures of inflation, convert nominal values into real values, compare purchasing power over time, and compare purchasing power across countries. We will not use the same price index for each application.

Because a price index combines the prices of many goods and services, if the price of a single good or service is higher but every other good and service has the same price, that will only have a small effect on the overall price level.

Here are the three important price indices to know for the AP exam.

Definitions
Consumer Price Index (CPI)
Tracks the retail prices of a fixed basket of goods and services for consumers. Computed by the Bureau of Labor Statistics (BLS). A measure of prices for goods that consumers purchase.
GDP implicit price deflator
Gives a measure of price changes for goods and services captured by GDP. Calculated by the Bureau of Economic Analysis (BEA). A measure of prices for all goods produced in the United States.
Producer Price Index (PPI)
Tracks the prices of the sales of all domestic producers. It is weighted so that it represents the average sales price for all goods. It does not include services.

For the AP exam, PPI mainly shows up as a concept. The Producer Price Index tracks sale prices of all domestic production of goods, not just final goods. It measures prices relevant to revenue for firms, and these need not be the same as the prices paid by any buyers.

Data is collected through monthly surveys of producers, and used to create PPIs for individual products. These are then combined to create PPIs for broader industries and eventually for the entire economy. Either the component PPIs or the overall are sometimes used by firms for things such as price adjustments in multi-year contracts.

For the CPI and GDP implicit price deflator much more is expected, and that is where we turn to next.

Consumer Price Index (CPI)

The Consumer Price Index, abbreviated CPI, tracks the cost of a fixed basket of goods and services over time. The main version that we talk about is the CPI-U, which aims to be representative of the consumption of all urban consumers in the United States. There is a seasonal adjustment applied to monthly and quarterly values, to make inflation calculations more accurate.

The CPI is an index, so the value during the base year is equal to 100. Unfortunately the base year for the CPI is a little confusing, since it is the average of the years 1982-84. This was a time of transition from a period of high inflation to a period of lower inflation, which explains why it is not a single year.

Data is collected for over 200 individual product categories, and turned into indices for sub-categories in a specific city location. These pieces are weighted and added until there is a single value for all goods in the whole country. The weights for products and locations are currently updated every year and there are also complex adjustments to account for changes in product quality.

There are a few important details that are connected to the components of GDP. The first is that the CPI includes imported goods. It is intended to be representative of demand for any good or service.

The second is with regards to housing, in particular how we treat people who own their own home. For the CPI all the costs of owning your own home, maintenance, property taxes and home improvement costs are also not included. That does not mean we ignore owner-occupied housing, it is just included in a special way. For any owner-occupied piece of property, owners’ equivalent rent is an estimated of what a market rent would be. The computation of this is very technical, it is enough to be aware that this piece in particular does not represent actual spending by consumers.

It is unlikely that any random household actually has the spending profile of the CPI, but it is reflective of an imaginary “average” household that leads to the observed total spending. So while it does not measure actual spending, the CPI does provide a measure of the price level from the side of household demand and is useful for calculating inflation rates.

Many contracts and government payments that have inflation-adjustments. For things such as Social Security payments, these adjustments are referred to as Cost of Living Adjustments, COLAs.

Substitution bias

The fixed basket is also the source of the CPI’s best known shortcoming. When the price of one good rises, consumers switch to cheaper alternatives, but a fixed basket keeps counting the same quantities. So the CPI gives too much weight to goods that have become more expensive. This is substitution bias, and it causes the CPI to overstate the true inflation rate. For example, if the price of beef jumps and households buy more chicken instead, their cost of living rises by less than the CPI shows.

GDP implicit price deflator

The GDP implicit price deflator, often shortened to just GDP deflator, is defined to be the ratio of nominal GDP to real GDP multiplied by 100.

GDP Deflator=Real GDPNominal GDP​×100​

This means that if nominal GDP and real GDP are equal, the value of the GDP deflator will be 100. This is only guaranteed to be true for the base year, which is currently 2017.

Rearranging gives us real GDP from nominal GDP and the deflator. For example, if nominal GDP is $30 trillion and the GDP deflator is 120, then real GDP is 12030​×100=25, or $25 trillion in base year dollars.

The CPI is representative of average purchasing behavior of consumers, regardless of where the goods come from. The GDP deflator, on the other hand, looks at price changes for all goods and services produced domestically.

Now imports will not be included and exports will be included. Adjustments for home ownership are not needed. Only actual production of goods in a country’s borders are included.

Inflation rate calculations

With values of any price index in hand, we can calculate total inflation between two periods as a simple growth rate. We multiply that by 100 so that the value is a percentage expressed as a whole number. That is,

Inflation Rate=Indexold​Indexnew​−Indexold​​×100.​

This calculation is most commonly used to compare to values the previous year. If we compute it over multiple years it gives total inflation from the first year up to the last year.

If we calculate the difference from a previous period that is under a year, these values are often annualized. This involves changing it to represent what the rate of change would be if they occurred over a full year. So a change from the previous month would be multiplied by 12, from the previous quarter multiplied by 4.

As an example we can compare the CPI and GDP deflator values. This chart shows quarterly data since 1948, the earliest year available. Each inflation rate is taken by calculating the percentage change from the same quarter in the previous year.

We can see that the values are very similar, with CPI generally having slightly larger movements.

We can also compare inflation in two countries. The chart below gives the annual inflation rates in Argentina and the United States between 2018 and 2024, using each country’s version of the CPI.

Argentina’s values are so high that it makes the US values seem like they are zero. This is in spite of the US experiencing its highest inflation rates since the early 1980s. This is an example we will return to when we talk about exchange rates.

Value comparisons

Additionally, with any price we can convert nominal values into real values. For now this could be the price of a single good, the cost of a project, or any other amount from a single year.

Amount (year 2 $)×Year 2 price indexYear 1 price index​=Amount (year 1 $)Amount (year 1 $)×Year 1 price indexYear 2 price index​=Amount (year 2 $)​

If we have amounts in each year, either of these calculations allow for direct comparisons. Let us go back to the example of a McDonald’s hamburger, which cost $0.15 in 1955 and $2.19 in 2020.

First we will use the CPI as the price index. The CPI values for those two years are 26.80 and 258.86, respectively.

0.15 1955 dollars×26.80258.86​=1.45 2020 dollars2.19 2020 dollars×258.8626.80​=0.23 1955 dollars​

A helpful hint for which value to divide by and which to multiple by is to consider the units. If we start in 1955 dollars we need to divide by an index in 1955 dollars, which cancels out those units. Then multiplying by an index in 2020 dollars leaves the units at 2020 dollars.

We also could compare the growth rates of the CPI and the hamburger.

(0.152.19​−1)×100=1360(26.80258.86​−1)×100=865.9​

So the hamburger price grew at a faster rate than the overall price level. This means that it was relatively more expensive in 2020 compared to 1955. We could also say that it was relatively cheaper in 1955 compared to 2020.

We can also use the GDP deflator, which was 13.80 in 1955 and 105.36 in 2020.

0.15 1955 $×13.80105.36​=1.15 2020 $2.19 2020 $×105.3613.80​=0.29 1955 $​

No matter which conversion we choose the price is higher in 2020. So the price is relatively more expensive, in 2020 compared to 1955.

A small cautionary note. Although we reach the same conclusion this time, we are not guaranteed to reach the same conclusion for a CPI calculation and a similar GDP deflator calculation.

Real wages

Wages are a nominal value, so the same idea applies. A real wage is the nominal wage deflated by the price level, and it measures what a wage can actually buy.

Real wage=Price indexNominal wage​×100​

A worker earning $30 per hour when the price index is 120 has a real wage of 12030​×100=25, or $25 per hour in base year dollars. If nominal wages rise by 3% in a year when prices rise by 5%, the worker has a higher nominal wage but a real wage that has fallen by about 2%.

Final thoughts

Here are a few facts that connect these concepts to how they are reported on in the news and used in the real world. These purely for personal enrichment, and not things that will feature in the AP Macroeconomics exam.

The first is the concept of core inflation. This is defined to be inflation minus food and energy. That is because food and energy specifically are more prone to shocks, such as weather or supply interruptions. Core inflation can be considered to be the inflation that is potentially “controllable” with monetary policy.

The second is that the Federal Reserve measures inflation using a measure we have not yet discussed. They use the Personal Consumption Expenditures deflator, often shortened to PCE deflator. This is calculated using the methodology of the GDP deflator, but only for the consumption portion of GDP.

So it looks at actual consumption spending for all goods regardless of where they are made, unlike the CPI. So exported goods will be ignored and imports purchased by households will be included.

Key points

Price Indices Overview

  • Weighted average price of goods/services, set to 100 in a base year; other years relative to it
  • Used to measure inflation, convert nominal to real values, compare purchasing power over time/across countries
  • No single good’s price swing drastically moves the whole index

Three Key Price Indices

  • CPI: fixed basket of consumer goods/services; computed by BLS; base period 1982-84
  • GDP deflator: all goods/services in GDP; computed by BEA; base year 2017
  • PPI: tracks domestic producer sale prices (goods only, not services); used for contract price adjustments

CPI Details

  • CPI-U represents urban consumers; seasonally adjusted
  • Covers 200+ product categories, weighted by city/sub-category, updated annually, quality-adjusted
  • Includes imported goods; excludes direct homeownership costs (uses “owners’ equivalent rent” instead)
  • Reflects an “average” household, not any real household’s spending
  • Used for COLAs (Cost of Living Adjustments) in contracts/Social Security
  • Substitution bias: fixed basket overweights goods that rose in price (consumers substitute to cheaper goods), causing CPI to overstate true inflation

GDP Deflator Details

  • Formula: GDP Deflator=Real GDPNominal GDP​×100
  • Rearranged to find real GDP: Real GDP=DeflatorNominal GDP​×100
  • Only includes domestically produced goods (excludes imports, includes exports); no homeownership adjustment needed

Inflation Rate Calculation

  • Formula: Inflation Rate=Indexold​Indexnew​−Indexold​​×100
  • Sub-year changes (monthly/quarterly) often annualized (×12 or ×4)
  • CPI and GDP deflator trends are historically similar, though CPI shows larger swings
  • Cross-country comparisons possible using each nation’s own CPI (e.g., Argentina vs. US inflation)

Nominal-to-Real Value Conversions

  • Formula: Amount (year 2 $)×Year 2 indexYear 1 index​=Amount (year 1 $)
  • Unit-cancellation trick: divide by index matching current year’s dollars, multiply by target year’s index
  • CPI-based and GDP deflator-based conversions may yield different conclusions about relative price changes

Real Wages

  • Formula: Real wage=Price indexNominal wage​×100
  • Measures actual purchasing power of wages
  • Nominal wage growth can still mean falling real wages if inflation outpaces it

Related Concepts (enrichment, not exam-tested)

  • Core inflation: excludes volatile food and energy prices
  • PCE deflator: Fed’s preferred inflation measure; uses GDP deflator method but only for consumption spending (includes imports, excludes exports)

More from Measurement of economic performance

  • Circular flow model
  • Gross domestic product
  • Components of GDP
  • Unemployment
  • Inflation