MPG Calculator

Work out your real fuel economy from the distance covered and the fuel it took, in mpg, L/100 km and km/L at once.

miles or km
litres or gallons
Distance in miles 420 mi
Fuel in US gallons 10.039 gal
US miles per gallon 41.84 mpg
mpg = miles ÷ gallons · L/100 km = 235.21 ÷ US mpg
Imperial miles per gallon 50.25 mpg
mpg = miles ÷ gallons · L/100 km = 235.21 ÷ US mpg
Litres per 100 km 5.62 L/100km
mpg = miles ÷ gallons · L/100 km = 235.21 ÷ US mpg
Kilometres per litre 17.79 km/L
Fuel cost per mile 0.1493
Fuel cost per 1000 miles 149.29

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the MPG Calculator does

This MPG calculator will work out your real fuel economy from the distance covered and the fuel it took, in mpg, L/100 km and km/L at once. Fill in all 5 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for measuring your car's real economy rather than the official figure. A related tool on this site is the engine displacement calculator.

How to use it

  1. Fill the tank completely and reset the trip meter.
  2. Drive normally until the tank is low, then fill completely again.
  3. Enter the trip distance and the fuel it took to refill.
  4. Read the economy in all three common units.

How it works

A US gallon is 3.785 litres and an imperial gallon is 4.546, so UK mpg figures are about 20% higher than US ones for the same car. Comparing a British road test against an American one without converting is the most common source of confusion about fuel economy.

Litres per 100 km is the inverse of miles per gallon, which is why improvements at the two ends of the scale are worth such different amounts. Going from 20 to 25 mpg saves one gallon per hundred miles; going from 40 to 45 saves a quarter of that. Per-100-km figures make the saving visible directly, which is why most of the world uses them.

For a real figure, fill to the first click of the pump, reset the trip, drive a full tank, then fill to the first click again. The fuel you put in is exactly what you used. One tankful is noisy, so average three or four.

When to use it

  • Measuring your car's real economy rather than the official figure.
  • Comparing a UK mpg figure against a US one.
  • Working out fuel cost per mile for expenses or mileage claims.
  • Tracking whether economy has worsened, which can signal a problem.

Common mistakes to avoid

  • Mixing US and imperial gallons.
  • Judging economy from a single tankful, which is noisy.
  • Filling to different levels at each end, which puts the error straight into the result.

Frequently asked questions

How do I calculate MPG?

Divide the miles travelled by the gallons used. Fill the tank, reset the trip, drive, then refill — the refill amount is what you used.

Why is UK mpg higher than US mpg?

Because an imperial gallon is 4.546 litres against the US gallon's 3.785 — about 20% bigger. 40 UK mpg is 33 US mpg.

How do I convert mpg to L/100 km?

Divide 235.21 by US mpg, or 282.48 by UK mpg. 30 US mpg is 7.84 L/100 km.

Related tools

See all auto & travel →