Question: what is the formula to figure out gas mileage?
Answer: The formula to calculate gas mileage: Miles driven ÷ gallons used to refill the tank. Take the miles traveled (from the trip computer), divide that by the number of gallons used to refill the tank. For example, the trip shows 200 miles since you last filled up, and it took 15 gallons to refill the tank.