⛽ Fuel & Mileage Tools

MPG Calculator

Find miles per US or Imperial gallon from trip records.

⛽

Calculate your result

Enter your figures below. Values stay in your browser.

How to use this calculator

Enter the miles driven and gallons consumed over the same interval. Select the gallon standard used on the receipt. Add several fill-ups together before calculating a longer-term average.

Formula used

MPG = miles travelled ÷ gallons used, with the output labelled US or Imperial to match the input gallons.

Worked example

450 miles using 15 US gallons gives 30 US MPG. If the 15 gallons were Imperial gallons, the answer would instead be 30 Imperial MPG.

Build a pump-to-pump MPG record

Use odometer distance and the gallons actually added at the next comparable fill. If a receipt is in litres, convert the fuel volume first instead of typing litres into a gallons field.

Label every saved result US MPG or Imperial MPG. A naked “30 MPG” figure is ambiguous internationally, so retaining the gallon standard is part of the measurement rather than a cosmetic detail.

Assumptions and limits

Do not enter litres into the gallons field. Use consistent fill levels and combine several tanks for a more representative figure.

FuelEconomy.gov: factors affecting fuel use · Calculation methodology

Found a discrepancy? Send the inputs and expected result.

Related tools

AT
Calculation checked against documented units

This page shows the formula, a worked example, page-specific interpretation and the main limitations so you can audit the result before using it.

How we maintain these tools