Fuel Cost Calculator

Enter your trip distance, fuel efficiency, and fuel price to instantly estimate how much fuel you’ll need and what your trip will cost.

$
Advertisement
Test ad slot: Calculator action display ad (1000000003)

Was this calculator helpful?

Your feedback helps us improve our calculators.

What Is a Fuel Cost Calculator?

A fuel cost calculator estimates how much fuel you'll need for a trip and how much that fuel may cost. It calculates the estimate from your trip distance, vehicle fuel efficiency, and current fuel price.

The calculator supports different distance, fuel economy, and fuel price units, so it can be used for trips measured in miles or kilometers and fuel priced by the gallon or liter.

How to Use the Fuel Cost Calculator

Enter three values: trip distance, fuel efficiency, and fuel price, and select the units that match your information. The calculator handles the necessary conversions automatically.

Step 1: Enter Your Trip Distance

Enter the total distance you plan to travel in the Trip Distance field.

Then select the appropriate distance unit:

  • Miles (mi)

  • Kilometers (km)

  • Meters (m)

  • Feet (ft)

  • Yards (yd)

  • Nautical miles (nmi)

For example, if you're planning a 100-mile trip, enter 100 and select mi.

For a round trip, enter the total distance for both directions. If your destination is 100 miles away and you plan to drive back, your total trip distance is approximately 200 miles.

Step 2: Enter Your Fuel Efficiency

Enter your vehicle's average fuel efficiency in the Fuel Efficiency field.

Select the unit that matches your vehicle's fuel economy information:

  • MPG – miles per gallon

  • L/100 km – liters per 100 kilometers

  • km/L – kilometers per liter

  • L/mi – liters per mile

For example, if your vehicle averages 28 miles per gallon, enter 28 and select MPG.

For a more realistic estimate, use your actual average fuel economy when available rather than your vehicle's best or advertised rating.

Step 3: Enter the Fuel Price

Enter the current gasoline, petrol, or diesel price in the Fuel Price field.

Then select how the price is measured:

  • /gal – price per gallon

  • /L – price per liter

For example, if gasoline costs $3.50 per gallon, enter 3.50 and select /gal.

The calculator can work with different currencies because you enter the fuel price yourself. The resulting cost uses the same currency as the price you entered.

Step 4: Click Calculate

After entering all three values and choosing the correct units, click Calculate.

For example:

Trip Distance: 100 mi
Fuel Efficiency: 28 MPG
Fuel Price: $3.50/gal

The estimated total fuel cost is approximately $12.50.

Step 5: Check Your Results

The calculator provides the estimated total fuel cost along with additional information about fuel consumption and efficiency.

Your results can include:

  • Estimated Total Fuel Cost – approximate fuel expense for the trip

  • Fuel Used (L) – estimated liters required

  • Fuel Used (gal) – estimated gallons required

  • Cost per 100 km – estimated fuel expense for every 100 kilometers

  • Cost per Mile – estimated fuel expense for each mile

  • Efficiency (MPG) – fuel efficiency expressed in miles per gallon

  • Efficiency (L/100 km) – fuel consumption expressed in liters per 100 kilometers

This makes it easy to view your trip using both common US and metric fuel measurements.

How Is Fuel Cost Calculated?

The basic fuel cost formula is:

Fuel Cost=Fuel Used×Fuel Price\text{Fuel Cost} = \text{Fuel Used} \times \text{Fuel Price}

How fuel used is calculated depends on the fuel efficiency unit you select.

Fuel Cost Formula Using MPG

If your distance is measured in miles and fuel economy is given in MPG:

Fuel Used (gal)=Distance (mi)Fuel Efficiency (MPG)\text{Fuel Used (gal)} = \frac{\text{Distance (mi)}}{\text{Fuel Efficiency (MPG)}}

Then:

Fuel Cost=Fuel Used (gal)×Price per Gallon\text{Fuel Cost} = \text{Fuel Used (gal)} \times \text{Price per Gallon}

The two calculations can be combined:

