The full academy launches January 2027. Join the waitlist for the $179 founding price.
Waldbauer Academy of Economics

Courses › Principles of Macroeconomics

First year · Module 3 of 15

The cost of living: price indexes and inflation

Building the CPI, its biases, real wages and real interest rates, and why central banks target 2%.

By Maximus S. Waldbauer · About 3 hours, including the problem set and quiz.

Your grandparents may remember a movie ticket for a couple of dollars. Was life cheaper then? Not necessarily: wages were lower too. To compare money across time, or to know whether your raise kept up with prices, you need a way to measure the overall price level. That’s what price indexes do.

This module shows how the consumer price index is built, how to turn it into an inflation rate, why it isn’t perfect, how to adjust wages and interest rates for inflation, and why central banks aim for about 2% inflation rather than zero.

By the end of this module you will be able to

What this module covers

  1. Measuring the price level: the CPI
  2. From price index to inflation rate
  3. Is the CPI accurate?
  4. Correcting for inflation
  5. The costs of inflation
  6. Problem set with step-by-step solutions
  7. Module quiz

Lesson 3.1 Free lesson

Measuring the price level: the CPI

The consumer price index (CPI) measures the cost of a fixed basket of goods and services bought by a typical household, compared with the cost of the same basket in a base period. In Canada it is published monthly by Statistics Canada; in the United States, by the Bureau of Labor Statistics.

Five steps to a price index

Worked example: A three-item basket

Basket: 10 lattes, 2 movie tickets, 1 month of a phone plan.

Base year prices: latte $4, ticket $15, phone plan $50. Cost = 40 + 30 + 50 = $120.

This year: latte $4.40, ticket $15, phone plan $54. Cost = 44 + 30 + 54 = $128.

CPI this year = 128 ÷ 120 × 100 ≈ 106.7. Prices are about 6.7% higher than in the base year.

Because the basket is fixed, items people spend more on get more weight automatically. Shelter (rent, mortgage interest, property taxes, and other housing costs) is the biggest category, roughly a third of the US CPI and somewhat less than that in Canada. A 10% jump in rent moves the index far more than a 10% jump in the price of coffee.

The full module has an interactive graph here that you can move yourself.

Common mistake

The CPI’s base year value of 100 doesn’t mean prices were “normal” then, and a CPI of 160 doesn’t mean things cost $160. The level of an index means nothing by itself; only comparisons between periods do.

Key ideas

  • The CPI is the cost of a fixed basket today relative to a base period, times 100.
  • Items get weight according to how much households spend on them.
  • Shelter is the largest single category.

Practice questions: The cost of living: price indexes and inflation

Try these, then open each answer to check your work.

  1. 1.The CPI measures:
    1. The cost of a fixed basket of consumer goods relative to a base year
    2. The prices of everything produced in the country in a year
    3. The total amount households spend on goods and services
    4. The average hourly wage paid to workers across the economy
    Show answer

    Answer: A. The CPI prices a fixed consumer basket and compares its cost with a base period.

  2. 2.The CPI rises from 200 to 206. Inflation is:
    1. 2%
    2. 3%
    3. 4%
    4. 6%
    Show answer

    Answer: B. (206 − 200) ÷ 200 = 3%.

  3. 3.Inflation falls from 5% to 2%. This is called:
    1. Deflation
    2. Hyperinflation
    3. Stagflation
    4. Disinflation
    Show answer

    Answer: D. Prices still rise, but more slowly: disinflation.

Problems with step-by-step solutions

  1. 4.A basket contains 20 loaves of bread and 5 bus passes. In the base year bread is $3 and a pass is $40. This year bread is $3.30 and a pass is $42. Calculate the CPI for this year.
    Show step-by-step solution
    1. Base-year cost = 20 × 3 + 5 × 40 = 60 + 200 = $260.
    2. This year’s cost = 20 × 3.30 + 5 × 42 = 66 + 210 = $276.
    3. CPI = 276 ÷ 260 × 100 ≈ 106.2.
  2. 5.The CPI was 152.0 last year and 157.3 this year. What is the inflation rate?
    Show step-by-step solution
    1. Inflation = (157.3 − 152.0) ÷ 152.0 × 100.
    2. 5.3 ÷ 152.0 ≈ 0.0349.
    3. Inflation ≈ 3.5%.

Get the full module

The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).

Join the waitlist Try a full module free

More practice: free practice questions for this course.