well to tank number for gasoline
According to this
EV WORLD: America's Irrational Petroleum Dependence it takes 8 to 12% of the energy in crude oil to refine it.
Thats 140 kWhr to refine. If that electricity comes from coal then thats 310 pounds of CO2.
A barrel of crude yields 19.5 gallons of gasoline.
I would argue that for the purposes of comparing an EV to a gar car we can count all of that CO2 against the gasoline.
Burning a gallon of gasoline creates 20 pounds of CO2.
Thus the refining cost is another 16 pounds of CO2.
Gasoline is the cleanest thing that comes out of crude. Burning diesel generates 15% more CO2 and bunker oil 60% more by weight.
I think you could further argue that the CO2 that came from burning all the other dirtier products of refining the oil ( diesel, kerosene, bunker oil ) that is more than the CO2 from burning gasoline should be piled on the gasoline, because if we didnt burn the gasoline in our cars it would be available for that other use. Ships burn bunker oil because it is a cheap byproduct of gasoline, they could be built to use efficient gasoline burning turbines and use the primary product, not the waste.
Call that another 4 pounds of CO2.
Now we are up to 40 pounds of CO2 per gallon of gas burned.
So when you factor in well to tank, the total is 2 times worse than tank to wheel.