Gas Trip Cost Calculator

Calculate fuel cost for any road trip from distance, fuel efficiency, and gas price.
Supports miles with MPG or kilometres with km per litre, one way or return.

Trip Fuel Cost

Trip fuel cost is calculated from three variables: how far you are driving, how efficiently your vehicle uses fuel, and the current price of fuel. This calculator supports both metric and imperial units.

Imperial formula:

Fuel Needed (gallons) = Distance (miles) / Efficiency (MPG)

Trip Cost = Fuel Needed × Price per Gallon

Metric formula:

Fuel Needed (liters) = Distance (km) / Efficiency (km/L)

Trip Cost = Fuel Needed × Price per Liter

What each variable means:

  • Trip Distance is how far you plan to drive, in miles or kilometres.
  • Fuel Efficiency is your economy, in MPG or in kilometers per liter. Note that this page wants km per liter, not liters per 100 km. They are reciprocals: 12 km/L is 8.3 L/100km. If your dashboard shows the L/100km figure, divide 100 by it before entering.
  • Fuel Price is the pump price per gallon or per liter.
  • Round Trip doubles the distance for the return journey.

Practical example (Imperial): A 350-mile road trip in a sedan that gets 28 MPG with gas at $3.50/gallon. Fuel needed = 350 / 28 = 12.5 gallons. Trip cost = 12.5 × $3.50 = $43.75 one way, or $87.50 there and back.

Practical example (Metric): A 500 km trip in a car that gets 12 km/L with fuel at $1.60/liter. Fuel needed = 500 / 12 = 41.67 liters. Trip cost = 41.67 × $1.60 = $66.67 one way.

Typical fuel efficiency by vehicle type:

  • Small cars: 13–18 km/L (30–42 MPG)
  • Sedans: 10–15 km/L (24–35 MPG)
  • SUVs: 7–12 km/L (17–28 MPG)
  • Trucks: 5–9 km/L (12–21 MPG)

Tips: Highway driving is typically 10–15% more fuel-efficient than city driving. Air conditioning, roof racks, and heavy loads all reduce efficiency. If splitting fuel costs with passengers, divide the total cost by the number of people for a fair share.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.