How it works
Gallons needed are the miles divided by your car's MPG. Multiply by the price per gallon for the trip cost, and divide the price by MPG for the cost per mile. Results also show liters and the consumption in L/100km used outside the US.
Formula
Cost = gallons × price.
Cost per mile = price ÷ MPG.
Liters = gallons × 3.785.
L/100km = 235.21 ÷ MPG.
Example
Example in plain words. A 300 mile trip at 25 MPG with fuel at 3.50 per gallon.
Gallons: 300 ÷ 25 = 12 gallons = 45.42 liters.
Cost: 12 × 3.50 = 42.00. Per mile: 3.50 ÷ 25 = 0.14.
Consumption: 235.21 ÷ 25 = 9.41 L/100km.
Frequently asked questions
How do I find my real MPG?
Fill the tank, reset the trip meter, drive, refill and divide the miles by the gallons. The gas mileage calculator does this for you.
Is this the US gallon?
Yes. A UK gallon is 4.546 liters, about 20% bigger.