Calc Garden

Plot No. 33 · Everyday & Shopping

Gas Mileage (MPG) Calculator

Work out your fuel efficiency from miles driven and US gallons used. Miles per gallon is simply distance divided by fuel, so 300 miles on 12 gallons is 25 MPG. It also converts that to litres per 100 km and kilometres per litre for easy comparison with metric figures.

Inputs
Results
Fuel economy25.0 MPG
Litres per 100 km9.41
Kilometres per litre10.63

Figures use US gallons (3.78541 litres). For a UK gallon, which is larger, your MPG number would be higher for the same fuel.

The link saves your inputs so you can bookmark or share this exact result.

MPG for common miles and gallons

Miles per gallon is one division: miles driven divided by gallons used. Drive 350 miles on 14 US gallons and that is 350 divided by 14, which is exactly 25 MPG. Any pair of numbers works in the calculator above; these are the fill-ups people look up most.

Miles drivenUS gallons usedMPGLitres per 100 km
2001020.011.76
2501025.09.41
3001225.09.41
3001030.07.84
3501425.09.41
4001625.09.41
4001233.37.06
4501530.07.84
5002025.09.41
5001533.37.06

MPG converted to litres per 100 km, km per litre and UK MPG

A US gallon is 3.78541 litres and a mile is 1.609344 km, so litres per 100 km is 235.214 divided by your MPG. That is a reciprocal, not a scale: lower litres per 100 km is better, while higher MPG is better. A UK (imperial) gallon is 4.54609 litres, about 1.201 times a US gallon, so the same car always shows a higher MPG number in UK figures than in US ones. MPG measures efficiency rather than money, so to turn one of these figures into the cost of a journey you also need the pump price: the fuel cost calculator does that part.

US MPGLitres per 100 kmKm per litreUK (imperial) MPG
1515.686.3818.0
2011.768.5024.0
259.4110.6330.0
307.8412.7536.0
356.7214.8842.0
405.8817.0148.0
455.2319.1354.0
504.7021.2660.0
554.2823.3866.1
603.9225.5172.1

Rounded for display. Figures are calculated from the exact conversions (3.78541 litres per US gallon, 4.54609 litres per UK gallon, 1.609344 km per mile), so a UK MPG figure quoted for a car is not directly comparable with a US one.

How miles per gallon is worked out

This calculator divides the miles you drove by the US gallons of fuel you used to give your miles per gallon. Drive 300 miles on 12 gallons and you get 25 MPG. A higher MPG means your car travels further on each gallon.

It also converts that figure into metric terms so you can compare against European fuel data. Using a US gallon of 3.78541 litres and a mile of 1.609344 km, 12 gallons over 300 miles is 45.42 litres over 482.8 km, which is about 9.41 litres per 100 km, or roughly 10.63 km per litre. Note this measures efficiency only, not what a trip costs, for which you would use our fuel cost calculator.

How to use the gas mileage calculator

  1. Fill your tank, reset the trip meter, then drive normally until your next fill-up.
  2. Enter the miles shown on the trip meter and the US gallons it took to refill.
  3. Read your MPG along with the litres per 100 km and kilometres per litre conversions.

Worked examples

A typical tank

Inputs: 300 miles driven on 12 US gallons

Result: 25.0 MPG, which is about 9.41 litres per 100 km and 10.63 km per litre, a fairly average figure for a midsize car.

An efficient run

Inputs: 420 miles driven on 10 US gallons

Result: 42.0 MPG, around 5.60 litres per 100 km, the kind of figure a small or hybrid car returns on a motorway.

Limitations and common mistakes

Edge cases and limitations

  • Figures use US gallons (3.78541 litres). A UK gallon is larger, so the same fuel would show a higher MPG number.
  • A single tank reflects that journey only; mixed city and motorway driving over several tanks gives a truer average.
  • It measures efficiency, not cost, so it does not factor in the price of fuel.

Common mistakes

  • Mixing up US and UK gallons, which throws the result off by about 20 percent.
  • Forgetting to reset the trip meter at the previous fill-up, so the distance does not match the fuel.

Frequently asked questions

How do I calculate miles per gallon?

Divide the miles you drove by the gallons of fuel you used. Driving 300 miles on 12 US gallons gives 300 divided by 12, which is 25 MPG. Fill up, reset the trip meter, then refill and note both numbers for an accurate reading.

How does MPG convert to litres per 100 km?

A US gallon is 3.78541 litres and a mile is 1.609344 km. 25 MPG means 12 gallons (45.42 litres) over 300 miles (482.8 km), which works out to about 9.41 litres per 100 km. Lower litres per 100 km means a more efficient car.

Does this measure my fuel cost?

No, this measures efficiency only, not what a journey costs. For the price of a trip you need the fuel price too. Use our separate fuel cost calculator for that; this page tells you how far your car goes on each gallon.

What is 30 MPG in litres per 100 km?

About 7.84 litres per 100 km. The shortcut is to divide 235.214 by your MPG figure, so 30 MPG gives 235.214 divided by 30. It works the other way too: 235.214 divided by litres per 100 km gives you MPG back. Note that it is a reciprocal, so higher MPG is better but lower litres per 100 km is better.

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

Because a UK (imperial) gallon is 4.54609 litres against a US gallon's 3.78541, about 1.201 times larger. A bigger gallon carries the car further, so the same car scores about 20 percent higher in UK figures. A car rated 30 MPG in the US is roughly 36 MPG in the UK. This calculator uses US gallons, so multiply by 1.201 to compare with a UK figure.

See all everyday & shopping calculators.