Free online calculator

Fuel Cost Calculator

Calculate trip fuel cost, average fuel consumption, or how far your fuel will take you. Choose US or Metric units.

Trip Fuel Cost

Enter the distance, your vehicle's fuel economy, and the current fuel price.

miles
MPG
$/gal
Fuel needed
16.67 gal
Estimated trip cost
$58.33
Cost per mile
$0.117

Average Fuel Consumption

Enter how much fuel you added and how far you drove to calculate your actual average consumption.

gallons
miles
Average consumption
30.00 MPG
Fuel used
15.00 gal
Distance driven
450 miles
In Metric units, the result is also shown as L/100 km.

How Far Will My Fuel Take Me?

Enter your vehicle's fuel consumption and how many gallons you added to estimate the distance that fuel can cover.

MPG
gallons
Estimated distance
450 miles
Fuel added
15.00 gal
Fuel consumption
30.00 MPG

How to Calculate Fuel Cost

The formula depends on the unit system. In US units, divide the trip distance in miles by fuel economy in miles per gallon, then multiply by the fuel price per gallon.

Fuel Cost = Distance ÷ MPG × Fuel Price per Gallon

In Metric units, first calculate the fuel needed in liters: distance in kilometers × fuel consumption in L/100 km ÷ 100. Then multiply the liters needed by the fuel price per liter.

Fuel Cost = Distance (km) × Consumption (L/100 km) ÷ 100 × Price per Liter

Example

For a 500-mile trip in a vehicle that averages 30 MPG, with fuel priced at $3.50 per gallon:

500 ÷ 30 = 16.67 gallons
16.67 × $3.50 = $58.33

What Affects Fuel Consumption?

Fuel consumption depends on the vehicle and how it is driven. Important factors include vehicle weight, engine and drivetrain, tire pressure, speed, acceleration, traffic, road conditions, weather, temperature, terrain, use of air conditioning or heating, and driving style.

Frequently Asked Questions

How do I calculate fuel cost for a trip?

For US units, divide the trip distance in miles by MPG and multiply the result by the fuel price per gallon. For Metric units, multiply distance in kilometers by consumption in L/100 km, divide by 100, and multiply by the price per liter.

How do I calculate my vehicle's average fuel consumption?

Fill the tank or note how much fuel you added, drive a measured distance, and enter the fuel added and distance driven in the Average Fuel Consumption calculator. The result is based on the fuel used divided by the distance driven.

How far can I drive with a certain amount of fuel?

In Metric units, divide the amount of fuel in liters by your consumption in L/100 km and multiply by 100. In US units, multiply fuel added in gallons by your vehicle's MPG. The calculator does this automatically.

Does fuel price affect fuel consumption?

No. Fuel price affects the cost of driving, but it does not directly change the vehicle's fuel consumption. Consumption is affected by the vehicle, road conditions, weather, traffic, load, speed, and driving style.

Does this calculator include tolls or other expenses?

No. The Trip Fuel Cost calculator estimates fuel cost only. Tolls, parking, maintenance, and other travel expenses are not included.

Does the calculator work for gasoline and diesel?

Yes. The calculations are based on fuel amount, consumption, distance, and price. The same formulas can be used for gasoline, diesel, and other fuels as long as the correct consumption and price are entered.