What the inflation rate measures and how to find the numbers you need

The inflation rate is the percentage change in prices over time. To compute it, you need two price measurements from different dates—usually the price of a basket of goods or services at the start of a period and at the end—then explore a straightforward formula. The most common inflation rate you will see reported uses the Consumer Price Index (CPI), which the U.S. Bureau of Labor Statistics publishes monthly. You can read the actual CPI numbers for free and calculate the rate yourself, or use the rate the government has already calculated.

The basic formula is: ((New Price − Old Price) ÷ Old Price) × 100 = Inflation Rate (as a percentage). If you are measuring inflation for a single item—say, a gallon of milk—you use that item's price at two points in time. If you are measuring inflation for an entire economy or a category of spending, you use an index number instead of a raw price, but the math stays the same.

Key Takeaways

  • The inflation rate formula is ((New Price − Old Price) ÷ Old Price) × 100, and it works the same whether you are tracking one item or an entire economy.
  • The Consumer Price Index (CPI) is published monthly by the Bureau of Labor Statistics and is the most widely used measure of inflation in the United States.
  • You can read CPI data for free from the BLS website and calculate the inflation rate yourself for any time period you choose.
  • Inflation can be measured over one month, one year, or any span of time, depending on what question you are trying to answer.
  • Different categories of goods and services have different inflation rates, so the overall rate masks variation in what actually costs more.

Finding the Consumer Price Index numbers

The Bureau of Labor Statistics publishes the CPI every month on its website at bls.gov. The data is free and requires no registration. Go to the BLS homepage, click "Data Tools" in the top menu, then select "Average Energy Prices" or "Inflation & Prices" depending on what you want to measure. The most commonly used index is the "Consumer Price Index for All Urban Consumers" (CPI-U), which tracks about 80,000 prices across food, energy, housing, transportation, and other categories.

Each month gets an index number. For example, if the CPI-U for January 2024 is 314.540 and for January 2025 is 321.810, those are the two numbers you will use in your calculation. The index is set so that the average price level in the years 1982–1984 equals 100; everything since then is measured against that baseline. You do not need to understand why the baseline is set that way—you just need the two index numbers from your start and end dates.

If you want to track inflation for a specific category—groceries, gasoline, rent—the BLS publishes separate indexes for those too. The process is the same: find the index number for your start date and your end date, then plug them into the formula.

Calculating the inflation rate step by step

Once you have your two index numbers, the calculation takes three steps. Let's use a real example: suppose the CPI-U was 310.326 in January 2023 and 314.540 in January 2024. You want to know the inflation rate over that one-year period.

Step 1: Subtract the old index from the new index. 314.540 − 310.326 = 4.214.

Step 2: Divide that result by the old index. 4.214 ÷ 310.326 = 0.01359.

Step 3: Multiply by 100 to convert to a percentage. 0.01359 × 100 = 1.359%.

So the inflation rate from January 2023 to January 2024 was approximately 1.36%. This means prices rose by about 1.36% over that year. If you are calculating inflation for a single item instead of the overall CPI, the steps are identical—just use the price of that item instead of the index number.

Measuring inflation over different time periods

You can calculate the inflation rate for any span of time: one month, three months, one year, five years, or longer. The formula does not change. The only difference is which start and end dates you choose.

Monthly inflation is useful for spotting short-term price swings. Year-over-year inflation (comparing the same month in two different years) is more common in news reports because it smooths out seasonal patterns—for example, heating costs spike in winter every year, so comparing January to January removes that noise. If you want to know how much prices have risen since a specific event or policy change, you can pick any two dates the BLS has published data for.

Keep in mind that the BLS publishes CPI data going back to 1913, so you can calculate inflation rates across decades if you want. However, the further back you go, the less relevant the result may be to your current situation, since the basket of goods and services tracked by the CPI changes over time.

Understanding what the inflation rate does and does not tell you

