Fuel cost calculator
Estimate trip fuel and cost with explicit efficiency and volume units.
How to use
Enter trip distance in kilometers or international miles. Choose L/100 km, km/L, US mpg or Imperial mpg. Enter a price per liter or either gallon, then calculate with your chosen currency and precision.
100 km at 8 L/100 km requires 8 L; at 1.50 per L the cost is 12.00. A 20 mi trip at 20 US mpg consumes one US liquid gallon.
Support & limits
The international mile equals 1.609344 km. A US liquid gallon equals 3.785411784 L; an Imperial gallon equals 4.54609 L. The fuel-price unit is independent of the mpg unit. Efficiency must be positive and at most 1000000; price ranges from 0–1000000; both accept up to 6 decimals. No live prices, maps or assumed return trip: enter the full intended distance. Total cost is rounded once, halfway upward to the next minor unit; quantities show 6 decimals with the exact liter fraction in the report.
Common questions
Why do US and Imperial mpg produce different results?
The gallon volumes differ. The same numerical miles-per-gallon value represents different efficiencies in the two systems; choose the unit used in your vehicle’s data.