The overall average level of nominal prices in the economy can be calculated, most often as a weighted average of the prices of individual goods and services (with weightings reflecting the importance of each product in overall spending or output). Price levels can be calculated for consumer spending, for wholesale trade, for producer inputs, or for any other category of production. The most common measures of the overall price level are the consumer price index and the gross domestic product deflator.