Guide
Working out fuel economy in mpg, litres per 100 km and km per litre, from a trip or a log of fill-ups
Fuel economy is one of the few numbers a driver can easily check against what the manufacturer claims. It needs only a distance and the amount of fuel burned over it. The trouble is units: miles per US gallon, miles per imperial gallon, litres per 100 kilometres and kilometres per litre are all in use. This page takes whichever units you have and returns all four, plus the money spent per mile or kilometre.
One trip
Enter the distance in miles or kilometres and the fuel in US gallons, imperial gallons or litres. The page converts to kilometres and litres, then derives each figure: litres per 100 km is the fuel in litres divided by the kilometres and multiplied by 100, kilometres per litre is its inverse, and miles per gallon divides the distance in miles by the gallons in the unit you want. The US and imperial values differ by the ratio of the gallons, 4.54609 to 3.785411784.
A log of fill-ups
Choose the list option and write one fill-up per line as an odometer reading and the fuel added, separated by a comma. The first line is the starting fill, which can have 0 for the fuel. Every later line gives the fuel added at a full tank, which is the fuel used since the line before. The page computes the economy for each tank, shows them in a table and then totals the distance and fuel to give the overall figure. Odometer readings must increase from line to line.
Costs
If you enter a fuel price, the page gives the cost of the fuel counted, the cost per mile or kilometre and the cost per 100 units of distance. The price is per the fuel unit you chose, so the gallon of your choice or the litre. This is a quick way to compare a trip by car with other transport, or to see the cost of a commute.
Edge cases
The distance and the fuel must be above zero in single trip mode. In fill-up mode each fuel amount after the first must be above zero and the odometer must increase. The method needs the same filling routine each time, because filling a little short one time shifts fuel from one tank to the next, although the total over many fills stays accurate. Mixed units in one list are not supported: use one distance unit and one fuel unit.
A worked example
300 miles on 10 US gallons is 30 mpg in US units, 36.0285 mpg in imperial units, 7.84049 litres per 100 km and 12.7543 km per litre. At 3.50 a gallon the fuel costs 35.00, which is 0.1167 a mile and 11.67 per 100 miles. For the log 12000 (start), 12390 with 11.2 gallons, 12781 with 11.6 and 13160 with 11.0, the tanks give 34.82, 33.71 and 34.45 mpg, and the total, 1,160 miles on 33.8 US gallons, is 34.3195 mpg, or 6.85367 litres per 100 km, with a fuel cost of 118.30. And 500 km on 40 litres is 8 litres per 100 km and 12.5 km per litre.
Limits
Real economy depends on speed, load, tyres, temperature and how you drive, so two tanks can differ by several percent even for the same car. The page does not read a trip computer, which can be a few percent optimistic, and it does not include electric vehicles or hybrids’ electricity. It also does not estimate carbon dioxide or the effect of ethanol blends.
Related tools
- MPG to km/L Converter turns a published rating from one unit to another without the cost lines.
- Fuel Cost Calculator plans the cost of a trip of a known distance from a rated economy.
- EV vs Petrol Calculator compares running costs of an electric car with the figures from this page.
- Kilometers to Miles Converter converts the distance part of a log from one system to the other.
Checked against the current version of the MPG Calculator on .

