Auto & Transportation

Gas Mileage Calculator

Calculate fuel consumption from distance traveled and fuel used, with separate US and Imperial MPG results.

Private, in-browser calculationUpdated

Let’s work it out

Enter your numbers. We’ll show the working.

Choose miles or kilometers for your odometer difference.
Use fuel consumed over the measured distance.

How to use this calculator

  1. Enter distance traveled and the other values for your scenario.
  2. Check the units, rate convention, and assumptions below; replace every example with your own figures.
  3. Select Calculate, then compare the result and breakdown. Reset restores the example.

The formula

L/100 km = 100 × liters / kilometers; MPG = miles / gallons

The same distance and fuel quantity are expressed in all supported units. km/L is distance divided by liters, while L/100 km reverses the ratio and scales it to 100 km. US and Imperial MPG use different gallon sizes.

PUTTING IT INTO PRACTICE

A worked example

Driving 300 km on 24 liters gives 8 L/100 km and 12.5 km/L, equivalent to about 29.4018 US MPG or 35.3101 Imperial MPG.

How to interpret your result

Lower L/100 km means less fuel used per distance. Higher MPG or km/L means more distance per fuel volume. Do not compare US and Imperial MPG without converting.

Assumptions and limitations

Positive distance and positive fuel consumed during the same measurement interval.

Partial tank fills and inconsistent refill levels can distort results. Zero fuel or distance is rejected because one or more reported ratios would be undefined.

Sources

For informational purposes only. This calculator does not provide financial, tax, legal, or investment advice. Results are estimates.