Mileage Calculator

Work out the fuel efficiency a vehicle actually achieved. Enter the miles driven and the gallons used at fill-up, plus an optional price per gallon to see the cost per mile. The result updates as you type.

Your fill-up

Your mileage

Fuel efficiency—MPG
Liters per 100 km—
Cost per mile—
Total fuel cost—

Enter miles driven and gallons used to see the result.

How MPG Is Calculated From a Fill-Up

MPG equals miles driven divided by gallons used. For the most accurate figure, fill the tank fully, reset the trip meter, drive normally, then fill the tank fully again and divide the trip miles by the gallons added at that second fill-up. Liters per 100 km is the metric equivalent, calculated as 235.214583 divided by MPG, since one US gallon is 3.78541 liters and 100 km is 62.1371 miles.

Frequently Asked Questions

Why does my MPG change between fill-ups?

City driving, highway driving, weather, tire pressure, and load all change fuel use. A single tank gives one data point; averaging several fill-ups gives a steadier picture of a vehicle.

How is this different from the fuel price calculator?

This tool measures what a vehicle actually did, starting from miles driven and gallons used. The fuel price calculator plans ahead: it starts from a known MPG figure and works out what a future trip will cost.