What Is the CPI, Types, and How to Calculate It (2026 Guide)

August 18, 2025

The Consumer Price Index (CPI) is a crucial tool in the modern economy, for example, for measuring changes in the prices of goods and services consumed by households. It is a fundamental metric that allows governments, businesses, and consumers to understand changes in the cost of living and make informed decisions. In the following article, we’ll explain—with examples—what the CPI is, how it’s calculated, when it’s used, and why it’s so important. 

How much could you earn if you started investing today? Find out here.

What is IPC?

The Consumer Price Index (CPI) is a measure that tracks changes in the prices of a selection of goods and services in a specific region over a given period. It is used to understand how price fluctuations affect the cost of living. The selection of goods and services included in the CPI reflects typical household consumption and includes items such as food, clothing, fuel, transportation, and various services.

What is the Consumer Price Index used for?

The CPI is a multifaceted tool that plays a crucial role in both the economy and daily life. Its uses range from measuring inflation to estimating the cost of living and adjusting wages. We’ll explain its uses in more detail below:

  • Measuring inflation: The CPI is essential for assessing inflation—which represents the general rise in prices within an economy—as it reflects the cost of living. 
  • Statistics and national accounts: In the compilation of economic statistics and national accounts, the CPI provides key data for understanding market trends and overall economic activity.
  • Adjustment of debts and court-ordered payments: In some cases, the CPI is used to adjust the net value of debts or court-ordered payments, ensuring that their purchasing power is maintained over time.
  • Cost-of-living estimate: Helps estimate the cost of living by reflecting the prices of goods and services commonly purchased by a typical family. 
  • Impact on finances: Price changes, as reflected by the CPI, have a direct impact on personal and corporate finances. Understanding these fluctuations is crucial for effective financial management.
  • Geographic Cost of Living Index: This index allows for comparisons of the cost of living across different geographic areas, making it particularly useful for individuals and businesses considering a relocation.
  • Review of wage clauses: In certain cases, the CPI is used as a benchmark for adjusting wages, ensuring that workers’ purchasing power is maintained in the face of price changes.
How much could you earn if you started investing today? Find out here.

Types of CPI

The CPI comes in various forms and is calculated based on different factors and time periods:

  • Harmonized CPI: This is the original CPI calculation and is used uniformly by all European Union countries. The European Central Bank provides the guidelines for its calculation, thereby ensuring consistent comparability among member states.
  • Core CPI: This index excludes the most volatile items, such as unprocessed food and energy products. By removing these items, a more stable measure is obtained, which helps capture price trends.

In addition to these different types of CPI, the calculation can be based on different time periods:

  • Monthly CPI: This figure is calculated monthly by the relevant statistical agency, providing a snapshot of changes in the prices of goods and services over a one-month period.
  • Preliminary CPI: This is an advance estimate of the CPI that the statistics agency also releases at the end of each month, providing an early indication of the direction in which prices are moving.
  • Annual CPI: This measures the change in prices over a calendar year.
  • Year-over-year CPI: Represents the change in prices over the past 12 months. For example, from May 2021 to April 2022.

What is the CPI formula?

The formula for calculating the CPI is as follows:

CPI = (New prices × New quantities) / (Previous prices × Previous quantities) × 100

How is the CPI calculated?

The CPI can be calculated as follows:

Step 1. Defining the basket of goods and services

A wide variety of products is selected to represent typical household consumption in the country. The basket is updated periodically to reflect changes in consumption patterns.

Step 2. Price Collection

Prices for the items in the basket are collected from a representative sample of retail establishments. Various data collection methods are used, such as in-person visits to stores, telephone calls, and barcode scanning. Retail prices are taken into account, including taxes and discounts.

Step 3. Calculating the index

The average price of each item in the basket is calculated, and these average prices are compared with those from the base period (reference year). The mathematical formula mentioned above is then used to calculate its value.

Step 4. Release of the CPI

The CPI is published monthly by the statistics agency. The report includes the overall CPI index as well as the indices for each of the major categories.

CPI data is used to measure inflation, adjust wages and contracts, and make economic decisions.

How is the CPI interpreted?

