FUEL ECONOMY & RUNNING COSTS / WORKSHOP TOOL

Gas Mileage Calculator

Calculate measured fuel economy and a separate gasoline gallon equivalent from entered fuel energy.

Measured gas mileage30.00 mpg (US)Details ↓
01

Your inputs

EDIT TO RECALCULATE

mi

US gal

kWh

Separate energy comparison input. Example: 12 gasoline gallon equivalents × 33.7 kWh. Do not enter another fuel’s gallons as kWh.

02

Your result

Measured gas mileage
30.00mpg (US)
Imperial fuel economy
36.03 mpg (Imp)
Liters per 100 kilometers
7.84 L/100 km
Kilometers per liter
12.75 km/L
Gallons per Mile
0.03333 US gal/mi
Fuel consumed per 100 miles
3.333 US gal/100 mi
Gasoline Gallon Equivalent
12.000 GGE
Distance per entered energy equivalent
30.00 mi/GGE

Mileage uses measured distance and consumed fuel. The separate GGE output converts entered energy using 33.7 kWh per gasoline gallon equivalent; it does not infer another fuel’s energy content.

  • For a fill-to-fill test, record distance and refill fuel at comparable fill levels. GGE is an energy convention, not an EPA-certified efficiency rating or equal vehicle performance.

Formula and method

Measured distance divided by consumed fuel gives distance per volume. Normalize distance and gallons before showing US MPG, Imperial MPG, km/L and L/100 km. The separate energy input powers the Gasoline Gallon Equivalent output: divide entered energy by 33.7 kWh/GGE. An energy equivalent is not another fuel’s physical gallon volume.

US MPG = miles / US gallons consumed

Gallons per Mile = 1 / US MPG

L/100 km = 235.214583333… / US MPG

GGE = entered energy (kWh) / 33.7

Energy (kWh) = energy (MJ) / 3.6

Understanding your inputs

Distance unit
miles or kilometers
Measured distance traveled
Enter mi. Accepted input range: 0.001–10000000.
Consumed fuel unit
US gallons or Imperial gallons or liters
Measured fuel consumed
Enter US gal. Accepted input range: 0.001–100000.
Energy unit for GGE comparison
kWh or MJ
Total energy for GGE comparison
Enter kWh. Accepted input range: 0.001–100000000. Separate energy comparison input. Example: 12 gasoline gallon equivalents × 33.7 kWh. Do not enter another fuel’s gallons as kWh.

Worked example

The measured example is 360 mi over 12 US gallons, giving 30 US MPG and 0.03333 US gal/mi. The separate energy example is 404.4 kWh, equal to 12 GGE under the stated convention.

Example inputs
Distance unit
miles
Measured distance traveled
360 mi
Consumed fuel unit
US gallons
Measured fuel consumed
12 US gal
Energy unit for GGE comparison
kWh
Total energy for GGE comparison
404.4 kWh

Default result: Measured gas mileage: 30.00 mpg (US).

Assumptions

  • Consumed fuel is measured over the same distance interval, preferably between comparable fill levels.
  • The GGE energy quantity is a separate input; the example does not assert a fixed heating value for every real blend.

Limitations

  • Unequal fill levels and odometer error affect measured economy. Average multiple intervals by total distance divided by total fuel.
  • Energy-based distance is a scenario comparison, not an EPA-certified MPGe rating or a prediction of engine efficiency.

Common mistakes

  • Dividing fuel by distance while labelling the result MPG.
  • Entering a count of diesel gallons or battery capacity as energy consumed without conversion and measurement.

Sources and methodology

Method reviewed October 1, 2026. Formulas are implemented independently; references explain the dimensions, ratings or application requirements.

Frequently asked questions

What is Gallons per Mile?

It is fuel volume divided by traveled distance, the reciprocal of MPG. Lower values mean less fuel consumed at equal distance.

Why does GGE have its own input?

Different fuels have different energy content. Enter the actual or specified energy quantity; this tool does not invent a universal gallons-to-energy factor for every fuel.