Skip to content

Fuel Cost Calculator

Enter your distance, your fuel economy and the price of fuel to see what a trip costs. Or work out your fuel economy from a fill-up. You choose the units: miles or kilometres, US gallons, imperial gallons or litres.

Advertisement

How to calculate the fuel cost of a trip

Fuel economy is given in one of two ways. Miles per gallon tells you how far you drive on one gallon, so the fuel you need is the distance divided by the miles per gallon. Litres per 100 kilometres tells you how much fuel you use over 100 kilometres, so the fuel you need is the distance in kilometres times that figure, divided by 100. Multiply the fuel by the price per unit and you have the cost.

Example: 300 miles at 30 miles per US gallon needs 300 ÷ 30 = 10 US gallons. At a price of 3.50 per US gallon the trip costs 35.00. Enter the price shown at the pump or on your receipt; the calculator does not fill in a price or a currency.

US gallon, imperial gallon and litre

A US gallon is 3.785411784 litres. An imperial gallon is 4.54609 litres, about 20 percent more, so the same car has a higher figure in miles per imperial gallon than in miles per US gallon. One mile is exactly 1.609344 kilometres.

The calculator does not assume any of these. You choose the unit for the distance, for the fuel economy and for the price, and every conversion is shown in the working. That also covers mixed cases, such as miles per imperial gallon with a price per litre.

Fuel economy from a fill-up

If you do not know your fuel economy, fill the tank, drive, and fill it again. Divide the distance by the fuel you added to get miles per gallon, or divide the fuel by the distance and multiply by 100 to get litres per 100 kilometres. Adding 10 US gallons after 300 miles means 30 miles per US gallon, which is about 7.84 litres per 100 kilometres.

The result is an average for that trip. Speed, load and weather change it.

Frequently asked questions

What is the difference between miles per gallon for US and imperial gallons (mpg)?

The gallon. A US gallon is 3.785411784 litres and an imperial gallon is 4.54609 litres. The same car has a higher figure per imperial gallon: multiply the US figure by about 1.2 to get the imperial one.

How do I convert miles per gallon to litres per 100 kilometres?

Use the fill-up function: enter the distance and the fuel, then choose the unit for the result. As a rule of thumb, 235.2 divided by the miles per US gallon gives the litres per 100 kilometres.

Which price do I enter?

The price per litre or per gallon from the pump or your receipt, in your own currency. The result has no currency symbol.

Is the distance one way or a round trip?

The calculator uses the distance you enter. For a round trip, enter twice the distance.

How is the result rounded?

The cost is rounded to two decimal places, and 0.005 or more rounds up. The fuel amounts in the working show up to six decimal places.

Does it work for electric cars?

No, it counts fuel by volume. For electricity there is the electricity cost calculator.