Government inflation numbers don't work like that at all. They are based on the Consumer Price Index, which uses a market basket of consumer goods and services.
All of these are commodities. And every single product derived is based on commodity. Most commodities can be traded on commodity markets.
https://www.bls.gov/charts/consumer-price-index/consumer-pri...