Fuel Cost Calculator
Estimate how much fuel a trip will cost based on the distance you're driving, your vehicle's fuel efficiency, and the price of fuel.
Inputs
Works with any distance unit, as long as it matches the fuel efficiency unit below.
Use a consistent pair, such as miles per gallon or kilometers per liter.
The price for one unit of fuel — one gallon or one liter, matching your efficiency unit.
Result
Fill in the fields to see your result.
Formula
Fuel needed is the trip distance divided by your vehicle's fuel efficiency.
fuelNeeded = distance / fuelEfficiencyTotal cost is the fuel needed multiplied by the price per fuel unit.
totalCost = fuelNeeded × fuelPriceStep-by-step
- 1
Enter your trip distance
Use miles or kilometers — whichever matches your fuel efficiency figure.
- 2
Enter your fuel efficiency
Use your vehicle's rated mpg, km/l, or similar distance-per-fuel-unit figure.
- 3
Enter the fuel price
Enter the current price for one gallon or one liter of fuel.
- 4
Read your estimated cost
See the total fuel needed and what the trip will cost at current prices.
Examples
Highway road trip in miles and gallons
- distance
- 300
- fuel Efficiency
- 25
- fuel Price
- 3.5
12.00 gallons needed, costing $42.00 total
Commute in kilometers and liters
- distance
- 500
- fuel Efficiency
- 15
- fuel Price
- 1.6
33.33 liters needed, costing $53.33 total