Calculate your result
Enter your figures below. Values stay in your browser.
How to use this calculator
Enter the complete journey distance in miles, expected MPG and pump price per gallon. Select US or Imperial gallons to match both the MPG figure and the fuel price. For a round trip, include both legs.
Choose the currency used by all money inputs on this page. The calculator does not fetch exchange rates, so keep every monetary figure in the same currency.
Formula used
Fuel used = miles ÷ MPG. Cost = fuel used × price per gallon. MPG and pump price must use the same selected US or Imperial gallon; no conversion is needed when both match.
Worked example
500 miles ÷ 30 MPG = 16.6667 gallons. At 3.50 per matching gallon, the journey costs 58.33. At 25 MPG the same journey costs 70.00.
Plan the fuel line before the rest of the trip budget
Use this when you know the route distance, a realistic MPG figure and the pump price in the same gallon standard. For example, compare the normal commute figure with a lower motorway-with-roof-box figure to see how sensitive the bill is.
Treat the result as the fuel portion only. If the route includes tolls, parking or overnight stops, move that fuel figure into the Trip Cost Calculator rather than trying to hide those costs inside the pump price.
Assumptions and limits
Use a measured MPG figure representative of the route. This estimates fuel only, excluding tolls, parking and accommodation.
FuelEconomy.gov: factors affecting fuel use · Calculation methodology
Found a discrepancy? Send the inputs and expected result.
Related tools
Fuel Consumption Calculator
Calculate L/100km from distance travelled and fuel used.
MPG Calculator
Find miles per US or Imperial gallon from trip records.
KM/L Calculator
Calculate how many kilometres your vehicle travels per litre.
MPG and KM/L Converter
Convert between US or UK MPG and kilometres per litre in either direction.
This page shows the formula, a worked example, page-specific interpretation and the main limitations so you can audit the result before using it.