Inflation equals the product of two terms: an extensive margin (the fraction of items with price changes) and an intensive margin (the average size of those changes).