What Is the Inflation Rate? Formula and CPI Context
What is the inflation rate, how is it calculated, and why can it differ from local prices? A plain-English guide to CPI, the formula, and city context.
Inflation rate measures how fast prices are rising. If a basket that cost $200 last year costs $207 today, the basket rose 3.5%.
That number is useful, but it is still an average. The inflation rate in the news can move differently from the prices a shopper sees in a specific city, store category, or household basket.
This guide explains what the inflation rate measures, how to calculate it, what the Federal Reserve means by a “good” rate, and why local prices can feel different from the national figure.
What inflation rate means
The inflation rate is the percentage change in prices over a set period. In everyday economic coverage, it usually means the change over the past 12 months.
If the inflation rate is 3%, something that cost $100 last year costs about $103 today on average. “On average” is the key phrase. Eggs, coffee, rent, gasoline, medicine, and pet supplies can all move at different speeds, while the headline number blends many categories into one figure.
That distinction matters. A 3% inflation rate does not tell you whether groceries are expensive or cheap. It tells you how quickly the measured basket is getting more expensive.
Inflation rate formula
The basic inflation rate formula is Inflation rate = ((current price - past price) / past price) x 100.
For a simple grocery example:
| Step | Value | Result |
|---|---|---|
| Past basket price | $200 | starting point |
| Current basket price | $207 | $7 higher |
| Formula | $7 / $200 x 100 | 3.5% inflation |
The Bureau of Labor Statistics uses the Consumer Price Index, or CPI, to measure average price change for a representative market basket of consumer goods and services. The CPI includes more than groceries: housing, transportation, medical care, recreation, education and communication, apparel, and other goods and services are part of the official basket. For a deeper look at how the basket and CPI formula work, see What Is the Consumer Price Index?.
Year-over-year inflation compares prices with the same month one year earlier. Month-over-month inflation compares prices with the previous month. Year-over-year numbers are often easier to interpret because they smooth out some seasonal swings.
Good inflation is near 2%
The Federal Reserve’s longer-run inflation goal is 2%, measured by the annual change in the price index for personal consumption expenditures. The goal is not zero because a small, stable rate gives households and businesses a more predictable economy and gives policymakers room to respond when growth slows.
Different rates feel different in household budgets:
| Rate range | Household context |
|---|---|
| Below zero | Deflation: broad prices are falling, which can weaken spending and make debt harder to carry. |
| 0% to 1% | Very low: there is less cushion against deflation. |
| Around 2% | Target: this is the Federal Reserve’s longer-run benchmark for stable inflation. |
| 2% to 4% | Elevated: this can be easier to absorb when incomes are also rising. |
| Above 4% | Pressure: purchasing power feels more strain, especially for fixed incomes and frequently bought essentials. |
No rate is automatically painless. A renter, a retiree, and a homeowner with a fixed mortgage can feel the same headline number very differently.
Headline vs core inflation
Headline inflation covers the full consumer basket, including food and energy. It is closest to what people recognize at the checkout line, the gas pump, and the monthly bill stack.
Core inflation removes food and energy because those categories can swing sharply from weather, harvests, and global commodity markets. Policymakers watch core inflation for a cleaner signal of sustained price pressure.
Neither version is the “real” one by itself. Headline inflation describes the full basket; core inflation filters some short-term volatility.
Inflation differs by city
The national inflation rate is a broad average. A household’s lived experience depends on where it shops, what it buys often, and which categories are moving fastest.
Three gaps matter most:
- Spending mix. A household that spends a larger share of income on groceries will feel food price increases more sharply than a household whose budget is dominated by fixed housing costs.
- Local prices. Supply chains, retail competition, labor costs, taxes, and distribution patterns can make the same category look different by city.
- Category exposure. Coffee, burger ingredients, pet supplies, consumer health goods, and menstrual care products do not always move together.
That is where local price histories help. CostInflation publishes city and category price history pages so readers can compare the national inflation idea with specific retail categories, including Coffee Price Trends, Burger Cost by City, Cost of Dog Ownership Per Year, Cost of Cat Ownership Per Year, Consumer Health Retail Goods Inflation, and Menstrual Care Product Inflation.
Why prices rise
Inflation rarely has one clean cause. Most episodes combine several forces:
Demand-pull pressure happens when spending grows faster than available goods and services. Businesses can raise prices when demand stays strong.
For a breakdown of each inflation type in detail, see Types of Inflation Explained.
Cost-push pressure happens when production, labor, shipping, rent, energy, or raw materials become more expensive and those costs reach consumers.
Monetary and credit conditions matter because interest rates, lending, and money growth influence how much spending power is competing for the same goods and services.
Food and household categories can also face category-specific pressure. Weather can affect crops, freight costs can affect shelf prices, and local store competition can change how much of a cost increase reaches shoppers.
Interest rates slow demand
The Federal Reserve’s main inflation tool is interest-rate policy. Higher rates make borrowing more expensive for households and businesses. That tends to cool demand for homes, cars, credit-card spending, investment, and other financed activity.
When demand cools, businesses have less room to raise prices. The effect is not instant. Rate changes usually work through the economy over months, not days.
For consumers, the tradeoff can feel uneven. Higher rates may eventually help slow inflation, but they can also raise mortgage, auto-loan, credit-card, and business borrowing costs along the way.
FAQ
What is the inflation rate?
The inflation rate is the percentage by which prices rose over a set period, usually the past 12 months.
How do you calculate the inflation rate?
Use this formula: ((current price - past price) / past price) x 100. A basket rising from $200 to $207 has 3.5% inflation.
What is a good inflation rate?
The Federal Reserve’s longer-run goal is 2% inflation. Whether a specific rate feels manageable depends on income growth, fixed expenses, and which categories a household buys most often.
What is the difference between headline and core inflation?
Headline inflation includes the full consumer basket, including food and energy. Core inflation removes food and energy to reduce volatility in the policy signal.
Why does inflation feel worse than the official number?
The official number is an average. Your city, income, spending mix, rent or mortgage situation, and regularly purchased categories can make your personal price experience different.
Does inflation vary by city?
Yes. Local supply chains, retail competition, labor costs, and category mix can make specific consumer prices differ by city. CostInflation’s published index pages show those differences for selected retail categories and market areas.
What causes inflation to rise?
Demand-pull pressure, cost-push pressure, and monetary or credit conditions are the main mechanisms. Specific categories can also move because of weather, freight, input costs, and local retail conditions.
What is deflation?
Deflation means broad prices are falling. It can sound helpful, but economists worry about it because falling prices can encourage delayed spending, weaker hiring, lower wages, and heavier real debt burdens.
How do interest rates affect inflation?
Higher rates make borrowing more expensive, which can slow spending and investment. With less demand pressing against available supply, price growth can cool over time.