Fuel Consumption Calculator

Use this calculator to easily calculate the fuel consumption of a vehicle: car, bus, truck, etc. in liters per 100km, kilometers per liter, price per km travelled, etc.

km
liters
$
Share calculator:

Put it on your site!
get code

Fuel consumption formula

The formula for calculating fuel consumption used in this online fuel consumption calculator is:

Fuel consumption = Fuel used / Distance travelled

The result depends on the metrics used as input: miles per gallon if the input was in miles and gallons, and km per liter if the input was in kilometers and liters.

Additionally, the fuel calculator will output the fuel cost per mile or fuel cost per km, depending on the metric units selected, as well as miles per $ / km per $. These are very useful when estimating your fuel costs and can help you predict your expenses easier on a future trip. For example, if you notice that your usually spend $0.15 per mile (15 cents per mile), then if you know you will be travelling for 200 miles, you can calculate the cost of the trip by multiplying 200mi x $0.15 = $30 for a 200 mile trip. Similarly, for km.

Different ways to calculate fuel economy

Fuel efficiency, or fuel economy, can be a tricky concept. For example, say you want to compare two types of cars: A and B. You put two researches, one American and one French, to the task, with the first using kilometers per liter as an efficiency metric, while the second using liters per km. You have each researcher record the efficiency of 2 cars of each type, or, alternatively, the consumption of one and the same car in two different environments (the data available is the same for both), and the results recorded by them look like so:

Data for car type A:

Researcher Car 1 Car 2 Average
American (km per liter) 1 km/l 4 km/l 2.5 km/l
French (liters per km) 1 l/km 0.25 l/km 0.625 l/km

Data for car type B:

Researcher Car 1 Car 2 Average
American (km per liter) 2 km/l 2 km/l 2 km/l
French (liters per km) 0.5 l/km 0.5 l/km 0.5 l/km

Average above means the arithmetic mean. The US engineer will see that for type A the average is 2.5 while for type B it is just 2.0, concluding that type A is more efficient than type B as it can cover a larger distance with a liter of diesel, petrol, gas, etc. The French will see that for type A the average is 0.625 while for type B it is 0.5 and will conclude that type B is more efficient than type A, as the car will use less fuel to cover the same distance. The two researchers would come to different conclusions as they are using different metrics!

But who is right in the above example? Most people would argue that when we calculate fuel efficiency we care about how much fuel we would need to cover a given distance. In such a case the French researcher is correct, as the average is misleading the US researcher. Here is an explanation why: if you were to take both cars of type A and want to cover 100 kilometers with each of them, you would need not 200 / 2.5 = 80 liters, but 125 liters of petrol (100 liters for the first car and 25 liters for the second). The French will get it right by multiplying 200 x 0.625 = 125. For type B both researchers will correctly estimate that 100 liters will be required for the same task. Therefore, type B is more efficient than type A.

However, if you define efficiency as covering the greatest distance given a certain fuel amount, then the US researcher would be correct. If we give each car of type A a liter of fuel, they will cover 5 kilometers combined while giving each car of type B a liter of fuel, they will cover only 4 km combined. It follows that type A is more efficient than type B using this definition. Note that the km/l average is not misleading here, as it is 2.5 km/l, and 2 x 2.5 = 5, which is correct.

The above is an illustration of why when using our fuel consumption calculator, as well as other such tools, it is important to keep track of the end goal and define the question at hand precisely, before measuring and making conclusions. It is also a lesson on applying appropriate data transformations. The arithmetic average is not invariant to monotonic transformations, so this is an issue when averaging performance of two or more vehicles, or when averaging the performance of a single vehicle in different situations, e.g. highway fuel consumption and city drive consumption could replace Car 1 and Car 2 in the above table and produce the same result.

The car example uses as basis one from Hand D. (1994) "Deconstructing Statistical Questions", Journal of the Royal Statistical Society, Series A, Vol.157-3:317-356.

Cite this calculator & page

If you'd like to cite this online calculator resource and information as provided on the page, you can use the following citation:
Georgiev G.Z., "Fuel Consumption Calculator", [online] Available at: https://www.gigacalculator.com/calculators/fuel-consumption-calculator.php URL [Accessed Date: 15 Dec, 2018].