Question: how to calculate how much gas per mile?
Answer: Get the miles traveled from the trip odometer, or subtract the original odometer reading from the new one.
Divide the miles traveled by the amount of gallons it took to refill the tank. The result will be your car's average miles per gallon yield for that driving period.