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

June 30, 2026

The Consumer Price Index (CPI) is a crucial tool in modern economics, 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 the evolution of the cost of living and make informed decisions. In the following article, we will explain, with examples, what the CPI is, how it is calculated, when it is used, and why it is so important. 

¿Cuánto ganarías si inviertes desde hoy? Descúbrelo aquí.

What is CPI?

The Consumer Price Index, or CPI, is a measure that assesses how the prices of a selection of goods and services change in a specific area over a given period. It is used to understand how price fluctuations affect the cost of living. The selection of savings financial products and services for the CPI reflects the typical consumption of a household 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 utility extends from measuring inflation to estimating the cost of living and adjusting wages. We explain its uses in more detail below:

  • Measuring inflation: The CPI is fundamental for evaluating inflation, which represents the generalized increase in prices in an economy, as this reflects the cost of living. 
  • National statistics and accounting: In the preparation of economic statistics and national accounting, the CPI provides key data for understanding market behavior and overall economic activity.
  • Updating debts and judicial amounts: In some cases, the CPI is used to update the value of debts or judicial amounts, ensuring that their purchasing power is maintained over time.
  • Estimating the cost of living: It helps estimate the cost of living by reflecting the price of goods and services commonly purchased by a typical household. 
  • Impact on finances: Price variations, indicated by the CPI, have a direct effect on personal and corporate finances. Understanding these fluctuations is crucial for effective financial management.
  • Geographical measurement of the cost of living: It allows for comparing the cost of living between different geographical areas, being especially useful for individuals and businesses considering relocation.
  • Review of wage clauses: In certain cases, the CPI is used as a reference to adjust wages, ensuring that workers' purchasing power is maintained in the face of price changes.
¿Cuánto ganarías si inviertes desde hoy? Descúbrelo aquí.

Types of CPI

The CPI comes in various forms and is calculated considering different factors and periods:

  • Harmonized CPI: This is the original calculation of the CPI and is used uniformly by all European Union countries. The European Central Bank provides the guidelines for its calculation, thus ensuring consistent comparability among member nations.
  • Core CPI: This index excludes the most volatile price items, such as unprocessed food and energy products. By removing these elements, 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 periods:

  • Monthly CPI: This figure is calculated monthly by the relevant statistical institute, providing a snapshot of changes in the prices of goods and services over a one-month period.
  • Flash CPI: This is an advance estimate of the CPI also produced by the statistical institute at the end of each month, providing an early indication of the direction in which prices are moving.
  • Annual CPI: This indicates the price variation over a calendar year.
  • Year-on-year CPI: This represents the price variation over the last 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 x new quantities) / (Previous prices x previous quantities) x 100

How is the CPI calculated?

The CPI can be calculated as follows:

Step 1. Definition of the basket of goods and services

A wide variety of products representing the typical consumption of households in the country is selected. The basket is updated periodically to reflect changes in consumption habits.

Step 2. Price collection

The prices of the products in the basket are collected from a representative sample of commercial establishments. Different collection methods are used, such as store visits, phone calls, and barcode scanning. Retail prices, including taxes and discounts, are taken into account.

Step 3. Index calculation

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

Step 4. CPI publication

The CPI is published monthly by the statistical institute. The general CPI index is reported, as well as the indices for each of the main groups.

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 examines the variation 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 is a key tool for economic decision-making at both governmental and business levels. Here's a detailed explanation of how the CPI is interpreted:

Components of the CPI

  1. Basket of Goods and Services:
    • The basket includes a variety of products and services that represent typical household consumption. This can 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. Base for Comparison:
    • The CPI is calculated in relation to a base year, which serves as a reference point. The prices of goods and services in this base year are set at 100, and changes in prices are compared to this level.

Calculating the CPI

The CPI is calculated using the formula:

IPC=(Costo Total de la Cesta en el Año Actual Costo Total de la Cesta en el Año Base)×100\text{CPI} = \left( \frac{\text{Total Cost of Basket in Current Year}}{\text{Total Cost of Basket in Base Year}} \right) \times 100IPC=(Costo Total de la Cesta en el Año BaseCosto Total de la Cesta en el Año Actual​)×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 it is $550, the CPI would be:

