How to calculate the inflation rate
Editorial staff, J.P. Morgan Wealth Management
- There are straightforward formulas to help you calculate the inflation rate, even if you’re not an economist.
- Official data sources, such as the Consumer Price Index (CPI), can be of use as you utilize these formulas.
- Measuring inflation is a valuable skill that can help you understand cost-of-living changes and inform your financial decisions.

When the costs of everyday essentials seem to creep upward, it’s often because of inflation. Understanding how to calculate the inflation rate can help you gauge how much prices have changed, both for day-to-day expenses such as food and gas as well as larger expenses like housing, and what that might mean for your financial health.
Since price levels move naturally due to shifts in the economy – some years you’ll see them climb, while others may see a gentle slowdown — knowing how to measure these changes provides insight into the factors influencing your purchasing power. By learning about the root causes of inflation, tracking it closely and understanding its long-term effects, you can make more confident decisions about budgeting, saving, investing and planning for major goals.
Why is it important to measure the rate of inflation?
Before diving into formulas, it’s worth considering why you might want to measure inflation in the first place. Even if you already grasp the concept, being able to calculate the average inflation rate can help you:
- Track purchasing power: As inflation increases, the value of a dollar can decrease. Measuring inflation shows how far your money goes today compared to a particular point in the past.
- Monitor cost of living: Understanding the rate of inflation can inform salary negotiations, retirement planning and budgeting decisions.
- Make data-driven financial choices: Whether you’re curious about historical trends or planning future investments, knowing how to calculate the inflation rate may help you approach decisions with greater confidence. Understanding short-term inflationary trends can also help you determine which investments may provide the greater return-on-investment with the least possible risk.
Understanding key terms around the inflation formula
To understand the inflation rate formula, let’s clarify a few terms you’ll encounter:
- Base year: The year you set as a benchmark.
- Current year: This is the year you’re analyzing. Comparing the current year’s prices to the base year’s prices helps determine how much the price level has changed.
- Average price/basket value: This could be the price of everyday items, like a gallon of milk or a monthly rent payment. This may also reflect the average value for a representative basket of goods and services. This is often referred to as the average basket value (ABV) or simply the basket value.
Having these concepts in mind will help you apply the inflation formulas, regardless of whether you’re interested in examining general inflation data or zeroing in on a specific product.
Sources for inflation data
To get started, it’s essential to have reliable information. Two main government agencies produce the most widely used U.S. inflation data points:
- Bureau of Labor Statistics (BLS): The BLS publishes the Consumer Price Index (CPI), which reflects the price changes of a selected basket of goods and services.
- Bureau of Economic Analysis (BEA): The BEA provides the Personal Consumption Expenditures Price Index (PCE), another key measure economists consider.
Having data points from these sources on hand can help you tailor your calculations to the time frames and products you’re interested in.
Get up to $1,000
When you open a J.P. Morgan Self-Directed Investing account, you get a trading experience that puts you in control and up to $1,000 in cash bonus.
Calculating the inflation rate
If you’re interested in a general inflation rate formula, here’s a straightforward approach. This formula works well if you have the average price of a product or service in both the base year and the current year to utilize.
Inflation rate formula
The basic inflation rate formula is as follows:
(Price in Current Year − Price in Base Year) / Price in Base Year × 100 = Inflation Rate
How this formula is used in practice
Let's say you want to find out how much the price of a cup of coffee has changed between 1990 (base year) and 2025 (current year).
First, you’ll find the average price in both years:
1990 price: approximately $1 per cup
2025 price: approximately $3 per cup
Second, enter the data points into the formula:
(3.00 - 1.00) / 1.00 x 100 = 200%
Now, interpret the result:
Based on the formula above, a 200% increase means the price of coffee has effectively tripled from the base year to the current year (having gone from $1 to $3), making it three times more expensive than it was in previous years.
This calculation can be applied to any product or service, providing a clear view of how prices evolve over time. If prices decrease over time, the result may indicate deflation. The calculation works the same way in this instance, simply yielding a negative number, indicating that prices have moved downward.
Using CPI data to measure inflation
If your goal is to measure overall inflation rather than focusing on a single product, the CPI offers a starting point. The CPI represents how prices change for the average basket value of goods and services including food, housing, transportation, medical care and more. The data is released monthly by the BLS and is accessible on the agency’s website, along with on other government websites.
Formula to calculate CPI
The formula used to calculate the CPI is as follows:
(Current Market Basket Value / Base Year Market Basket Value) × 100 = CPI
How to use CPI data to measure inflation
Hypothetically, imagine the market basket in the base year being used (1990) is $100, and in the current year (2025), that same basket is $200.
First, divide the current basket cost by the base year basket cost:
200 / 100 = 2
Then, multiply by 100:
2 x 100 = 200
A CPI of 200 compared to a base of 100 indicates prices have doubled. To find the actual inflation rate between these two points, you’d use the inflation rate formula above, substituting CPI values for prices:
(CPI Current - CPI Base) / CPI Base x 100 = Inflation rate
Utilizing the above example:
(200 - 100) / 100 x 100 = 100%
By incorporating CPI data into your calculations, you may gain a clearer view of how the overall cost of living is evolving over time. Whether you’re comparing grocery costs, utility bills or other everyday expenses, the CPI-based approach allows you to gauge the economy’s broader price trends rather than zeroing in on one particular item.
Additional tools and considerations
Once you’ve mastered the basic steps to calculate the inflation rate, it’s worth exploring a few other factors that can influence your results and interpretations. From understanding how professional economists contextualize these figures to evaluating the impact of policies from government agencies like the Federal Reserve, these additional considerations can help you form a more complete picture of the economic landscape.
By looking beyond the raw numbers, you can make more informed decisions – whether you’re planning your budget, analyzing investment opportunities or assessing the long-term value of your savings. If you’d like to dive in a bit deeper, you may want to consider researching the following as well:
- Inflation calculators: Several online tools help you quickly convert amounts of money from one year to another, factoring in inflation. These inflation calculator tools can be a handy shortcut if you don’t want to crunch the numbers yourself.
- Economists’ insights: Professional economists and analysts often study inflation alongside other data — like gross domestic product (GDP), interest rates and wage growth — to understand broader economic conditions. While you may not need that level of detail for a simple calculation, being aware of these factors can add context to your research.
The bottom line
Calculating the inflation rate can offer valuable insights into how your money’s value is shifting over time. Whether you’re comparing last year’s grocery budget to today’s, analyzing how much more a down payment on a home might cost compared to two decades ago or simply satisfying your curiosity, analyzing the inflation rate can help you make more informed financial decisions.
Understanding inflation can also help you anticipate changes in interest rates and guide you as you navigate major financial goals, from retirement planning to homeownership. No matter what you’re planning for, our financial advisors are here to help.
Invest your way
Not working with us yet? Find a J.P. Morgan Advisor or explore ways to invest online.

Editorial staff, J.P. Morgan Wealth Management