An official measure of the cost of inflation, increasingly used for government purposes in recent decades. It examines some of the same things as RPI did, such as the weighted average of prices of a basket of consumer goods and services, such as transportation, food, and medical care. CPI has been regarded as more accurately measuring changes in overall prices than RPI.