Calculate fuel efficiency from distance, odometers or multiple fill-ups, with correctly weighted overall consumption and unit comparisons.
01 / INPUTS & ASSUMPTIONS
02 / RESULT & EXPLANATION
| Trip | Distance (mi) | Fuel (USgal) |
|---|---|---|
| 1 | 300 | 10 |
Enter your values locally; no inputs are uploaded.
Check validation feedback before reviewing the browser-generated result.
Review the explanation, copy supported outputs or reset the workspace.
Enter the values and units for gas mileage calculator, review the stated scope, then choose Calculate. Use the worked explanation and bounded tables to check the result; copy or reset locally.
Sum real distance and fuel for weighted multi-fill efficiency instead of averaging MPG. Compare all four efficiency conventions and optional unit-specific fuel costs.
Gas Mileage Calculator inputs and calculations remain in browser memory. No external processing service receives entered values. Existing website infrastructure may log ordinary page requests; copying occurs only when selected.
Use the distance traveled from a full tank to the next comparable full tank and the fuel replaced. Partial fills can distort the measurement; combine them only when the entire completed full-tank interval is represented.
The calculator sums normalized distance and fuel, then divides total distance by total fuel. It never arithmetic-averages MPG values. For 100 km/10 L plus 300 km/15 L, the overall result is 400/25 = 16 km/L.
Yes. Distance is ending odometer minus starting odometer. The end must exceed the start; equal or reversed readings do not define a valid efficiency interval.
MPG US, MPG imperial, km/L and L/100 km. Miles use 1.609344 kilometers; the US and imperial gallon factors are kept distinct.
Enter a common assumed price per selected fuel-volume unit. It is applied to all entered fuel, and total cost is divided by the traveled distance. Leaving price blank omits cost; it does not assume a free fuel price.
Efficiency requires positive distance and positive fuel. Zero fuel with positive distance would imply an undefined or unbounded ratio, and zero distance does not define consumption per distance. The calculator does not track or save vehicle history.