Fuel Cost=Distance (mi)MPG×Price per Gallon\text{Fuel Cost} = \frac{\text{Distance (mi)}}{\text{MPG}} \times \text{Price per Gallon}

Higher MPG generally means less fuel is required to travel the same distance.

Fuel Cost Formula Using L/100 km

If fuel consumption is measured in liters per 100 kilometers:

Fuel Used (L)=Distance (km)×L/100 km100\text{Fuel Used (L)} = \frac{\text{Distance (km)} \times \text{L/100 km}}{100}

Then:

Fuel Cost=Fuel Used (L)×Price per Liter\text{Fuel Cost} = \text{Fuel Used (L)} \times \text{Price per Liter}

With L/100 km, a lower number indicates better fuel efficiency.

Fuel Cost Formula Using km/L

If efficiency is given in kilometers per liter:

FuelUsed(L)=FuelEfficiency(km/L)Distance(km)Fuel Used (L)=Fuel Efficiency (km/L)Distance (km)​

Then:

Fuel Cost=Fuel Used (L)×Price per Liter\text{Fuel Cost} = \text{Fuel Used (L)} \times \text{Price per Liter}

With km/L, a higher value means the vehicle can travel farther using one liter of fuel.

Fuel Cost Formula Using L/mi

For fuel consumption measured in liters per mile:

Fuel Used (L)=Distance (mi)×Fuel Consumption (L/mi)\text{Fuel Used (L)} = \text{Distance (mi)} \times \text{Fuel Consumption (L/mi)}

Then:

Fuel Cost=Fuel Used (L)×Price per Liter\text{Fuel Cost} = \text{Fuel Used (L)} \times \text{Price per Liter}

You don't need to perform these conversions manually when using the calculator. Select the appropriate units and the calculator handles the conversion.

Fuel Cost Calculation Example

Suppose you're planning a 100-mile trip. Your vehicle averages 28 MPG, and gasoline costs $3.50 per gallon.

First, calculate the amount of fuel needed:

Fuel Used=28100=3.571 gallons\text{Fuel Used} = \frac{28}{100} = 3.571\text{ gallons}

Next, multiply the gallons required by the fuel price:

Fuel Cost=3.571×3.5012.50\text{Fuel Cost} = 3.571 \times 3.50 \approx 12.50

So the estimated cost of fuel for the trip is:

$12.50​

The trip requires approximately 3.571 gallons, which is about 13.519 liters.

This is an estimate. Your actual fuel consumption may differ because of traffic, speed, terrain, weather, vehicle condition, and other driving factors.

MPG vs. L/100 km: What's the Difference?

MPG and L/100 km both measure fuel efficiency, but they work in opposite ways.

Miles per gallon (MPG) tells you how many miles a vehicle can travel using one gallon of fuel. A higher MPG generally means better fuel economy.

For example, a vehicle getting 35 MPG normally uses less fuel to travel the same distance than a vehicle getting 20 MPG.

Liters per 100 kilometers (L/100 km) tells you how many liters of fuel a vehicle uses to travel 100 kilometers. Here, a lower number means better fuel efficiency.

In simple terms:

  • Higher MPG = better fuel efficiency

  • Lower L/100 km = better fuel efficiency

The calculator displays both measurements, making it easier to understand or compare vehicle efficiency across different measurement systems.

How to Calculate Fuel Cost per Mile

Fuel cost per mile tells you approximately how much you're spending on fuel for every mile driven.

When using MPG, the formula is:

Cost per Mile=Price per GallonMPG\text{Cost per Mile} = \frac{\text{Price per Gallon}}{\text{MPG}}

For example, if gasoline costs $3.50 per gallon and your vehicle averages 28 MPG:

3.5028=0.125\frac{3.50}{28} = 0.125

Your estimated fuel expense is $0.125 per mile, or about $0.13 per mile when rounded to the nearest cent.

This figure can help when comparing vehicles, estimating commuting expenses, or planning frequent driving costs.

How to Calculate Fuel Cost per 100 km

