Fuel Cost Calculator

Enter the distance, your car's fuel economy and the fuel price, each in the units you know. You get the trip cost, the fuel used, the cost per person and your economy in all four common units.

How it works

The calculator turns your fuel economy into litres per 100 km, works out how many litres the trip uses, then prices them in the unit your fuel price is quoted in.

A trip of 350 km in a car that uses 6.5 L/100 km needs 22.75 litres. At 1.80 a litre, that is 40.95.

US and UK gallons are different sizes. A US gallon is 3.785 litres and a UK gallon is 4.546 litres, so 30 mpg in the US and 30 mpg in the UK are not the same economy. Pick the right one. Everything runs on this page, and nothing you enter leaves your device.

How to use it

  1. 1 Enter the distance and choose kilometres or miles.
  2. 2 Enter your fuel economy and choose its unit.
  3. 3 Enter the fuel price and whether it is per litre or per gallon.
  4. 4 Choose one way or return, add how many people share the cost, and read the result.

Good to know

  • Your car's trip computer usually shows a real-world economy figure. It is often worse than the official figure.
  • Motorway driving at high speed uses more fuel than steady driving at moderate speed. Add a margin for a long, fast trip.
  • The second table shows your economy in all four units, which helps when comparing cars from the US, the UK and elsewhere.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Working out the fuel for a trip, whatever units your car uses

Three friends plan a 350 km drive to the coast and back. The car uses about 6.5 litres per 100 km, and fuel costs 1.80 a litre. One way, the trip needs 350 × 6.5 / 100 = 22.75 litres, which costs 40.95. Choose "Return" and the cost doubles to 81.90. Enter 3 people and each pays 27.30.

The hard part is often the units. Europe and much of the world give fuel economy as litres per 100 km, where a lower number is better. India and parts of Asia and Latin America use kilometres per litre, where a higher number is better. The US and the UK use miles per gallon, but their gallons are different sizes. The calculator accepts any of these and converts them first.

The gallon difference is easy to get wrong. A UK gallon holds 4.546 litres and a US gallon holds 3.785 litres, so the UK gallon is about a fifth larger. A car rated at 40 mpg in the UK uses about 7.06 L/100 km. A car rated at 40 mpg in the US uses about 5.88 L/100 km. If you compare a British review with an American one, convert first. The second table on this page shows your economy in all four units.

A US example works the same way. A 300-mile drive in a car that gets 30 mpg (US) uses 10 gallons. At 3.50 a gallon, the trip costs 35.00. Split between two people, each pays 17.50. The fuel price can be per litre or per gallon, whatever the pump shows, and it does not have to match the economy unit.

The figure is only as good as the economy you enter. Official figures come from standard lab tests and are often better than real driving. Speed, a roof box, heavy luggage, cold weather and city traffic all use more fuel. If your car shows an average on the dashboard, that is usually a better guide. For a long trip, add 10% to be safe.

This calculator has limits. It prices fuel only, not tolls, parking or wear on the car. It uses one economy figure for the whole distance. It does not cover electric cars, which use kWh. The currency setting only changes how amounts are shown; it does not convert between currencies.

Frequently asked questions

What is the difference between US and UK mpg?

The gallon. A UK (imperial) gallon is 4.54609 litres and a US gallon is 3.785411784 litres. So 40 mpg (UK) is about 7.06 L/100 km, while 40 mpg (US) is about 5.88 L/100 km.

How do I convert km/L to L/100 km?

Divide 100 by the km/L figure. A car that goes 20 km on a litre uses 100 / 20 = 5 litres per 100 km. The calculator shows all the units for you.

Does it work for diesel or LPG?

Yes, as long as the economy and price use the same fuel. It does not know the fuel type; it only multiplies the volume used by the price.

Does it work for electric cars?

No. Electric cars use kWh, not litres. For the cost of electricity, use the electricity cost calculator.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.