The Consumer Price Index (CPI) is a measure that tracks changes in the price level of a basket of goods and services typically purchased by households. It is primarily used to assess changes in the cost of living and serves as a key tool for economic decision-making at both the government and business levels. Here is a detailed explanation of how to interpret the CPI:

Components of the CPI

  1. Basket of Goods and Services:
    • The basket includes a variety of goods and services that reflect typical household spending. This may include food, clothing, housing, transportation, healthcare, entertainment, etc.
  2. Relative Weights:
    • Each category of goods and services in the basket has a specific weight that reflects its relative importance in total household spending. For example, if families spend more on housing than on entertainment, housing will have a greater weight in the CPI.
  3. Basis for Comparison:
    • The CPI is calculated relative to a base year, which serves as a reference point. Prices for goods and services in this base year are set at 100, and changes in prices are compared to this level.

Calculation of the CPI

The CPI is calculated using the following formula:

CPI = (Total Cost of the Basket in the Current Year / Total Cost of the Basket in the Base Year)×100\text{CPI} = \left( \frac{\text{Total Cost of the Basket in the Current Year}}{\text{Total Cost of the Basket in the Base Year}} \right) \times 100CPI=(Total Cost of the Basket in the Base Year - Total Cost of the Basket in the Current Year) × 100

For example, if the total cost of the basket of goods and services in the base year is $500 and in the current year is $550, the CPI would be:

CPI = (550/500) × 100 = 110\text{CPI} = \left( \frac{550}{500} \right) \times 100 = 110CPI = (500/550) × 100 = 110

This means that prices have risen by 10% since the base year.

Interpretation of the CPI

  1. Inflation:
    • A rise in the CPI indicates inflation, that is, a general increase in the prices of goods and services.
    • For example, if the CPI rises from 100 to 105 over the course of a year, this indicates an inflation rate of 5%.
  2. Deflation:
    • A decline in the CPI indicates deflation, that is, a general decrease in the prices of goods and services.
    • For example, if the CPI drops from 100 to 95, this indicates a 5% decline.
  3. Price Stability:
    • If the CPI remains stable, it means that overall prices for goods and services are not changing significantly, which is an indicator of economic stability.

Use of the CPI

  1. Monetary Policy:
    • Central banks use the CPI to make decisions about interest rates. High inflation can lead to higher interest rates to cool down the economy, while low inflation can lead to lower rates to stimulate spending and investment.
  2. Salary Adjustments:
    • The CPI is used to adjust wages and pensions, ensuring that incomes maintain their purchasing power during periods of inflation.
  3. Contracts and Rentals:
    • Some rental contracts and other financial agreements are indexed to the CPI to adjust payments for inflation.
  4. Measuring Purchasing Power:
    • The CPI helps measure how changes in prices affect consumers' purchasing power, allowing for comparisons over time and across different regions.

Limitations of the CPI

  1. Fixed Basket:
    • The basket of goods and services is updated periodically, but it may not reflect rapid changes in consumption patterns.
  2. Regional Variability:
    • The CPI may not capture price differences between different regions within a country.
  3. Changes in Quality:
    • It does not always adequately account for changes in the quality of products and services.

Example of CPI Interpretation

Suppose a country’s CPI in the base year (2015) is 100. In 2020, the CPI is 115. This indicates that, on average, prices for the basket of goods and services have risen by 15% compared to 2015. This increase may be due to various factors, such as rising production costs, changes in supply and demand, and economic policies.

  • Annual Inflation: By breaking down the increase in the CPI between 2015 and 2020, we can calculate the average annual inflation rate. For example, a 15% increase over five years translates to an average annual inflation rate of approximately 2.8%.

Impact of the CPI on the economy 

Because the CPI provides a rough estimate of the cost of living for people in a country or region, its impact on the economy is broad and multifaceted, encompassing both positive and negative aspects:

  • Measuring inflation: The CPI is the primary tool for measuring inflation—that is, the general and sustained rise in prices over time. This information enables governments and central banks to make decisions regarding monetary and fiscal policy in order to control inflation and maintain economic stability.
  • Indexing of economic variables: The CPI is used as a benchmark for adjusting various economic values, such as wages, pensions, contracts, and rents. The aim is to protect people’s purchasing power against inflation.
  • Economic decision-making: This indicator is essential for companies and investors to make strategic decisions. For example, companies use it to adjust their selling prices, and investors use it to assess the risk and profitability of their projects.
  • Loss of purchasing power: When the CPI rises, consumers’ purchasing power declines, meaning that they can buy less with the same amount of money. All of this negatively affects the well-being of families, especially those with lower incomes.
  • Economic distortions: The CPI does not always accurately reflect the reality of the cost of living, since the basket of goods and services is not constantly adjusted to changes in consumer habits. As a result, economic distortions arise, such as the overvaluation or undervaluation of certain products or services.
  • Economic uncertainty: A high CPI almost always creates uncertainty among economic actors, directly affecting investment and consumption.