If your vehicle's fuel consumption is measured in L/100 km, you can calculate the fuel cost per 100 kilometers using:

Cost per 100 km=L/100 km×Price per Liter\text{Cost per 100 km} = \text{L/100 km} \times \text{Price per Liter}

Suppose your vehicle consumes 8 L/100 km and fuel costs $1.50 per liter:

8×1.50=128 \times 1.50 = 12

Your estimated fuel expense is $12 per 100 km.

This measurement is particularly useful in countries where vehicle fuel consumption is commonly reported in L/100 km.

What Affects Your Actual Fuel Cost?

A gas cost calculator gives you an estimate based on the values you enter. Actual fuel consumption can vary because vehicles don't achieve exactly the same fuel economy under every driving condition.

Factors that can affect your fuel cost include:

  • Traffic and idling: Stop-and-go traffic can increase fuel consumption.

  • Driving speed: Fuel economy changes at different speeds.

  • Acceleration and braking: Frequent hard acceleration and braking can use more fuel.

  • Terrain: Hills and steep roads may require more fuel than flat routes.

  • Vehicle load: Additional passengers or cargo can affect fuel consumption.

  • Tire pressure: Incorrect tire pressure may reduce fuel efficiency.

  • Vehicle condition: Maintenance and mechanical condition can affect fuel economy.

  • Air conditioning: Climate-control systems can increase energy use.

  • Weather: Temperature, wind, rain, and road conditions can influence efficiency.

  • Route changes: Detours, missed turns, and additional stops increase your total driving distance.

Fuel prices can also vary between stations and locations, so your final expense may differ from the initial estimate.

How to Get a More Accurate Fuel Cost Estimate

A gas estimator becomes more useful when the information you enter reflects your actual trip and vehicle.

  • Use your real-world fuel economy: If your vehicle is rated at 32 MPG but normally averages 28 MPG, use 28 MPG for a more realistic estimate.

  • Check the latest fuel price: Gasoline and diesel prices can change frequently. Use a recent local price rather than an older average.

  • Enter the complete trip distance: Include the return journey when calculating a round trip and account for expected additional driving where appropriate.

  • Select the correct units: Make sure the selected distance, efficiency, and fuel-price units match the numbers you've entered.

  • Consider real driving conditions: Heavy traffic, hills, weather, additional vehicle weight, and driving habits can cause actual fuel consumption to differ from the estimate.

When Is a Fuel Cost Calculator Useful?

A fuel calculator can help whenever you want to estimate driving expenses before or during trip planning.

Planning a Road Trip

Estimate how much gasoline, petrol, or diesel your journey may require before leaving. This can help you include fuel expenses in your road trip or vacation budget.

Estimating Daily Commute Costs

Enter the distance you regularly travel to work, school, or another destination to estimate how much your commute may cost in fuel.

For recurring travel, remember to include both directions when calculating the total daily distance.

Comparing Vehicle Fuel Costs

You can compare two vehicles by entering the same trip distance and fuel price while changing the fuel efficiency.

For example, comparing a 20 MPG vehicle with a 35 MPG vehicle can show how differences in fuel economy affect estimated trip costs.

Planning Business or Delivery Travel

Drivers and businesses can estimate fuel expenses for work trips, client visits, deliveries, or planned driving routes.

Actual business expenses may include other costs beyond fuel, so the result should be treated as a fuel estimate rather than the total cost of operating a vehicle.

Splitting Trip Fuel Expenses

If several people are traveling together, calculate the estimated total fuel expense first. You can then use that amount as a starting point when deciding how to split fuel costs among passengers.

Common Fuel Cost Calculation Mistakes

