Gas Mileage Calculator

TRANSPORTATION · FUEL ECONOMY

Enter odometer or trip fuel data

Calculated on this device
Current odometer reading in miles, greater than previous odometer.
miles
Previous odometer reading in miles.
miles
Volume of fuel added in gal.
gal
Optional fuel price per gal.
$

FUEL ECONOMY

24.00 MPG (US)

360.0 miles (579.4 km) on 15.00 gal (56.78 L). Total fuel cost: $52.50.

Formula MPG = Distance (mi) ÷ Fuel (gal); L/100km = 235.2146 ÷ MPG

US MPG24.00Imp: 28.82 MPG
L / 100 km9.80Metric consumption
km / L10.20Metric efficiency
Cost / Mile$0.146$9.06 / 100 km

HOW IT WORKS

Measuring real-world fuel economy

The most accurate way to measure vehicle fuel economy is the full-tank fill-up method: reset your trip odometer or note your odometer reading when filling the tank, drive normally, and divide the distance traveled by the fuel needed to refill.

01

US Miles Per Gallon (MPG)

Divide miles driven since your last fill-up by the US gallons added to return the tank to full:

MPG = (Current Odometer − Previous Odometer) ÷ Fuel Added (gal)
02

Metric L/100km & km/L

Using exact international definitions (1 mi = 1.609344 km, 1 US gal = 3.785411784 L), L/100km equals 235.2146 ÷ MPG (US).

03

Fuel Cost Per Mile

When you enter an optional price per gallon or liter, the calculator computes total fill-up cost, cost per mile, and cost per 100 km.

FUEL ECONOMY GUIDE

MPG vs. L/100km and tracking trip expenses

Why L/100km is an inverse scale compared to MPG

Higher MPG means better efficiency, whereas lower L/100km means less fuel burned per 100 kilometers. Comparing L/100km avoids the “MPG illusion” where upgrading from 15 to 20 MPG saves far more fuel over 10,000 miles than upgrading from 40 to 50 MPG. For business trip reimbursement or driving time estimates, see our Mileage Calculator; if you recently changed wheel or tire diameters, verify odometer error in the Tire Size Calculator.

Frequently asked questions

How do I convert MPG (US) to L/100km?

Divide 235.214583 by your US MPG. For example, 30 US MPG equals 235.2146 ÷ 30 ≈ 7.84 L/100km.

Why is Imperial MPG higher than US MPG?

An Imperial gallon is 4.54609 liters, about 20% larger than a US gallon (3.78541 liters), so a vehicle travels ~20% farther per Imperial gallon.

Why does my dashboard MPG differ from my fill-up calculation?

Dashboard trip computers estimate fuel flow from injector pulse widths, whereas the full-tank odometer method measures actual fuel dispensed at the pump.

Is fuel price required?

No. Leave the Fuel Price field blank if you only want fuel economy metrics (MPG, L/100km, km/L).

All gas mileage calculations run locally in your browser and are never sent to a server.