Gas mileage calculator (MPG)

Calculate MPG from miles driven and gallons used. Convert gas mileage to L/100 km or km/L, with separate US and UK gallons. Free, no sign-up.

Example values. Change them to match your vehicle.

Decimals: 1.75 or 1,75. No thousands separators.

mi
gal (US)

No account. Calculations stay in your browser.

Average consumption

27.78

MPG (US)

Calculated from the distance and fuel you enter, not a manufacturer's advertised figure.

The same consumption, in other units

L/100 km
8.47
km/L
11.81
MPG (UK)
33.36

Measure it between full tanks.

Fill the tank, note the odometer, then drive. At the next full fill-up, use the distance since the previous full tank and the fuel added now. For several tanks, divide total fuel by total distance rather than averaging the individual results.

A partial fill-up does not measure all the fuel consumed since the last full tank. Keep adding the fuel until the next full tank. Traffic, load and driving conditions can change the result.

Car expense tracker app for iPhone and Android

Stop doing the same calculation twice.