---
title: "CPI — AP Macro Definition, Formula & Exam Guide"
description: "CPI measures the cost of a fixed basket of goods relative to a base year. Learn how AP Macro tests CPI calculations, inflation rates, and substitution bias."
canonical: "https://fiveable.me/ap-macro/key-terms/cpi"
type: "key-term"
subject: "AP Macroeconomics"
unit: "Unit 2"
---

# CPI — AP Macro Definition, Formula & Exam Guide

## Definition

The consumer price index (CPI) measures the cost of a fixed basket of goods and services in a given year relative to a base year, showing how much income a consumer would need to maintain the same standard of living as prices change (AP Macro Topic 2.4, EK MEA-1.F.1 and MEA-1.F.2).

## What It Is

The [consumer price index](/ap-macro/unit-2/price-indices-inflation/study-guide/K57UNh4rO3CE0MWoONLh "fv-autolink") (CPI) tracks how the cost of living changes over time. Statisticians pick a fixed "basket" of goods and services that a typical household buys, then price that same basket year after year. The CPI for any year is the cost of the basket that year relative to its cost in a [base year](/ap-macro/key-terms/base-year "fv-autolink") (the base year index is set to 100). If the CPI is 120, the basket costs 20% more than it did in the base year.

In plainer terms, CPI answers one question. How much more income would you need today to live exactly as well as you did in the base year? That's why CPI is the go-to index for measuring inflation from the consumer's side. The [inflation rate](/ap-macro/key-terms/inflation-rate "fv-autolink") is just the percentage change in a price index like CPI (EK MEA-1.F.3). One catch the CED wants you to know is that the basket is *fixed*. Real consumers swap toward cheaper substitutes when prices rise, but the CPI basket doesn't, so CPI tends to overstate true inflation. That's called substitution bias (EK MEA-1.G.1).

## Why It Matters

CPI lives in **Topic 2.4 (Price Indices and Inflation)** in **[Unit 2](/ap-macro/unit-2 "fv-autolink"): Economic Indicators and the Business Cycle**, and it carries four learning objectives by itself. You have to define it (2.4.A), explain how price indices convert nominal values across time (2.4.B), actually calculate CPI, the inflation rate, and [real variables](/ap-macro/key-terms/real-variables "fv-autolink") (2.4.C), and identify its shortcomings as a true inflation measure (2.4.D). It's also the bridge between Unit 2's measurement tools and everything that comes later. Inflation rates built from CPI feed into real vs. nominal distinctions, the Phillips curve, and monetary policy decisions. If you can't compute a percentage change in CPI quickly, a lot of later material gets harder than it needs to be.

## Connections

### [GDP deflator (Unit 2)](/ap-macro/key-terms/gdp-deflator)

Both are price indices, but they measure different baskets. CPI prices a fixed consumer basket, while the [GDP deflator](/ap-macro/key-terms/gdp-deflator "fv-autolink") prices everything produced domestically. The exam loves asking what makes them diverge, like a spike in imported goods prices, which hits CPI but not the GDP deflator.

### [Real variables (Unit 2)](/ap-macro/key-terms/real-variables)

CPI is the tool you use to strip inflation out of nominal numbers. Dividing a nominal value by the [price index](/ap-macro/key-terms/price-index "fv-autolink") (and multiplying by 100) converts it to real terms, which is the only honest way to compare wages or incomes across years.

### [Inflation expectations (Unit 5)](/ap-macro/key-terms/inflation-expectations)

CPI gives you measured inflation, and what people expect that number to be drives wage demands and shifts the short-run Phillips curve. Unit 2's measurement skill becomes [Unit 5](/ap-macro/unit-5 "fv-autolink")'s behavioral story.

### [Central Bank (Unit 4)](/ap-macro/key-terms/central-bank)

Central banks watch CPI-based inflation rates when setting monetary policy. When CPI inflation runs hot, expect contractionary policy. The number you calculate in Topic 2.4 is the number policymakers react to in Unit 4.

## On the AP Exam

CPI shows up almost entirely as calculation and interpretation questions. The classic multiple-choice stem gives you two index values and asks for the inflation rate. For example, if CPI rises from 240 to 252, the inflation rate is (252 − 240) / 240 × 100 = 5%. Other common stems test what's in the basket (consumer goods and services, not business equipment or exports), who gets hurt by unexpected inflation (a retiree on a fixed $2,000 pension loses purchasing power when CPI jumps from 180 to 198), and why CPI and the GDP deflator can disagree. The shortcomings question is reliable too. Know that substitution bias makes CPI overstate true inflation. One thing you don't need is the producer price index calculation, which the CED explicitly excludes from the exam.

## CPI vs GDP deflator

CPI measures the price of a fixed basket of goods a typical consumer buys, including imports. The GDP deflator measures prices of everything produced domestically, including capital goods and exports, but excluding imports, and its basket changes with current production. Quick test for MCQs. If oil imports get pricier, CPI rises more than the deflator. If domestically produced machinery gets pricier, the deflator moves but CPI barely does.

## Key Takeaways

