mi

Gas Mileage Calculator

Your car's mileage from the distance you drove and the fuel you put in, and what it cost.

Everyday & ConversionsTop 100 · #94Runs in your browser

Result…

Units

Odometer now minus odometer at the last fill.

What it took to fill the tank again.

$

Per gallon if the fuel is in gallons, per litre if it is in litres.

 

…

How it's calculated

mpg = miles ÷ gallons · L/100 km = litres ÷ km × 100
Cost per distance = fuel × price ÷ distance

Fill up, note the odometer, drive, then fill up again: the fuel it takes is what you used for that distance. Averaging over a few tanks smooths out pumps that click off at different points. Enter the price for the same measure as the fuel: per gallon for gallons, per litre for litres. In the UK, fuel is sold in litres but mileage is quoted in miles per imperial gallon (4.54609 L), so choose litres there.

Your numbers, step by step

    More in Everyday & Conversions