High crude oil prices make the gas prices go up. More accurately, 54 percent of the price of gasoline is affected by the cost of oil, while the remaining 46 percent is affected by distribution, marketing, refining and taxes.