Gas and fuel cost calculator
Calculate gas cost for a trip from miles or kilometres, MPG or L/100 km and your pump price. See fuel cost per mile, per km and per person.
Runs in your browser. Files are not uploaded.
Display only; no exchange conversion.
Enter your own price. Distance up to 10 million; economy must be positive; price 0–1000; travellers 1–100. US and UK gallons differ.
Result
Enter values or load an example.
How to use this tool
Enter distance and economy, choose the correct units and enter the fuel price with its unit. Optionally double the distance for a return trip and split cost among travellers.
Calculation rules
Litres/100 km is consumption; mpg is distance per gallon. US and UK gallons are different. The calculation converts to litres before applying the price unit. Results are estimates rounded for display. Gas means vehicle fuel here, not household natural gas. Cost per mile or km is fuel only; for zero distance these rates are not defined.
Questions and answers
Does the result include tolls or live fuel prices?
No. Enter the price yourself. Parking, tolls, vehicle wear, detours, idling and changing road conditions are not included. The result depends on the real average fuel economy of your journey.