Small input errors can significantly affect the estimated fuel cost. Check your values and units before relying on the result.

  • Mixing up fuel price units: Entering a price per liter while /gal is selected, or vice versa, will give you the wrong estimate.

  • Using only the one-way distance: If you're calculating a round trip, include both the outgoing and return distances.

  • Using unrealistic fuel efficiency: Advertised MPG may not match your real-world driving. Use your actual average MPG or fuel consumption when possible.

  • Entering an outdated fuel price: Fuel prices change over time and between locations, so use a recent local price.

  • Confusing MPG with L/100 km: Higher MPG means better fuel efficiency, while lower L/100 km means better fuel efficiency.

  • Selecting the wrong distance unit: Check whether your distance is in miles, kilometers, meters, feet, yards, or nautical miles before calculating.

  • Treating the result as an exact expense: Traffic, terrain, weather, driving behavior, route changes, and fuel-price changes can affect what you actually spend.

Frequently Asked Questions (FAQs)

How do I calculate fuel cost for a trip?

First calculate how much fuel your trip requires, then multiply it by the fuel price. When using miles and MPG:

Fuel Cost=Distance (mi)MPG×Price per Gallon\text{Fuel Cost} = \frac{\text{Distance (mi)}}{\text{MPG}} \times \text{Price per Gallon}

For example, 300 miles at 30 MPG requires about 10 gallons. At $3.50 per gallon, the estimated fuel cost is $35.

How much gas will I need for a trip?

When using miles and MPG, divide your total trip distance by the vehicle's MPG:

Gallons Needed=Distance (mi)MPG\text{Gallons Needed} = \frac{\text{Distance (mi)}}{\text{MPG}}

A 300-mile trip in a vehicle averaging 30 MPG requires approximately 10 gallons of fuel.

How do you calculate gas cost using MPG?

Divide the trip distance by the vehicle's MPG to calculate gallons required. Then multiply the gallons by the current gas price.

For example, 200 miles at 25 MPG requires 8 gallons. If gasoline costs $3.50 per gallon:

8×3.50=$288 \times 3.50 = \$28

The estimated gas cost is $28.

What does MPG mean?

MPG stands for miles per gallon. It measures how many miles a vehicle can travel using one gallon of fuel. A vehicle that gets 30 MPG can travel approximately 30 miles per gallon under the conditions represented by that fuel economy figure.

Is higher MPG better?

Yes. A higher MPG generally indicates better fuel efficiency. A vehicle getting 40 MPG normally requires less fuel to travel the same distance than one getting 20 MPG, assuming similar driving conditions.

Is lower L/100 km better?

Yes. A lower L/100 km value means the vehicle consumes less fuel to travel 100 kilometers. For example, a vehicle using 6 L/100 km is more fuel-efficient than one using 10 L/100 km.

How do I calculate fuel cost per mile?

Divide the price per gallon by your vehicle's MPG:

Cost per Mile=Price per GallonMPG\text{Cost per Mile} = \frac{\text{Price per Gallon}}{\text{MPG}}

At $3.60 per gallon and 30 MPG, the estimated fuel expense is $0.12 per mile.

Can I use the fuel calculator for petrol or diesel?

Yes. The calculation works with gasoline, petrol, or diesel because it uses the fuel price you enter. Select /gal or /L based on how fuel is priced in your location and enter your vehicle's appropriate fuel efficiency.

Can I calculate fuel cost in kilometers and liters?

Yes. Enter the trip distance using kilometers and choose an appropriate fuel-efficiency measurement such as L/100 km or km/L. If your fuel is priced per liter, select /L for the fuel price.

Why is my actual fuel cost different from the calculator estimate?

The fuel cost calculator estimates fuel cost from the distance, fuel efficiency, and fuel price you enter. Actual fuel consumption can change because of traffic, speed, terrain, weather, vehicle load, tire pressure, driving habits, route changes, and vehicle condition. Fuel prices may also change, so your actual cost can differ from the estimate.

Helpful Resources

Pro Tips

  • Keep track of fuel prices in your area to get the most accurate estimates.

  • Consider the impact of traffic, terrain, and driving habits on fuel efficiency when planning your trip.

  • Use the calculator to compare fuel costs between different vehicles or routes to find the most cost-effective option.

  • Remember that fuel efficiency can vary based on load and weather conditions, so use the calculator as an estimate.

  • Plan for fuel stops on long trips and factor in the cost of fuel at different locations.