Skip to content

Fuel Cost Calculator

Calculate trip fuel cost from distance, fuel efficiency, and fuel price. Supports metric and imperial units. Free, 100% in your browser.

How is fuel cost calculated?

Fuel cost depends on three factors: the distance you travel, your vehicle's fuel efficiency (how much fuel it uses per distance), and the fuel price. This calculator supports multiple unit systems — L/100 km (common in Europe), km/L (common in Asia), MPG US, and MPG Imperial (UK) — so you can use the units you're familiar with.

Fuel cost formulas

Using L/100 km:
Fuel (L) = (distance in km / 100) × L/100km
Cost = Fuel × price per liter

Using km/L:
Fuel (L) = distance in km / km per liter

Using MPG:
Fuel (gal) = distance in miles / MPG
Cost = Fuel × price per gallon

Cost per km: Total cost / distance

Common use cases

  • Road trip planning — estimate fuel budget before a long drive.
  • Commute costs — calculate your daily or monthly commuting fuel expense.
  • Vehicle comparison — compare fuel costs between vehicles with different efficiencies.
  • Ride sharing — split fuel costs fairly among passengers on a shared trip.
  • Budget planning — include accurate fuel costs in monthly transportation budgets.

Privacy

All calculations run 100% in your browser. No data is sent to any server.