Skip to content
thecalculatorstudio

Gas Mileage Calculator: Find Your Real MPG

Enter the distance and fuel for each fill-up. You get your true fuel economy in four units and what each mile costs, weighted correctly across all the fill-ups.

Last reviewed

Fill-up 1
mi
US gal
Fill-up 2
mi
US gal
Fill-up 3
mi
US gal
$per US gal

Your fuel economy

30.3 mi per US gallon

915 mi on 30.2 US gallons

Miles per US gallon
30.3
Miles per imperial gallon
36.39
Kilometres per litre
12.88
Litres per 100 km
7.76
Each fill-up
#DistanceFuelmi per US gal
131210.430
22989.730.72
330510.130.2

The overall figure is the total distance divided by the total fuel. Averaging the individual fill-up figures instead would give 30.31, which is not the same whenever the fill-ups took different amounts of fuel.

How to measure your own fuel economy

The figure on a car’s sticker comes from standard tests. Your own depends on your roads, your speed and the weather, and the only way to know it is to measure it. The method is:

  1. Fill the tank completely, stopping at the first click of the pump, and note the odometer reading.
  2. Drive as you normally do.
  3. Fill the tank completely again, stopping at the first click, and note the fuel added and the distance driven.
  4. Divide the distance by the fuel: fuel economy = distance ÷ fuel.

Repeat for several fill-ups and enter each one as a row. The calculator then divides the total distance by the total fuel. That is the right way to combine fill-ups, because each tank counts in proportion to the fuel it used.

Worked example

Three fill-ups in miles and US gallons:

Fill-up Distance Fuel Miles per gallon
1 312 mi 10.4 gal 30
2 298 mi 9.7 gal 30.72
3 305 mi 10.1 gal 30.2

The total is 915 miles on 30.2 gallons, so the economy is 915 ÷ 30.2 = 30.298 miles per US gallon. The same figure in the other common units:

  • Miles per imperial gallon: 30.298 × 4.54609 ÷ 3.785411784 = 36.386.
  • Kilometres per litre: 30.298 × 1.609344 ÷ 3.785411784 = 12.881.
  • Litres per 100 km: 100 ÷ 12.881 = 7.763.

With a fuel price of 3.50 per gallon, the 30.2 gallons cost 105.70 and each mile costs 0.1155.

Why you add up, not average

It is tempting to average the mpg of each tank. That gives the wrong answer unless every tank used the same fuel. Suppose a 100 mile trip on 2 gallons gives 50 mpg and a 100 mile trip on 5 gallons gives 20 mpg. The average of those is 35 mpg. But you drove 200 miles on 7 gallons, so the true figure is 200 ÷ 7 = 28.6 mpg. The calculator shows the plain average underneath your result so you can see the difference.

The four units

Unit Meaning Better is
Miles per US gallon US gallon = 3.785411784 litres Higher
Miles per imperial gallon Imperial gallon = 4.54609 litres Higher
Kilometres per litre Distance per litre Higher
Litres per 100 km Fuel for 100 km Lower

A mile is exactly 1.609344 kilometres. To go from US mpg to litres per 100 km, divide 235.215 by the mpg figure; for imperial mpg the constant is 282.481. The two scales run in opposite directions: litres per 100 km shows fuel used per distance, so less is better.

Getting a reliable figure

  • Fill to the same point. Stop at the first click of the pump each time, on level ground.
  • Use the same pump if you can. Pumps differ slightly.
  • Use several fill-ups. One tank can be skewed by a long motorway run or a cold week.
  • Do not count a part-fill. A part-fill gives no way of knowing what was used.

Common mistakes

  • Mixing gallons. A UK figure and a US figure for the same car differ by about 20%.
  • Averaging tanks. Add up the distance and the fuel instead.
  • Counting the fuel in the tank. Only the fuel you added since the last fill counts.
  • Comparing L/100 km with mpg directly. One goes up as the other goes down.

For the cost of a trip, use the fuel cost calculator, and for other units the fuel consumption converter.

How it is calculated

All of the arithmetic is exact decimal arithmetic. Results are shown to five significant figures, and the cost to the cent.

Frequently asked questions

How do I calculate my gas mileage?

Fill the tank, note the odometer, drive as usual, then fill the tank again and note how much fuel it took. Divide the distance driven by the fuel added. For 312 miles on 10.4 gallons that is 30 miles per gallon.

Why use several fill-ups?

A single tank can be skewed by one long motorway run or a cold week. Several fill-ups smooth that out. The calculator divides the total distance by the total fuel, which weights each fill-up by how much fuel it took.

Why not average the mpg of each tank?

Because a small top-up would count as much as a full tank. If 100 miles on 2 gallons is 50 mpg and 100 miles on 5 gallons is 20 mpg, the true figure is 200 miles on 7 gallons, 28.6 mpg, not the average of 35.

Why is the UK mpg figure higher than the US one?

An imperial gallon is 4.54609 litres and a US gallon 3.785411784 litres, so the same car goes further on an imperial gallon. Multiply a US mpg figure by about 1.2 to get the UK figure.

How do I convert mpg to litres per 100 km?

Divide 235.215 by the US mpg figure. So 30 mpg is about 7.84 litres per 100 km. The scales run in opposite directions, so a lower litres-per-100-km figure is better and a higher mpg figure is better.

Does it matter if the tank is not full both times?

Yes. The method relies on the tank being filled to the same level each time, such as when the pump clicks off. If the level differs, the fuel added is not the fuel used and the result is out by the difference.

Related calculators

Sources