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 start and end mileage and the fuel quantity used to restore the tank to a comparable level. Keep the gallon convention explicit.
| 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 distance and fuel to one interval
Record the odometer or trip meter at a consistent full-fill point, drive normally, then refill to a comparable endpoint. Divide interval miles by gallons added. Repeating the process across several fills reduces the influence of one unusual fill level.
US and Imperial gallons are different volumes, so label the convention. Dashboard economy can use a different measurement method and need not exactly match a pump-and-odometer calculation.
MPG is distance per fuel. L/100 km is the reciprocal-style fuel-per-distance metric, while fuel cost additionally requires a price.
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?
For the same distance, more fuel lowers MPG. For the same fuel quantity, more measured distance raises MPG.
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 odometer mileage by one fill or combine miles from one interval with gallons from another.
- 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 manual mpg calculation?
Record start and end mileage and the fuel quantity used to restore the tank to a comparable level. Keep the gallon convention explicit.
Why might a measured result differ from the manual mpg calculation example?
Do not divide total odometer mileage by one fill or combine miles from one interval with gallons from another.
How should I interpret manual mpg calculation alongside other vehicle measurements?
MPG is distance per fuel. L/100 km is the reciprocal-style fuel-per-distance metric, while fuel cost additionally requires a price.