Enter your trip distance, fuel economy and fuel price. The main result, Trip cost, is the cost of the fuel consumed over that distance. The Fuel used row shows the same fuel amount in both US gallons and liters, with gallons first in the miles-and-gallons system and liters first in the metric system.
Trip distance accepts miles or kilometers. The fuel economy unit menu supports US mpg, UK mpg, L/100 km and km/L. The measurement menus are linked, but the fuel-price unit menu can be changed separately. This lets you keep a distance in miles while entering a pump price per liter.
Fuel price accepts a price per US gallon or per liter. Enter the price yourself: the calculator does not look up current station prices. A zero price produces a zero trip cost without changing the estimated fuel used.
FuelEconomy.gov defines mpg as miles driven divided by gallons used. Rearranging that relationship gives the fuel needed for a known distance. Multiply that fuel amount by the price for the same volume unit to find the cost.
These equations apply when economy and price both use US gallons.
With L/100 km, fuel economy is expressed as the volume consumed over a fixed distance. Multiply the distance by that consumption rate and divide by 100. A lower L/100 km figure means less fuel used; a higher mpg or km/L figure means less fuel used.
Internally, distance reaches the formula in meters, so the calculator divides it by 1,000 to get kilometers. Fuel economy is converted to L/100 km and price to a price per liter. It calculates liters first, divides by exactly 3.785411784 to obtain US gallons, and multiplies the unrounded liters by the price per liter to obtain trip cost.
The calculator starts with a 300-mile trip, fuel economy of 30 US mpg and a price of $3.50 per US gallon. Fuel needed is 300 ÷ 30 = 10 gallons. The cost is 10 × $3.50 = $35.00.
The $3.50 price is an illustrative starting value, not a current national average. For a metric example, enter 500 km, 8 L/100 km and $1.60 per liter. Fuel used is 500 × 8 ÷ 100 = 40 liters, and trip cost is 40 × $1.60 = $64.00. The metric fuel row reads 40 L (10.6 gal).
This comparison keeps the trip at 300 miles and the price at $3.50 per US gallon. Only fuel economy changes. Fuel amounts are rounded to at most one decimal place for display, while costs use the unrounded fuel amount.
| Economy (US mpg) | Fuel (US gal) | Trip cost |
|---|---|---|
| 20 | 15 | $52.50 |
| 25 | 12 | $42.00 |
| 30Starting value | 10 | $35.00 |
| 35 | 8.6 | $30.00 |
| 40 | 7.5 | $26.25 |
At unchanged economy and price, doubling the distance doubles fuel use and cost. Changing only the price changes cost in the same proportion but leaves fuel use unchanged. With mpg, the relationship is inverse: doubling mpg halves the fuel needed for the same distance.
The result's gal label and the per-gallon fuel price both use US liquid gallons. UK mpg is a separate fuel-economy option; selecting it does not turn the result or price into UK gallons. Use a per-liter price if your pump price is not quoted per US gallon.
Fuel used is rounded to at most one decimal place for display. Cost is calculated from the unrounded liters value, so multiplying the displayed gallons by the price can differ slightly. For example, 300 miles at 35 US mpg and $3.50 per US gallon costs $30.00 even though the fuel row shows 8.6 gallons.
Fuel used is the amount the entered distance and economy imply the vehicle will consume. The calculator has no starting-fuel or tank-capacity input, so it does not subtract fuel already in the tank or determine refueling stops.
Diesel works with the same volume-based calculation when you enter the vehicle's fuel economy and diesel price. There are no kWh or electricity-price inputs, so the calculator does not calculate electric-vehicle charging costs. For a plug-in hybrid, any separately purchased electricity is outside this result.
Trip cost includes only fuel used multiplied by fuel price. It does not add tolls, parking, maintenance, depreciation or other travel expenses. There is no passenger-count input or per-person result.
Fuel costs are planning estimates, not a guaranteed pump bill.
Consumption is the Fuel economy input expressed in L/100 km. All money amounts use the selected currency.