not facts yet
I don't have all the facts yet but can give you some good guesses and some quick research, as I follow these things a bit.
First, taxes are very high, and the true windfall profits being made right now are by the states who levy taxes as a % of prices.
gasoline taxes by state This data includes the federal taxes. In 2002 those rates were between 30 and 50 cents per gallon. But, those taxes are actually much higher now IIRC, due to them not being levied as cents per gallon but as % of sales. What were gas prices in 2002, I'm not sure, but if it was near $1.60 per gallon that is 24% to taxes, at 38 cents tax, near the midpoint.
Profits on gasoline are pretty small, think it is something like 4% or so. I found
article on retail margins which says that retail profit is usually 8 cents per gallon, though there was both profit and losses during the time after Katrina shut down refineries. 8 cents per gallon, on gas last year at, what $1.60 or so, is 5%, so my guess is pretty close.
Refined product prices bounce around a LOT, market forces are at play and there are Wall Street speculators who buy contracts at one price and hold them just to sell at a profit later (this happens is all commodities, pork bellies/bacon, orange juice, sugar, copper, uranium but only oil speculation gets people angry). Fortunately the investors do get burned from time to time, not always making a ton of money. This morning contracts are at $158 which I think is $1.58 per gallon. Down from something like $2.20 at the top I think.
Transportation to the pumps is probably not that big an expense, I'd guess you can get a delivery for a few hunderd dollars, and a tanker holds, what, maybe 1000 gallons of gasoline (I have no idea!) so you may add 20 cents to the cost, if that.
You know that the reason all the gas stations sell soda and junk food is that this is where they make the profit, with 100 to 200% markup, not in the gasoline. That 4 -5% margin on gas is no better than the grocery store makes on food, and the risks from robbery, explosion, and groundwater contamination are much higher.
Yes, I hear the drumbeats of legislators calling for windfall profits tax again. Just remember, if you want less of something, you tax it. Be careful where they put the taxes, additional taxes at the pump will discourage consumption, additional taxes at the well will discourage production.