How it works
Miles/gallon = distance/fuel. In metric mode, km/L = kilometers/liters and L/100 km = 100 × liters/kilometers. Modes label the entered quantities; they do not convert gallon definitions.
Use a consistent fill-to-fill interval. This does not convert US and imperial gallons; the result follows the gallon unit you enter.
Worked example
Driving 287.5 miles on 10.2 gallons of gas works out to 28.2 miles per gallon.
How the miles per gallon changes with miles traveled
Other inputs keep their starting values: Gallons used: 10.2; Input mode: Miles and gallons. Examples only, not recommendations.
| Miles traveled | Miles per gallon |
|---|---|
| 143.75 | 14.093137 |
| 287.5 | 28.186275 |
| 575 | 56.372549 |
Cite this page
ToolOctopus. “Gas mileage calculator.” Updated . https://tooloctopus.com/gas-mileage-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.