Price Index Calculator (CPI-Style Basket)
Enter quantities and prices for the same basket of goods in two different periods. This calculator computes the overall price index, inflation rate, and purchasing power change.
Tip: Use a base period (e.g., 2020) and current period (e.g., 2026). Quantities should represent the same basket in both periods.
What Is a Price Index?
A price index is a way to track how prices change over time for a selected basket of goods and services. Instead of looking at one item in isolation, a price index combines multiple items into a single number so you can quickly see whether the overall cost of living (or production costs) is rising or falling.
If the index is 100 in the base period and 125 in the current period, it means prices are 25% higher than in the base period for that basket.
Formula Used in This Calculator
This page uses a fixed-basket approach (similar to a Laspeyres-style index):
It also reports:
- Inflation from base period:
Price Index - 100 - Purchasing power of $1 now:
100 / Price Indexbase-period dollars
How to Use the Calculator
1) Define your basket
Add common items such as rent, groceries, fuel, utilities, subscriptions, or business inputs. Keep the list consistent between periods.
2) Enter quantity and prices
For each item, enter:
- Quantity consumed in the basket
- Base-period unit price
- Current-period unit price
3) Click “Calculate Price Index”
You’ll get the total basket cost in each period, the index value, and the percentage increase/decrease in prices.
Worked Example
Suppose your basket has coffee, bread, and gasoline. In the base year, the basket costs $80 total; in the current year, it costs $96. Then:
- Price Index = (96 / 80) × 100 = 120
- Inflation = 120 - 100 = 20%
- Purchasing power of $1 today = 100 / 120 = $0.83 in base-year terms
This means you need 20% more money today to buy the same basket.
When a Price Index Is Useful
- Tracking personal cost-of-living changes
- Comparing supplier or input cost trends in business
- Budget planning and salary adjustment discussions
- Converting historical prices into today’s terms
Common Mistakes to Avoid
- Changing the basket too often: A moving basket can blur true price changes.
- Mixing units: Keep units consistent (e.g., liters vs gallons, lbs vs kg).
- Using incomplete rows: Missing quantity or price values can distort results.
- Ignoring quality changes: A new product version may not be directly comparable.
Advanced Note: Other Index Types
Laspeyres Index
Uses base-period quantities (this calculator’s approach). Good for fixed-basket comparisons and easy interpretation.
Paasche Index
Uses current-period quantities. Reflects substitution effects but requires current quantity data.
Fisher Index
Geometric mean of Laspeyres and Paasche; often considered a balanced measure when detailed data is available.
Bottom Line
A price index is one of the simplest and most powerful tools for understanding inflation and real purchasing power. Use the calculator above to build your own basket and track how prices evolve over time with clarity.