Then it's even more inexplicable, which I'm sussing out might just be your point.  Baffling.
magwitch,

I think you might be confusing yourself by pricing out the yields in this way.

If you look at figures 1 (page 7) and 6 (page 9) in this document you can see how the gross refining margins for WTS (West Texas Sour) and Mexican Maya were calculated in August 2004.

What you need to do is to take a barrel of oil and look at all the stuff that is made from it: gasoline, diesel, heating oil, jet fuel, LPG, asphalt, etc. All of these have commercial value. Then you need to calculate the fraction that is the value of the gasoline over the total commercial value of all of these products. This is the part of the value of the crude oil that goes into just gasoline. (This is the step you are skipping - you are assuming that all of the value of an oil barrel goes into gasoline, forgetting about the value of other products.)

Multiply this fraction by the cost of a barrel of oil and that will give you the portion of the cost that corresponds to gasoline. Then divide that by the number of gallons of gasoline you get from the barrel to get the price per gallon of gasoline due just to the cost of crude.