Formula and calculation boundaries
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
Read the variable definitions before substituting numbers. A dimensionless ratio, a percentage and a quantity with physical units are different types of input. Keep the displayed unit convention through the calculation, then round the final output rather than rounding intermediate values.
Measure and record the inputs
Record odometer distance and pump quantity for each interval. Use the same gallon convention, keep receipts and note unusual idling, towing or route conditions when comparing periods.
| Input | Example value | Check before entry |
|---|---|---|
| Distance unit | miles | Use the distance unit for the same vehicle and scenario; retain the displayed unit. |
| Measured distance traveled | 360 mi | Use the measured distance traveled for the same vehicle and scenario; retain the displayed unit. |
| Consumed fuel unit | US gallons | Use the consumed fuel unit for the same vehicle and scenario; retain the displayed unit. |
| Measured fuel consumed | 12 US gal | Use the measured fuel consumed for the same vehicle and scenario; retain the displayed unit. |
| Energy unit for GGE comparison | kWh | Use the energy unit for gge comparison for the same vehicle and scenario; retain the displayed unit. |
| Total energy for GGE comparison | 404.4 kWh | Separate energy comparison input. Example: 12 gasoline gallon equivalents × 33.7 kWh. Do not enter another fuel’s gallons as kWh. |
These values demonstrate the method. They are not recommended settings or a description of your vehicle. If a required measurement is unavailable, resolve that uncertainty before treating the result as a purchasing, adjustment or loading decision.
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.
Measured gas mileage: 30.00 mpg (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
Open the calculator's worked example to reproduce these starting values. Replace them with your own measured inputs, retain a note of the units and compare the revised result with the appropriate manufacturer record or transaction document.
Match the distance interval to the fuel interval
A full-to-full method uses the distance since the previous comparable fill and the fuel required to return to a similar fill point. Uneven parking, early nozzle shutoff and repeatedly topping off can change the apparent fuel amount. Record the method consistently rather than treating one short fill as a precise efficiency test.
A longer series of paired fills usually provides a more representative average than a single trip. Calculate total distance divided by total fuel, rather than taking an unweighted mean of individual MPG readings. Short, fuel-light intervals can otherwise have an excessive influence on the displayed average.
MPG measures distance per fuel. Liters per 100 kilometers measures fuel per distance, so an improvement makes MPG rise but L/100 km fall.
Keep the result attached to its input record. A number from a different load, test point, route or accounting period describes a different scenario, even when both results use the same unit. Use the Gas Mileage Calculator to compare one declared set of assumptions at a time.
What changes the result?
More measured miles raises MPG if gallons are unchanged. More measured gallons lowers it; fill-quantity errors become especially important when the denominator is small.
In a controlled example, change only Measured distance traveled from 360 to 396 mi, keeping all other example inputs fixed. The model returns Measured gas mileage: 33.00 mpg (US). This is a sensitivity comparison, not a recommendation to change a vehicle setting.
For a useful comparison, separate measurement uncertainty from a deliberate scenario change. First recheck the original input; then vary one quantity and record the effect. Changing several assumptions together can hide which one caused the result to move.
Common mistakes and a practical check
Do not divide total miles by the current fuel-tank rating. Fuel consumed must correspond to the measured interval; a dashboard remaining-range estimate is not a pump quantity.
- 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.
When an answer appears implausible, return to the units and source documents before adjusting the calculation to match a desired outcome. Check the input boundary, the denominator and whether the measurement was taken under the conditions represented by the model.
Assumptions and limits
- 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.
- 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.
The appropriate vehicle, component or policy document takes precedence over an illustrative model. For uncertainty about fitment, loading, repair, electrical protection or a contractual decision, verify the facts with the responsible manufacturer, technician, insurer or authority.
Sources and further reading
References identify the underlying measurement conventions or application requirements. AutoCalcGarage's examples and explanations are written independently; a reference does not certify a vehicle modification or endorse this tool.
- NIST — SI conversion factors ↗
Miles, liters, US/Imperial gallons and reciprocal fuel-economy conversions.
- US EPA — fuel economy and annual fuel cost conventions ↗
MPG, consumption per distance and estimated annual fuel costs depend on explicit assumptions.
- US Department of Energy — gasoline energy-equivalent convention ↗
33.7 kWh per gasoline gallon equivalent for energy-based comparisons.
Frequently asked questions
What should I check before using gas mileage?
Record odometer distance and pump quantity for each interval. Use the same gallon convention, keep receipts and note unusual idling, towing or route conditions when comparing periods.
Why might a measured result differ from the gas mileage example?
Do not divide total miles by the current fuel-tank rating. Fuel consumed must correspond to the measured interval; a dashboard remaining-range estimate is not a pump quantity.
How should I interpret gas mileage alongside other vehicle measurements?
MPG measures distance per fuel. Liters per 100 kilometers measures fuel per distance, so an improvement makes MPG rise but L/100 km fall.