Utilix

Everyday & lifestyle · Vehicle Travel

Fuel Cost Calculator

Calculate the fuel cost for any road trip. Enter distance, fuel efficiency (L/100km or MPG), and fuel price. Supports metric and imperial units. Free gas cost calculator.

km
L/100km
$/L
Enter values above to see the result.

How it works

Calculates the fuel cost for a trip given distance, vehicle fuel efficiency, and fuel price. Supports both metric (L/100km) and imperial (miles per gallon) units.

Formula

Fuel used (L) = Distance (km) × Efficiency (L/100km) ÷ 100

Fuel used
Litres or gallons needed for the trip
Distance
Total trip distance in km or miles
Efficiency
L/100km or miles per gallon (MPG)

Step by step

  1. 1Choose metric or imperial units.
  2. 2Enter trip distance, vehicle fuel efficiency, and current fuel price.
  3. 3Metric: fuel = distance × efficiency ÷ 100; cost = fuel × price per litre.
  4. 4Imperial: fuel = distance ÷ mpg; cost = fuel × price per gallon.

Examples

200 km trip, 8 L/100km, $1.80/L

200 km × 8 L/100km ÷ 100 = 16 litres; 16 × $1.80 = $28.80.

Inputs

units:
metric
distance_km:
200
efficiency_l100:
8
price_per_litre:
1.8

Result

total_cost:
$28.80
fuel_used:
16.0 L

120 miles, 30 mpg, $3.50/gal

120 miles ÷ 30 mpg = 4 gallons; 4 × $3.50 = $14.00.

Inputs

units:
imperial
distance_miles:
120
efficiency_mpg:
30
price_per_gallon:
3.5

Result

total_cost:
$14.00
fuel_used:
4.0 gal

Frequently asked questions

How do I convert L/100km to MPG?

Divide 235.21 by the L/100km value. For example: 8 L/100km = 235.21 ÷ 8 ≈ 29.4 mpg.

Why does fuel efficiency matter for cost?

A car that uses 6 L/100km instead of 8 L/100km saves 25% on fuel for every trip — equivalent to getting a 25% discount on fuel prices.