I wanted to investigate how much gas expands. Sometimes I have bought gasoline early in the morning and by mid-afternoon in the southwestern desert climate, I notice that some gas has leaked out the cap. It could be that gas vapor is returning to a liquid phase after diffusing out of the tank valve (appearing as if it over flowed). Also when I over fill and take a right turn, it will pour out the valve. I've learned to put in less gas.
I was curious about the thermal expansion of gas due to temperature changes though. Looking up the thermal expansion coefficient I found it was approximately 5.278E-4/
0F.
So, if you put in 4 gallons of gas (which is the most I ever put in), in the early morning (say 50 F
0), and in mid-day it is 110 F
0. The change in 4 gallons of gasoline is: 4 gallons * 5.278E-4 /
0F * (110 F
0 - 50 F
0) = 0.126 gallons.
I should note that the gasoline temperature inside the tank could get hotter as it is a confined enclosed space. It could be possibly be 150 F
0 inside the tank. Just to be safe, let's double the number above to 0.25 gallons. So basically I should never put in more than 3.75 gallons in the morning if I expect a hot afternoon. Any more than that is asking for gasoline leakage should a large temperature change occur.