IPC=(550500)×100=110\text{CPI} = \left( \frac{550}{500} \right) \times 100 = 110IPC=(500550​)×100=110

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

Interpreting the CPI

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

Uses of the CPI

  1. Monetary Policy:
    • Central banks use the CPI to make decisions about interest rates. High inflation can lead to an increase in interest rates to cool down the economy, while low inflation can lead to a reduction in rates to stimulate spending and investment.
  2. Wage Adjustments:
    • The CPI is used to adjust wages and pensions, ensuring that incomes maintain their purchasing power during times of inflation.
  3. Contracts and Rents:
    • Some rental contracts and other financial agreements are indexed to the CPI to adjust payments according to 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. Quality Changes:
    • It does not always adequately adjust for changes in the quality of products and services.

Example of CPI Interpretation

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

  • Annual Inflation: If the CPI increase between 2015 and 2020 is broken down, the average annual inflation can be calculated. For instance, a 15% increase over five years implies an average annual inflation of approximately 2.8%.

Impact of CPI on the economy 

Because the CPI provides an approximate view 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:

  • Inflation measurement: The CPI is the primary tool for measuring inflation, which is the generalized and sustained increase in prices over time. This information enables governments and central banks to make decisions regarding monetary and fiscal policy to control inflation and maintain economic stability.
  • Indexing of economic variables: The CPI is used as a reference to update various economic values, such as wages, pensions, contracts, and rents. This aims to protect people's purchasing power against inflation.
  • Economic decision-making: This indicator is crucial for businesses 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 increases, consumers' purchasing power decreases, meaning they can buy less with the same amount of money. This negatively impacts 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, as the basket of goods and services is not constantly adjusted to changes in consumption habits. Consequently, this creates distortions in the economy, such as the overvaluation or undervaluation of certain products or services.
  • Economic uncertainty: A high CPI almost always generates uncertainty among economic agents, directly affecting the dividend investment and consumption.

Example of Consumer Price Index Calculation

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

Product

Price in base year... $100

Price in current year... $110

Weight... 0.5

Food... $ 200

Housing:

$ 220

0.3

Transportation:

$ 50

$ 60

0.2

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

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

Step 2: Compare the 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)) x 100 = 112.5

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

It is important to note that this is an extremely simplified example. In practice, the CPI calculation is performed with a much broader basket of products and services, and more complex statistical methods are used to weight the importance of each product in household consumption.

How to keep CPI from impacting your portfolio?

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

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

  • Historical Returns: The real estate sector has proven to be a profitable long-term investment, with returns that consistently outperform inflation.
  • Inflation Protection: The value of real estate tends to increase over time, which means your investment is protected from the erosion of purchasing power.
  • Diversification: Investing in real estate allows you to diversify investments in your portfolio and reduce your exposure to other assets like stocks or bonds.
  • Profitable Passive Income: Rental income provides you with regular passive income, which can help you cover your discretionary expenses or reinvest it to grow your wealth.

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

  • Minimum Investment: Starting from just €200, you can become a co-owner of carefully selected real estate assets.
  • Returns: We offer annual returns of +10% on a secure asset.
  • Simple Process: Register, verify your identity, and make your investment in minutes.
  • Blockchain Technology: The security and transparency of all operations are guaranteed by blockchain technology.
  • Investment Recovery: You can recover your investment in less than 8 months. 

Do you want to protect your portfolio and build a stronger financial future? Start your Real estate investment with Domoblock today. It's a platform specializing in real estate crowdfunding and real estate tokenization.

Conclusion 

In conclusion, understanding what the CPI is, what inflation is, how to calculate them, and how they affect us, whether at home or in business, 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's also very important to start investing or diversify your investment portfolio.

¿Cuánto ganarías si inviertes desde hoy? Descúbrelo aquí.

Sergio Navarro

Expert in blockchain, investments, and personal finance

Share on your social media

Do you like what you're reading?

Subscribe to our Newsletter

Do you like what you're reading?

Subscribe to our newsletter!

En estudio

Valencia | Bétera

Calle Pilar Mateo

DOMO-VLC-36 Fase 1
Obra nueva

Funded

-

-

Target

1.167.964,69€

Rentabilidad estimada:
13%
Duración estimada:
11
Chat with other investors and ask your questions in our Telegram group

Related articles