Distance & fuel

Fuel Economy Calculator

Find fuel economy from a measured trip, or convert a known rate between metric, US, and Imperial units.

Calculate or convert fuel economy

Fuel consumed over this distance, not the tank's capacity.

Enter positive numbers with a period for decimals. Grouped values such as 1,000.50 are accepted. Select units separately.

Changing an input unit keeps the entered number and clears the previous result. Check the value, then calculate again. Changing the main result unit shows the same calculated rate in that unit.

Example: 600 km using 40 L → 15 km/L.

Fuel consumption

Enter a measured trip or a known rate, then select Calculate.

≈ marks display rounding. Calculations run in your browser. Press Enter to calculate. Successful results appear in this tab's Recent calculations.

Fuel economy and consumption examples

Measured trip

600 km using 40 L

km/L = distance ÷ fuel

600 ÷ 40 = 15 km/L. Fuel consumption is 100 ÷ 15 = 6⅔ L/100 km, shown as approximately 6.666667 L/100 km at six decimal places.

US miles per gallon

300 miles using 10 US gallons

mpg = miles ÷ gallons

300 ÷ 10 = 30 US mpg. The same rate is approximately 7.840486 L/100 km or 36.028498 Imperial mpg. The physical fuel economy has not changed.

Reciprocal units

8 L/100 km

km/L = 100 ÷ (L/100 km)

100 ÷ 8 = 12.5 km/L. Reducing consumption from 8 to 4 L/100 km doubles fuel economy from 12.5 to 25 km/L.

Measurements, conversions, and rounding

For a refill measurement, start and finish at comparable fill levels, note the distance covered between them, and use the refill amount as an estimate of fuel consumed. Inconsistent fill levels, inaccurate meters, or omitted refills affect the answer. Tank capacity alone does not tell you how much fuel was used on a particular trip.

The exact definitions used here are 1 international mile = 1.609344 km, 1 US liquid gallon = 3.785411784 L, and 1 Imperial gallon = 4.54609 L. US dry gallons and nautical miles are not supported. For a rate in km/L, multiply by liters per gallon and divide by 1.609344 to obtain that gallon system's mpg. L/100 km equals 100 divided by km/L.

Every active input must be greater than zero, with at most 64 characters, 15 integer digits, and 10 decimal places. Expressions, scientific notation, and units inside numeric fields are not accepted. Unused mode fields are disabled and do not affect the result. This tool excludes zero fuel use because a reciprocal fuel economy rate would not be finite.

Unit conversions and arithmetic retain exact fractions. Only the final display is rounded, with halfway values rounded away from zero and trailing zeros removed. ≈ marks a rounded value; a notice explains when a positive rate rounds to zero. Changing the main unit or precision reformats the existing result without adding a recent-calculation entry.

This is a distance-and-volume calculation for the values you provide, not an official test-cycle rating or an estimate of future performance. It does not calculate electric-vehicle MPGe, emissions, fuel prices, or measurement uncertainty. More displayed digits do not make the measurements more accurate.

References: FuelEconomy.gov — calculating MPG from distance and refills, US EPA — fuel economy and consumption on vehicle labels, and NIST Guide to the SI — unit conversion factors.

Common questions

Why is Imperial mpg higher than US mpg?

An Imperial gallon contains more liters than a US liquid gallon. The same vehicle can therefore travel more miles on one Imperial gallon. Always compare rates that use the same gallon definition.

Is a higher fuel economy number always better?

For mpg and km/L, higher means more distance for the same amount of fuel. For L/100 km, lower means less fuel consumed over the same distance. Check the unit before comparing two numbers.

Can I average the mpg values from several trips?

A simple average can be misleading. For a combined rate, add all trip distances and all fuel quantities in matching units, then divide total distance by total fuel. For example, 100 miles on 5 gallons and 100 miles on 10 gallons combine to 200 ÷ 15 ≈ 13.33 mpg, not the simple average of 20 and 10 mpg.

Does this calculator give my trip's fuel cost?

This tool finds or converts a fuel economy rate. Use the linked Fuel Cost Calculator with distance, a known rate, and a fuel price to estimate the cost of a journey.

Why does a positive value display as approximately zero?

The value is smaller than the chosen display resolution. Increase the decimal places or select another main unit. The original fraction is retained for all conversions.