Inflation is an increase in overall Consumer Price Index (CPI), which is a weighted average of prices for different goods. The set of goods that make up the index depends on which are considered representative of a common consumption basket.