The inflation rate is an average. When you see that overall inflation was 3% last year, that does not mean every item cost 3% more. Gasoline might have risen 8%, while bread rose 2%, and rent rose 5%. The 3% is a weighted average that reflects how much of a typical household budget goes to each category.

This matters because your personal inflation rate might be very different from the published rate. If you spend a large share of your income on gasoline and energy, you experienced higher inflation than the average. If you rent and eat mostly fresh food, you may have experienced different inflation than someone who owns a home and buys packaged goods. The BLS publishes separate inflation rates for different categories and different types of households, so you can find a number that matches your situation more closely.

Also, the CPI-U tracks prices for urban consumers. If you live in a rural area, your actual price changes may differ from the published index. The BLS also publishes a separate index for all urban and rural consumers (CPI-W) if you want a broader measure.

Common mistakes when calculating inflation

The most common error is using the wrong index number. Make sure you are using the same index for both your start and end dates. If you grab the CPI-U for January but the CPI-W for December, your result will be meaningless. Write down both numbers before you start calculating.

Another mistake is forgetting to multiply by 100 at the end. If you skip that step, you will get a decimal (like 0.01359) instead of a percentage (1.359%). The decimal is technically correct mathematically, but it is not the standard way to report inflation, and it is straightforward to misread.

A third error is comparing the wrong time periods. If you want to know how much prices rose in 2024, you need the CPI from the end of 2024 and the end of 2023, not the beginning of 2024 and the beginning of 2025. The dates matter because inflation is always measured from one point to another.

Using online calculators versus calculating by hand

The BLS website itself includes an inflation calculator that does this math for you. You enter a dollar amount and two dates, and it tells you what that amount would be worth in current dollars. This is useful if you want to know "what would $100 in 1990 be worth today," but it does not show you the inflation rate itself.

If you want to see the actual inflation rate percentage, you can calculate it by hand using the formula above, or you can use a spreadsheet program like Excel or Google Sheets. In a spreadsheet, you would enter the old index in one cell, the new index in another, then write the formula =(B2-B1)/B1*100 (adjusting the cell references to match your data). This is faster than a calculator if you are computing multiple rates.

For a one-time calculation, the formula is straightforward enough to do on any calculator. For repeated calculations or comparisons across many time periods, a spreadsheet saves time and reduces the chance of arithmetic errors.

Frequently Asked Questions

Can I calculate inflation for just one product, like eggs or gasoline?

Yes. Find the price of that item on two different dates, then use the same formula: ((New Price − Old Price) ÷ Old Price) × 100. For example, if eggs cost $3.50 per dozen in January and $3.85 in February, the inflation rate for eggs over that month was ((3.85 − 3.50) ÷ 3.50) × 100 = 10%. The BLS also publishes inflation rates for specific categories like energy and food if you want official data instead of prices you find yourself.

What is the difference between the CPI-U and the CPI-W?

The CPI-U tracks prices for all urban consumers and is the most commonly reported index. The CPI-W tracks prices for urban wage earners and clerical workers, a narrower group. For most purposes, the CPI-U is what you want. The CPI-W is used to adjust Social Security payments and some other government programs, but the two indexes track very similar trends.

Why does my personal inflation rate feel higher than the published rate?

The published inflation rate is an average across all households and all spending categories. Your actual experience depends on what you buy. If you spend more on groceries, gas, or rent than the average household, and those categories had higher inflation, you will feel the effects more. The BLS publishes separate inflation rates for different categories so you can see which prices rose the most.

How far back does the CPI data go?

The BLS publishes CPI data back to 1913. You can calculate inflation rates across any time period in that range. However, the basket of goods tracked by the CPI has changed over time, so comparing prices from 1950 to today is less meaningful than comparing recent years, since people do not buy the same things they did 70 years ago.

Is there a difference between inflation rate and the rate of change in prices?

No, they are the same thing. The inflation rate is the percentage change in prices over time. When someone says "inflation is 3%," they mean prices rose by 3% on average. The terms are used interchangeably.