Gas Mileage Calculator

Calculate US mpg, imperial mpg, km/L and L/100 km from distance or odometer readings and fuel used, plus fuel cost per mile and per kilometer.

Any currency. Adds total fuel cost and cost per mile and per kilometer.

Fuel economy

29.4 US mpg

  • Consumption8 L/100 km
  • Distance per liter12.5 km/L
  • Imperial mpg35.31

How this was calculated

  1. L/100 km = 100 × liters ÷ kilometersPut in your numbers: 100 × 40 L ÷ 500 kmAnswer: 8 L/100 km
  2. US mpg = miles ÷ US gallonsPut in your numbers: (500 ÷ 1.609344) mi ÷ (40 ÷ 3.785411784) gal = 310.6856 ÷ 10.5669Answer: 29.4018 US mpg
  3. Imperial mpg = miles ÷ imperial gallonsPut in your numbers: 310.6856 mi ÷ (40 ÷ 4.54609) gal = 310.6856 ÷ 8.7988Answer: 35.3101 imperial mpg
  4. km/L = kilometers ÷ litersPut in your numbers: 500 km ÷ 40 LAnswer: 12.5 km/L
  5. Trip estimates do not include tolls, parking or vehicle maintenance.

Method

Consumption = fuel liters ÷ kilometers × 100. US mpg = 235.214583 ÷ consumption. Distance and fuel are converted to metric before calculating.

Worked example

500 km using 40 L gives 8 L/100 km, 12.5 km/L and approximately 29.401823 US mpg.

Assumptions and limits

For a tank-to-tank measurement, fill to the same level, track distance, then use the fuel added at the next fill. US and imperial gallons differ; use the unit on your fuel measurement.

Odometer readings and cost

Distance = odometer end − odometer start. With a fuel price per liter or gallon, fuel cost = fuel used × price, and cost per mile or per kilometer divides that cost by the distance. Conversions use the exact definitions 1 mi = 1.609344 km, 1 US gal = 3.785411784 L and 1 imperial gal = 4.54609 L.

Worked example: odometer

Readings of 12,000 and 12,300 miles on 10 US gallons give 300 ÷ 10 = 30 US mpg, which is 7.84 L/100 km or 36.03 imperial mpg. At 3.50 per gallon the fuel cost 35, or about 0.117 per mile and 0.072 per kilometer.

Frequently asked questions

How do I measure mpg with odometer readings?

Fill the tank and note the odometer. At the next fill, note the odometer again and the fuel added. Enter both readings and that fuel amount.

What is the difference between US and imperial mpg?

An imperial gallon is 4.54609 L and a US gallon is 3.785411784 L, so the same car shows about 20% more imperial mpg than US mpg.

References

Last updated . Results are estimates for informational purposes only.