Inflation and the cost of gasoline

Algebra Number Sense Math and Science Math and Social Studies Ratio and Proportion
In 1980, one gallon of gasoline costs $1.22.  Today's prices are a lot higher.  Is that because the price has gone up or because in 1980 you could buy a lot more than you can buy today for...