Skip to content
Sumetrio

Fuel cost calculator

Enter the distance, your car's consumption and the fuel price in whatever units you have them. US and Imperial gallons are different volumes, so "40 MPG" means two different things depending on where you are, and both are supported separately.

From your car's trip computer or its official figure.

Number of people sharing the cost.

Result

Total cost
53.46
Fuel needed
31.08 L
Total distance
420 km
Consumption
7.4 L/100 km
Cost per km
0.127
In US gallons
8.21 US gal

How this is calculated

litres = distance in km × litres per 100 km ÷ 100
cost = litres × price per litre
L/100 km from MPG = litres per gallon ÷ (MPG × 1.609344) × 100

Everything is converted to kilometres and litres first, then back to whatever units you chose for display. The gallon conversion uses the exact definitions — 3.785411784 litres for the US gallon and 4.54609 for the Imperial one — rather than rounded approximations.

L/100 km
— litres burned per hundred kilometres: lower is better
MPG
— miles per gallon: higher is better, and the gallon differs by country
1.609344
— kilometres in one statute mile, by definition

Worked example

A 420 km drive in a car using 7.4 L/100 km burns 420 × 7.4 ÷ 100 = 31.08 litres. At 1.72 per litre the trip costs 53.46, which is 0.127 per kilometre. Split between three people that is 17.82 each. Note the gallon trap: a car rated at 40 MPG in the US uses 5.88 L/100 km, while the same 40 MPG figure in the UK means 7.06 L/100 km. The Imperial gallon is about 20% larger, so the same number describes a 20% thirstier car.

How to use it

  1. Enter the one-way distance and tick round trip if you are coming back.
  2. Enter your consumption in whichever unit your car reports. If you use MPG, pick US or Imperial to match where the figure came from.
  3. Enter the fuel price per litre or per gallon, matching the pump.
  4. Set the number of travellers to split the cost.

Limitations and assumptions

  • This assumes a constant consumption figure for the whole trip. Real consumption varies with speed, load, terrain, weather, traffic and tyre pressure, and motorway driving differs substantially from town driving.
  • Official or trip-computer consumption figures tend to be optimistic. If you want a realistic cost, work out your own figure from fuel bought divided by distance covered over several tanks.
  • Fuel prices change and differ between stations and countries. The price you enter is the price used; nothing is looked up.
  • Only fuel is counted. Tolls, parking, wear, tyres, servicing and depreciation are real costs of a journey and none of them are here.
  • Electric vehicles are not modelled: energy is priced per kWh and consumption is measured differently.

Questions

Is a US gallon the same as an Imperial gallon?

No. A US gallon is 3.785 litres and an Imperial gallon is 4.546 litres, about 20% larger. So 40 MPG in the US is 5.88 L/100 km, while 40 MPG in the UK is 7.06 L/100 km. Comparing the two numbers directly makes a US car look thirstier than it is.

How do I convert L/100 km to MPG?

They are inversely related, so you divide rather than multiply. For US MPG, divide 235.21 by the L/100 km figure; for Imperial, divide 282.48. A car at 8 L/100 km is 29.4 US MPG or 35.3 Imperial MPG.

Why is lower better for L/100 km but higher better for MPG?

Because they measure opposite things. L/100 km is fuel per distance, so less fuel is better. MPG is distance per fuel, so more distance is better. This also means MPG differences are misleading at the top end: going from 10 to 20 MPG saves far more fuel than going from 40 to 50.

What consumption figure should I use?

Your own, measured over several tanks: litres put in divided by kilometres covered, times 100. Official figures are measured under test conditions and real-world consumption is usually higher.

Related calculators

This page has not yet had an editorial review.