A measure that examines the weighted average of prices of a basket of consumer goods and services, such as transportation, food and medical care. The CPI is calculated by taking price changes for each item in the predetermined basket of goods and averaging them; the goods are weighted according to their importance. Changes in CPI are used to assess price changes associated with the cost of living.Sometimes referred to as "headline inflation."