Example of the calculation of the Consumer Price Index

To better understand how the CPI is calculated, let’s look at a practical example. Suppose we have a basket of goods and services with the following data:

Product

Base-year price... $100

Price this year... $110

Weighting... 0.5

Food... $200

Housing:

$ 220

0.3

Transportation:

$ 50

$ 60

0.2

Step 1: Calculate the average price of each product for the current year

  • Meals: $110
  • Housing: $220
  • Transportation: $60

Step 2: Compare average prices with those of the base year

  • Food: $110 - $100 = $10 (increase)
  • Housing: $220 - $200 = $20 (increase)
  • Transportation: $60 - $50 = $10 (increase)

Step 3: Calculate the CPI index

CPI = ((110 + 220 + 60) / (100 + 200 + 50)) × 100 = 112.5

In this case, the CPI would be 112.5%, meaning that prices for the basket of goods and services have risen by 12.5% since the base year.

It is important to note that this is a highly simplified example. In practice, the CPI is calculated using a much broader basket of goods and services, and more complex statistical methods are used to weigh the importance of each item in household consumption.

How can you keep the CPI from affecting your portfolio?

Inflation, economic crises, the CPI, and various other factors threaten to erode your purchasing power and your family budget; therefore, diversifying your portfolio with alternative investments is more important than ever. At Domoblock, we offer you the opportunity to invest in real estate—a tangible asset with a proven track record of withstanding inflation.

Why does investing in real estate with Domoblock protect your portfolio—for example, from inflation?

  • Historical returns: The real estate sector has proven to be a profitable long-term investment, with returns that consistently outpace inflation.
  • Protection against inflation: The value of real estate tends to increase over time, which means your investment is protected against the erosion of purchasing power.
  • Diversification: Investing in real estate allows you to diversify your portfolio and reduce your exposure to other assets, such as stocks or bonds.
  • Profitable passive income: Rent provides you with a steady stream of passive income, which can help you cover your discretionary expenses or reinvest to grow your wealth.

If you're thinking you don't even know where to start or that you don't have enough money, let me tell you that thanks to Domoblock, this is easier than ever:

  • Minimum investment: Starting at just €200, you can become a co-owner of carefully selected real estate assets.
  • Return on Investment: We offer an annual return of over 10% on a secure investment.
  • Simple process: Sign up, verify your identity, and make your investment in just a few minutes.
  • Blockchain technology: The security and transparency of all transactions are guaranteed by blockchain technology.
  • Return on Investment: You can recoup your investment in less than 8 months. 

Want to protect your portfolio and build a more secure financial future? Invest in real estate with Domoblock today. It’s a platform specializing in real estate crowdfunding and the tokenization of real estate.

Conclusion 

In conclusion, understanding what the CPI is, what inflation is, how to calculate them, and how they affect us—whether at the household or business level—is essential for maintaining good financial health. If we don’t understand how the economy we live in works, we will always be at the mercy of its fluctuations and crises; therefore, it is also very important to start investing or diversifying your investment portfolio.

How much could you earn if you started investing today? Find out here.

Sergio Navarro

Expert in blockchain, investments, and personal finance.

Share on social media

Do you like what you’re reading?

Subscribe to Our Newsletter

Do you like what you’re reading?

Subscribe to our newsletter!

Valencia | San Francesc

Convento San Francesc, 5

Funded
House flipping
DOMO-VLC-32

Funded:

100%

676.972,00 €

Objective:

676.972,00 €

Estimated duration:
8 months
Estimated annual return:
12,15%
Ticket mĂ­nimo
200€
Talk to other investors and ask your questions in our Telegram group.

Related Articles