MPG calculator

Work out your car's real fuel economy from a fill-up: miles per gallon, litres per 100 km and the cost a mile.

UK gallons of 4.54609 litres, from the Weights and Measures Act. Price filled in from DESNZ for the week beginning 9 November 2026.

Since you last filled the tank. Reset the trip counter when you fill up.
From the pump or your receipt.
To see the cost a mile. Filled in with this week's UK average petrol price.

Result

400 miles on 40 litres is 45.5 miles per gallon.

miles per UK gallon

Litres per 100 km6.21
Miles per litre10
Fuel cost a mile17.1p

Show the workings
StepSumAnswer
Gallons used40 litres ÷ 4.54609 litres a gallon8.799 gallons
Miles per gallon400 miles ÷ 8.799 gallons45.461 mpg
Litres per 100 km40 litres ÷ 643.7 km × 1006.214 litres
Fuel cost a mile40 litres × 170.71p ÷ 400 miles17.1p

What this leaves out or assumes

  • Fill to full both times, so the litres you add are the fuel you used. UK gallons, which are bigger than US gallons.

Where the figures come from

How to measure your mpg

  1. Fill the tank to full and reset the trip counter.
  2. Drive as normal until you need fuel again.
  3. Fill to full again, and note the litres you put in and the miles on the trip counter.

The litres you put in are the fuel you used, so miles divided by gallons is your mpg. A longer gap between fill-ups gives a more accurate answer.

Miles per gallon and litres per 100 km

Miles per UK gallonLitres per 100 km
309.4
407.1
456.3
505.6
604.7
704

A mile is 1.609344 km and a UK gallon 4.54609 litres. Lower litres per 100 km means better economy; higher mpg means better economy.

Work out something else