Fuel cost & gas mileage calculator

Estimate trip fuel costs or calculate your measured gas mileage.

Estimated trip fuel cost
Example result
$35.00
Result details

10 gal at $3.50 per gal.

Fuel needed
10 gal
Cost per mi
$0.12
Entered fuel economy
30 mpg
Estimates only.

Your inputs

Calculate
mi
mpg
$/gal

How it’s worked out

See how we got $35.00

Fuel = miles ÷ mpg or kilometers × L/100 km ÷ 100. One UK gallon is 4.54609 liters. Fuel cost = fuel × price per unit.

  1. 300 mi ÷ 30 mpg = 10 gal.
  2. 10 gal × $3.50 per gal = $35.00.

About this calculator

Choose Trip fuel cost when you know the distance, the vehicle’s estimated economy and the price at the pump. Enter the full driving distance for a round trip. U.S. mode pairs miles and miles per gallon with a price per U.S. gallon. Metric mode uses kilometers and a price per liter.

Use measured fuel economy when you have the distance driven and the fuel used between fill-ups. Keep the fuel amount and distance in the selected units. On a long trip with changing prices or driving conditions, run each leg separately to see how the estimates add up.

Worked example

Estimated trip fuel cost · $35.00

Fuel = miles ÷ mpg or kilometers × L/100 km ÷ 100. One UK gallon is 4.54609 liters. Fuel cost = fuel × price per unit.

  1. 300 mi ÷ 30 mpg = 10 gal.
  2. 10 gal × $3.50 per gal = $35.00.

Common questions

How do I get measured MPG?

Refill the tank, record distance and refill again. Divide miles by the gallons added on the second fill.

How can I price a round trip?

Enter the full distance there and back.

How are liters per 100 km interpreted?

It is fuel used over a fixed distance, so smaller numbers indicate lower consumption.

Sources and assumptions

Vehicle economy, route and driving conditions change actual consumption. Match the price unit to the selected measurement system.