The fuel cost formula
Fuel cost is the amount of fuel a trip burns times the price of fuel. In US units (miles per gallon):
In metric units (litres per 100 km):
The two efficiency systems are inverses: L/100km = 235.215 ÷ MPG.
Worked example
A 300-mile trip in a car that does 30 MPG, with gas at $3.50 a gallon:
Use your real efficiency
The window-sticker MPG is a lab figure. Real economy depends on speed, traffic, terrain, load and weather. For the best estimate, use the average you have actually observed (miles driven ÷ gallons filled). Fuel prices also swing, so check the current pump price near your route.