- CPI measures the cost of a fixed basket of consumer goods and services in a given year relative to a base year, where the base year index equals 100.
- The inflation rate is the percentage change in a price index, so a CPI move from 240 to 252 means 5% inflation.
- CPI overstates true inflation because of substitution bias, since the fixed basket ignores consumers switching to cheaper alternatives when prices rise.
- Use CPI to convert nominal variables into real variables, which lets you compare income or wages across different years fairly.
- CPI tracks consumer purchases including imports, while the GDP deflator tracks all domestic production, so import price shocks make the two indices diverge.
- Unexpected inflation measured by CPI hurts people on fixed incomes, like a retiree whose pension stays at $2,000 while prices climb 10%.

## FAQs

### What is CPI in AP Macro?

CPI (consumer price index) measures the cost of a fixed basket of goods and services in a given year relative to a base year. It tells you how much income a consumer would need to keep the same standard of living as prices change, and it's the main index used to calculate inflation in Topic 2.4.

### How do you calculate the inflation rate from CPI?

Take the percentage change between two years of the index. The formula is (new CPI − old CPI) / old CPI × 100. If CPI goes from 240 to 252, inflation is 12/240 × 100 = 5%.

### Is CPI a perfectly accurate measure of inflation?

No, and the CED says so directly. CPI suffers from substitution bias because its basket is fixed, so it ignores consumers swapping toward cheaper goods when prices rise. That makes CPI overstate the true inflation rate (EK MEA-1.G.1).

### What's the difference between CPI and the GDP deflator?

CPI prices a fixed basket of consumer goods, including imports, while the GDP deflator prices all domestically produced output and excludes imports. An import price shock (like oil) raises CPI but not the deflator, which is exactly the divergence scenario the exam asks about.

### Do I need to know how to calculate the PPI for the AP Macro exam?

No. The CED explicitly excludes calculating the producer price index from the course and exam. You only need to calculate CPI, the inflation rate, and changes in real variables (LO 2.4.C).

## Related Study Guides

- [2.4 Price Indices and Inflation](/ap-macro/unit-2/price-indices-inflation/study-guide/K57UNh4rO3CE0MWoONLh)

## Structured Data

```json
{"@context":"https://schema.org","@graph":[{"@type":"LearningResource","@id":"https://fiveable.me/ap-macro/key-terms/cpi#resource","name":"CPI — AP Macro Definition, Formula & Exam Guide","url":"https://fiveable.me/ap-macro/key-terms/cpi","learningResourceType":"Concept explainer","educationalLevel":"AP® / High School","about":{"@id":"https://fiveable.me/ap-macro/key-terms/cpi#term"},"audience":{"@type":"EducationalAudience","educationalRole":"student"},"dateModified":"2026-06-11T05:27:23.516Z","isPartOf":{"@type":"Collection","name":"AP Macroeconomics Key Terms","url":"https://fiveable.me/ap-macro/key-terms"},"publisher":{"@type":"Organization","name":"Fiveable","url":"https://fiveable.me"}},{"@type":"DefinedTerm","@id":"https://fiveable.me/ap-macro/key-terms/cpi#term","name":"CPI","description":"The consumer price index (CPI) measures the cost of a fixed basket of goods and services in a given year relative to a base year, showing how much income a consumer would need to maintain the same standard of living as prices change (AP Macro Topic 2.4, EK MEA-1.F.1 and MEA-1.F.2).","url":"https://fiveable.me/ap-macro/key-terms/cpi","inDefinedTermSet":{"@type":"DefinedTermSet","name":"AP Macroeconomics Key Terms","url":"https://fiveable.me/ap-macro/key-terms"}},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is CPI in AP Macro?","acceptedAnswer":{"@type":"Answer","text":"CPI (consumer price index) measures the cost of a fixed basket of goods and services in a given year relative to a base year. It tells you how much income a consumer would need to keep the same standard of living as prices change, and it's the main index used to calculate inflation in Topic 2.4."}},{"@type":"Question","name":"How do you calculate the inflation rate from CPI?","acceptedAnswer":{"@type":"Answer","text":"Take the percentage change between two years of the index. The formula is (new CPI − old CPI) / old CPI × 100. If CPI goes from 240 to 252, inflation is 12/240 × 100 = 5%."}},{"@type":"Question","name":"Is CPI a perfectly accurate measure of inflation?","acceptedAnswer":{"@type":"Answer","text":"No, and the CED says so directly. CPI suffers from substitution bias because its basket is fixed, so it ignores consumers swapping toward cheaper goods when prices rise. That makes CPI overstate the true inflation rate (EK MEA-1.G.1)."}},{"@type":"Question","name":"What's the difference between CPI and the GDP deflator?","acceptedAnswer":{"@type":"Answer","text":"CPI prices a fixed basket of consumer goods, including imports, while the GDP deflator prices all domestically produced output and excludes imports. An import price shock (like oil) raises CPI but not the deflator, which is exactly the divergence scenario the exam asks about."}},{"@type":"Question","name":"Do I need to know how to calculate the PPI for the AP Macro exam?","acceptedAnswer":{"@type":"Answer","text":"No. The CED explicitly excludes calculating the producer price index from the course and exam. You only need to calculate CPI, the inflation rate, and changes in real variables (LO 2.4.C)."}}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"AP Macroeconomics","item":"https://fiveable.me/ap-macro"},{"@type":"ListItem","position":2,"name":"Key Terms","item":"https://fiveable.me/ap-macro/key-terms"},{"@type":"ListItem","position":3,"name":"Unit 2","item":"https://fiveable.me/ap-macro/unit-2"},{"@type":"ListItem","position":4,"name":"CPI"}]}]}
```
