Gas is finally cheaper now than it was when Russia invaded Ukraine in February. It's thankfully dropped to an average of $3.47 a gallon compared with $3.54 on Feb. 24. Though this year's record spike above $5 was attributed to the war, major price fluctuations don’t always occur during times of upheaval and crisis. Using data from the Department of Energy, Cheapism determined the average cost of a gallon of gas every year from 1940 through today, showing the price in 2022 dollars. (Prices are for regular leaded through 1990, then for regular unleaded.) Despite constant ups and downs and the 2022 pain at the pump, significant swings in gas prices are relatively rare.