Tool

Gas mileage calculator

Enter the distance since your last full tank and how much fuel it took to fill up again. The calculator shows US mpg, UK mpg, L/100 km, and km/L and updates as you type.

Use the distance since your last full tank and the fuel it took to fill up again.

Distance driven
Fuel used
US mpg —
UK mpg —
L/100 km —
km/L —

How it works

Gas mileage is distance divided by fuel. In the US that is miles per gallon:

mpg = miles driven ÷ gallons used

For metric units:

L/100 km = liters used ÷ km driven × 100

km/L = km driven ÷ liters used

Read the full guide with a worked example and common mistakes in How to calculate your gas mileage (mpg) by hand.