How it works
Enter one trip using either US or metric fuel units. The calculator converts the result into all three common efficiency formats.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
3-
?inputSystem=Input unitsChoice · Required · Default: us · Accepted values: us, metric
-
?distance=Distance traveledNumber · Required · Default: 360
-
?fuelUsed=Fuel usedNumber · Required · Default: 12
Outputs
3-
mpgMiles per US gallonNumber · Primary output
-
litersPer100KmLiters per 100 kmNumber
-
kmPerLiterKilometers per literNumber