Bad gas mileage

The only way to use the amount the gas tank owns is to run it dry, fill it up and record the gallons, then run it dry again.