=ThatCalc
Calculators / Cars & EVs

MPG Calculator

Work out your real gas mileage from a fill-up, plus your cost per mile.

Your gas mileage
—
Liters per 100 km—
Cost per mile—
Was this calculator helpful?

How it's calculated

MPG = miles driven ÷ gallons used L/100 km = 235.215 ÷ MPG cost per mile = gas price ÷ MPG

Example

Driving 320 miles and then refilling 11.2 gallons works out to 28.6 MPG. At $3.50 a gallon, that is about $0.12 per mile.

Tips

For the most accurate number, fill the tank all the way, reset your trip meter, drive normally, then fill up again at the same pump if you can. Averaging a few fill-ups smooths out differences in how full the tank gets.

Common questions

How do I measure MPG?

Fill the tank, reset the trip meter, drive, then refill. Divide the miles on the trip meter by the gallons it took to refill.

Why is my MPG lower than the sticker?

Short trips, cold weather, idling, aggressive driving and low tire pressure all lower real-world mileage.

How do I convert MPG to L/100 km?

Divide 235.215 by your MPG. For example, 30 MPG is about 7.8 L/100 km.

These numbers are estimates for planning. Measurements, materials and products vary, so check with your supplier or the product label before you buy, and follow local codes for structural work.

Related calculators