Gas Mileage Calculator (MPG, km/L, L/100 km)

Gas mileage is distance divided by fuel used. Driving 500 km on 40 litres is 500 ÷ 40 = 12.5 km/L, which is 8.0 L/100 km, or 29.4 mpg (US). Fill the tank, reset the trip meter, drive, then refill to measure it.

Inputs

The amount you added when you refilled the tank.
Result
–

Results are estimates for planning and education, not financial advice. Real lenders, banks and tax rules may differ — confirm figures with your provider.

How do you calculate gas mileage (mpg)?

mpg = miles driven ÷ gallons used km/L = kilometres driven ÷ litres used L/100 km = litres used ÷ kilometres driven × 100

Example: a car travels 500 km and takes 40 litres to refill. km/L = 500 ÷ 40 = 12.5. L/100 km = 40 ÷ 500 × 100 = 8.0. In US miles per gallon that is 29.4 mpg, and in UK gallons 35.3 mpg.

How to measure your real fuel average

  1. Fill the tank to the first click of the pump and note the odometer or reset the trip meter.
  2. Drive as you normally would until the tank is at least half empty.
  3. Fill up again to the first click at the same pump if possible.
  4. Enter the distance on the trip meter and the fuel added.
  5. Repeat three or four times and average the results.

The dashboard computer is convenient but can be a few percent optimistic. Measuring from the pump is more accurate. In Pakistan, "average" usually means kilometres per litre.

What is a good fuel economy?

It depends on the vehicle and the way you drive. As a rough guide, small petrol cars often manage 12 to 18 km/L (about 5.5 to 8.5 L/100 km), while large SUVs and trucks are often below 8 km/L. Hybrids and small diesels can be well above 20 km/L. Short trips in cold weather, heavy traffic, high speeds, strong headwinds and a heavy load all worsen consumption.

Once you know your figure, estimate what a journey will cost with the fuel cost calculator, and convert between unit systems with the unit converter.

Complete guide to the Gas Mileage Calculator

How to use the Gas Mileage Calculator, step by step

  1. Fill the tank and reset the trip meter.
  2. Drive, then refill and note the litres or gallons added.
  3. Enter the distance driven and the fuel used.
  4. Read your consumption in L/100 km, km/L and mpg.

Common mistakes to avoid

  • Not filling to the same level each time.
  • Using the dashboard figure as exact.
  • Measuring a single unusual tank.

Key terms explained

Fuel average
Kilometres per litre.
Trip meter
A resettable distance counter.
US gallon
3.785 litres.
UK gallon
4.546 litres.

Frequently asked questions

How do I calculate petrol average in km per litre?

Divide the kilometres you drove by the litres of petrol you used. If you drove 450 km on 30 litres, the average is 15 km/L.

How do I convert km/L to mpg?

Multiply km/L by 2.352 for US mpg or by 2.825 for UK mpg. 15 km/L is about 35.3 mpg (US).

What is the difference between US and UK mpg?

A UK (imperial) gallon is about 20% larger than a US gallon, so the same car has a higher mpg figure in the UK system.

Why is my fuel economy worse in winter or the city?

Cold engines, short trips, idling in traffic and heating all use more fuel, so consumption is usually higher in these conditions.

How accurate is the trip computer?

It is often within a few percent, but it can read optimistic. Measuring from the pump over several tanks is the most reliable way.

Related calculators

Guides worth reading