Fuel Economy Calculator

Find fuel economy from the distance driven and the fuel used. Or find the fuel needed and the fuel cost from the economy, the distance and the fuel price per liter or per gallon.

What to calculate
km/L — The value copied is the fuel economy (km/L) or the fuel cost, without commas. Economy, fuel used and cost are rounded for display (economy and fuel used to 2 decimal places, the cost per km to 4).

How the results are calculated

The calculation uses exact fractions, and the fuel cost is rounded once, to 2 decimal places, at the very end (to the nearest value by default; rounding down and up are also available). If you enter a price per gallon, it is first converted to a price per liter by dividing by the number of liters in the gallon you chose, and then used in the same calculation.

km/L, L/100 km and mpg

Fuel economy is written differently in different places. km/L is common in Japan, L/100 km in much of Europe, and mpg (miles per gallon, the miles you can drive on one gallon) in the United States and the United Kingdom. A larger number is better for km/L and mpg, and a smaller number is better for L/100 km.

There are two kinds of mpg, US and UK, because the gallon is a different size in each:

Unit Size
1 mile 1.609344 km (the international mile; exactly 1,609.344 m)
1 US gallon (US gal) 3.785411784 L (231 cubic inches)
1 imperial gallon (UK gal) 4.54609 L (about 1.2 times the US gallon; exactly 4.54609 L)

For the same car, the UK mpg is the larger number (15 km/L is about 35.28 mpg in US terms and about 42.37 mpg in UK terms). When you compare figures from different countries, check whether they are US or UK mpg.

Examples

Notes

Sources for the values used

The size of the mile and the gallons are definitions from the sources below (checked on November 1, 2026).

Frequently asked questions

What is the full-tank method?

You fill the tank completely, and next time you fill it completely again. You divide the amount you added the second time by the distance driven in between to get the fuel economy. Write down the distance each time you fill up.

Can the fuel economy be 0?

No. At 0, the car would not travel and the fuel used could not be found, so the tool shows an error. A distance of 0 also cannot give a fuel economy (it would be 0 km/L and L/100 km could not be found).

How different are US mpg and UK mpg?

The imperial gallon (4.54609 L) is about 1.2 times the US gallon (3.785411784 L). For the same economy, the UK mpg is therefore about 1.2 times the US mpg.

Does the type of fuel matter for the cost?

The tool calculates with the price you enter, and it does not distinguish fuel types. Enter the price for the fuel you use.