Gas calculator: trip cost, MPG and fuel needed

Work out a trip's gas cost, how far a tank will take you, your MPG or the gas you need. The result updates as you type.

What do you want to work out?
Units

Gas cost

–

  • Fill in the fields to see the result.

Better in the Fuelio app for iPhone and Android

The calculator is a free feature in the app.

  • Trip cost, distance, consumption and fuel needed
  • Gas price from your last fill-up or your average
  • Consumption from your last fill-up or your average
  • Each car's own units, and a tank switch for bi-fuel cars

Available onAndroidiOS

Convert miles to km and MPG to l/100 km


Type a number in any box and the others update.

Miles and kilometers

Fuel economy

The iPhone and Android apps do it better

This page is a quick version to try. The calculator in the Fuelio app for iPhone and Android is a free feature, and it starts from your own driving instead of numbers you type. Pick what you want to work out (trip cost, distance, consumption or fuel needed) and most of the fields are already filled in.

  • Your real gas price. The price comes from your last fill-up, or from your average price if you prefer.
  • Your real consumption. Fuel economy comes from your fuel log (the mileage log): your last result or your long-term average.
  • Your car's units. The calculator uses the car you have selected, in the units you set up for it.
  • Bi-fuel cars. On a car with two tanks, such as gasoline and LPG, pick the tank and the price and consumption switch to that fuel.

You can still type over any value, for example to see what a trip would cost at a cheaper station.

How the numbers are worked out

The calculator turns everything into kilometers, liters and liters per 100 km, does the sum, then turns the result back into the units you picked.

UK and US gallons are different sizes. A UK (imperial) gallon is 4.546 liters and a US gallon is 3.785 liters, so 40 mpg in the UK is about 33 mpg in the US. That is why the calculator asks which gallon you use.