A price index compares the cost of the same basket of goods across two periods, then scales that change against a base year.
If you want to calculate a price index, the job is simpler than it sounds. You pick a base year, build a basket, total the basket cost in both periods, and turn that ratio into an index number. Once you see the flow, the math stops feeling slippery.
The plain version looks like this:
Price Index = (Cost of basket in current year ÷ Cost of basket in base year) × 100
That single line tells you whether prices rose, fell, or stayed flat. If the result is 100, prices match the base year. If it is 125, the basket costs 25% more than it did in the base year. If it is 92, the basket costs 8% less.
What A Price Index Measures
A price index tracks how the price of a fixed basket changes over time. The basket can hold groceries, fuel, rent, books, steel, or any set of items you want to track. The only rule is consistency: the basket must stay the same while you compare one period with another.
That is why price indexes show change cleanly. They do not ask, “What does one item cost?” They ask, “What does this same basket cost now versus then?”
- Base year: the starting point, set to 100.
- Current year: the period you want to compare with the base year.
- Basket: the list of goods or services you price in both periods.
- Weights: the share each item has in total spending, when you want a weighted index.
In classroom problems, the basket is often small so you can see each step. In official inflation measures, the basket is broad and the weighting work is much heavier. The U.S. Bureau of Labor Statistics CPI calculation method shows how much detail goes into a national consumer index.
Calculating A Price Index With A Base Year
Start with a basket and a base year. Then gather prices for the same items in the current year. Multiply each item’s price by its quantity in the basket, add the totals for each period, then divide current cost by base cost and multiply by 100.
How To Calculate Price Index Step By Step
- Choose the basket of goods or services.
- Set the quantity for each item in the basket.
- Pick the base year and set its index to 100.
- Find each item’s price in the base year.
- Find each item’s price in the current year.
- Calculate basket cost in both periods.
- Apply the index formula.
Say your basket has bread, milk, eggs, rice, soap, bus fare, and cooking oil. You keep the quantities fixed so the basket stays stable across both years.
Worked Example With A Small Basket
Here is a full example using a base year and a current year. The quantities stay fixed. Only the prices change.
| Item In Basket | Base Year Cost | Current Year Cost |
|---|---|---|
| 10 loaves of bread | $20 | $24 |
| 8 liters of milk | $12 | $14 |
| 3 dozen eggs | $9 | $12 |
| 5 kg of rice | $15 | $18 |
| 4 bars of soap | $8 | $9 |
| 20 bus rides | $30 | $36 |
| 2 bottles of cooking oil | $10 | $13 |
| Total Basket Cost | $104 | $126 |
Now plug the totals into the formula:
Price Index = (126 ÷ 104) × 100 = 121.15
That means the basket costs 21.15% more in the current year than in the base year. If your teacher wants a whole number, round to 121. If you are doing business work, keep the decimal unless the reporting rule says not to.
Weighted Vs Unweighted Price Index
Many beginner examples use a fixed basket with clear quantities. That already gives you a weighted result, since the basket quantities shape how much each item matters. Bread with a bigger share of spending moves the index more than soap with a small share.
An unweighted approach gives every item the same pull, which can bend the picture. That is why official measures use expenditure patterns and detailed methods. The Australian Bureau of Statistics outline of CPI calculation in practice shows how compilers break spending into classes, collect prices, and build the final index.
When A Weighted Index Fits Better
- You are tracking household spending.
- You want rent and food to count more than low-spend items.
- You are comparing inflation across years in a way that feels closer to real buying patterns.
If you have quantities for the basket, you already have what you need for a clean weighted calculation.
What The Base Year Does
The base year is your anchor. You set it to 100 so every later number tells a story against that point. A result of 110 means prices are up 10% from the base year. A result of 85 means prices are down 15% from the base year.
You can change the base year later. That does not change the underlying price movement. It only changes the scale used to present the series.
Say your index is 121.15 with 2020 as the base year. If you reset 2023 to 100, you are just re-referencing the line. The story shifts in presentation, not in price history. That broader theory sits behind manuals such as the IMF’s Consumer Price Index Manual: Theory, 2025.
Common Mistakes That Throw Off The Math
Most wrong answers come from a handful of slips. The formula is not the hard part. The setup is where people trip.
| Mistake | What Goes Wrong | Fix |
|---|---|---|
| Changing basket quantities | You stop comparing like with like | Keep quantities fixed across periods |
| Using different items in each year | The index turns into a new basket | Price the same basket in both years |
| Forgetting to total basket cost | You compare single prices, not the basket | Add all item costs before dividing |
| Mixing up base and current year | The ratio flips and the result breaks | Current cost goes on top, base cost below |
| Skipping quantities | High-use items lose their proper share | Multiply each price by basket quantity |
| Rounding too early | Small errors pile up | Round at the final step |
How To Read The Final Index Number
Once you have the result, reading it is easy:
- 100 = same basket cost as the base year
- Above 100 = basket cost rose
- Below 100 = basket cost fell
You can also turn the index into a percentage change from the base year with a quick subtraction:
Percentage change = Price index − 100
So if your price index is 121.15, the basket is up 21.15% from the base year. If the index is 96.40, the basket is down 3.60% from the base year.
When To Use Other Price Index Formulas
The basket formula above is the one most people need for schoolwork, business tracking, and clear inflation practice. Still, you may run into names like Laspeyres, Paasche, and Fisher. Those formulas differ in how they treat quantities and weights.
For many assignments, “how to calculate price index” means a Laspeyres-style setup with base-year quantities held fixed. That is the version used in most teaching examples because it is direct and easy to audit by hand.
Use This Plain Setup When
- You need a classroom answer.
- You are tracking your own basket over time.
- You want a method you can show on paper in a few lines.
A Fast Check Before You Finalize Your Answer
Before you box your final number, run this short check:
- Did you keep the same basket in both periods?
- Did you multiply every price by its basket quantity?
- Did you total each year’s basket cost?
- Did you divide current-year cost by base-year cost?
- Did you multiply by 100 at the end?
If all five are true, your index is on solid ground. That is the full logic, stripped clean. Pick the basket. Price it twice. Compare the totals. Scale the answer to 100. Done.
References & Sources
- U.S. Bureau of Labor Statistics.“Consumer Price Index: Calculation.”Sets out how CPI price change and aggregation are calculated in an official statistical system.
- Australian Bureau of Statistics.“Consumer price index calculation in practice.”Shows the step-by-step process used to build a consumer price index from spending classes, price collection, and aggregation.
- International Monetary Fund.“Consumer Price Index Manual: Theory, 2025.”Provides the formal theory behind index number methods, weighting, and re-referencing.