Fuel Cost Calculator

Work out how much fuel a trip will use and what it will cost - in US mpg, UK mpg or L/100 km - and split it between passengers.

Distance ÷ fuel economy × price · By Stuart Mathieson · Updated October 2026

Units
mi

One way

L/100 km

$ / litre

people

How the fuel cost calculator works

The calculator works out how much fuel the trip needs from the distance and your vehicle's fuel economy, then multiplies by the fuel price. It handles the three common ways of measuring fuel economy:

US: gallons = miles ÷ mpg; cost = gallons × price per gallon
UK: litres = miles ÷ mpg × 4.54609; cost = litres × price per litre
Metric: litres = km × L/100 km ÷ 100; cost = litres × price per litre

A US gallon is exactly 3.785411784 liters, and a UK (imperial) gallon 4.54609 liters - about 20% bigger. That's why the same car shows a higher mpg figure in the UK than in the US. UK fuel is sold by the litre, but fuel economy is still quoted in miles per gallon, so the calculator converts between the two for you.

Worked examples

Tick Round trip to double the distance, and enter the number of people to see each person's share.

Converting fuel economy

mpg measures how far you go on a gallon - higher is better. L/100 km measures how much fuel you use to go 100 km - lower is better. To convert:

L/100 km = 235.215 ÷ US mpg = 282.481 ÷ UK mpg
Fuel economy conversions
L/100 kmUS mpgUK mpg
458.870.6
547.056.5
639.247.1
829.435.3
1023.528.2
1219.623.5

Getting a realistic fuel economy figure

Frequently asked questions

How do I calculate the fuel cost of a trip?

Divide the distance by your car's fuel economy to get the fuel used, then multiply by the price. A 300-mile trip at 28 mpg uses 10.71 gallons, which costs $37.50 at $3.50 a gallon.

Why is UK mpg higher than US mpg for the same car?

A UK (imperial) gallon is 4.54609 liters, about 20% more than a US gallon of 3.785411784 liters, so a car goes further on a UK gallon. 30 US mpg is about 36 UK mpg.

How do I convert mpg to L/100 km?

Divide 235.215 by US mpg, or 282.481 by UK mpg. 30 US mpg is 7.84 L/100 km.

Does it work for electric cars?

Not directly - this calculator uses fuel volumes. For an electric car, multiply the trip distance by its energy use (kWh per mile or per 100 km) and by your electricity or charging price.

Sources