Skip to content

Gas Mileage Calculator

Work out how far your car travels on a set amount of fuel. Enter the distance and the fuel you used, and see your fuel economy in mpg, L/100 km and km per litre. It works for any petrol or diesel car.

Units

Miles per gallon (US)

28.0 mpg

8.40 L per 100 km, or 11.90 km per litre. A lower L/100 km means better economy.

L/100 km
8.40 L/100 km
Kilometres per litre
11.90 km/L
Distance
350.0 mi (563.3 km)
Fuel used
12.50 gal (47.32 L)

How to use this calculator

  1. 1 Choose US or metric units to match the figures you have.
  2. 2 Enter the distance you drove, ideally from one full tank to the next.
  3. 3 Enter the fuel you added in the same period.
  4. 4 Read the fuel economy in all three common formats.

Three ways to write fuel economy

Fuel economy is written in three common ways. In the US, it is miles per gallon (mpg), where higher is better. Much of the world uses litres per 100 kilometres (L/100 km), where lower is better. Some places also use kilometres per litre (km/L), where higher is better.

The three figures describe the same car, so you can convert between them. The table shows how three common figures line up.

The same economy in three formats
US mpgL/100 kmkm per litre
25 mpg9.4110.63
28 mpg8.4011.90
40 mpg5.8817.01

How to measure your own figure

The most reliable method is a full tank to full tank. Fill the tank to the top, and reset your trip meter. Drive as you normally would, then fill up again to the same level. The distance divided by the fuel you added is your economy for that tank.

One tank can be unusual, for example if you drove mostly on motorways or only in town. Averaging several tanks gives a better picture of how your car really performs.

What changes fuel economy

Speed has a big effect. Air resistance rises faster than speed, so the faster you drive, the more fuel each mile takes.

Fuel use usually rises quickly at high motorway speeds, while steady, moderate speeds use less fuel. Stop-start town driving, idling and short trips with a cold engine also reduce economy.

Other factors matter as well. Extra weight, roof racks, under-inflated tyres and air conditioning can all increase fuel use. Check your tyre pressure regularly, and remove unused roof boxes.

Comparing cars fairly

Official test figures are measured in set conditions, so your own figure may be lower. Use your own readings to compare your car with a new one, rather than the figure on a brochure. Keep notes on the weather, load and type of driving, so you compare like with like.

Compare cars in the same units. A UK mpg figure uses imperial gallons, so it looks higher than a US mpg figure for the same car. The unit converter helps when the units do not match.

From economy to cost

Once you know your economy, you can work out what a trip will cost. Enter the same car’s figure into the fuel cost calculator with the price of fuel where you live. For the time a trip takes, the speed calculator works out the average speed.

If you claim mileage for work, the mileage calculator works out the reimbursement from your trips.

The formula

Miles per gallon

MPG = miles driven ÷ US gallons used

MPG
Miles per US gallon

Litres per 100 km

L/100 km = 235.214583 ÷ MPG

235.214583
Constant from 1 US gallon = 3.785411784 L and 1 mile = 1.609344 km

Kilometres per litre

km/L = MPG × 1.609344 ÷ 3.785411784

Worked example

Driving 350 miles on 12.5 US gallons

  1. 1.MPG: 350 ÷ 12.5 = 28.0 mpg
  2. 2.L/100 km: 235.214583 ÷ 28.0 = 8.40 L/100 km
  3. 3.km/L: 28.0 × 1.609344 ÷ 3.785411784 = 11.90 km/L

Fuel economy is 28.0 mpg, 8.40 L/100 km or 11.90 km/L.

Frequently asked questions

How do I measure my fuel economy accurately?

Fill the tank to the top, reset your trip meter, drive normally, then fill up again to the same level. Divide the distance by the fuel added. Repeat over several tanks for an average.

What is the difference between US and UK mpg?

A UK (imperial) gallon is larger than a US gallon, so UK mpg figures are about 20% higher for the same car. This calculator uses US gallons.

Is a lower L/100 km better?

Yes. L/100 km measures the fuel used for a fixed distance, so fewer litres means a more efficient car. Km per litre works the other way: higher is better.

Why is my mpg lower than the figure on the sticker?

Official figures come from set test conditions. Real driving, with traffic, weather and a full load, usually gives a lower figure.

Does air conditioning use more fuel?

Yes. Air conditioning runs on engine power, so it usually adds to fuel use. The effect is often larger at low speeds and in stop-start traffic.

Sources

Last reviewed by the GridCalculators team.