A price index is a measure of how prices change over a period of time, or it is a way to measure inflation.