Whether you are planning a weekend road trip, a long vacation, a daily commute, or a business journey, fuel is one of the easiest travel expenses to estimate in advance.
You do not need a complicated formula. If you know the distance you expect to drive, your vehicle's fuel economy, and the current fuel price, you can calculate a useful estimate in just a few steps.
The calculation becomes especially helpful when comparing vehicles, choosing between routes, splitting travel costs with other passengers, or deciding whether a longer trip fits your budget.
This guide explains how to calculate fuel cost using both miles per gallon and liters per 100 kilometers.
What Do You Need to Calculate Fuel Cost?
A basic fuel cost estimate requires three pieces of information:
- Trip distance
- Vehicle fuel economy
- Fuel price
For a vehicle measured in miles per gallon, you might have:
Distance: 300 miles
Fuel economy: 30 MPG
Fuel price: $3.50 per gallon
With those three numbers, you can estimate both the amount of fuel required and the cost of the trip.
The same principle works with kilometers and liters, although the formula changes slightly when fuel economy is expressed as liters per 100 kilometers.
Fuel Cost Formula Using MPG
If your vehicle's fuel economy is measured in miles per gallon (MPG), first calculate how many gallons the trip will require:
Gallons Needed = Trip Distance ÷ MPG
Then calculate the fuel cost:
Fuel Cost = Gallons Needed × Price per Gallon
You can combine the two steps into one formula:
Fuel Cost = (Trip Distance ÷ MPG) × Price per Gallon
Example: 300-Mile Road Trip
Suppose you are planning a 300-mile trip in a vehicle that averages 30 MPG.
Fuel costs $3.50 per gallon.
First calculate the fuel required:
300 ÷ 30 = 10 gallons
Then calculate the cost:
10 × $3.50 = $35
Your estimated fuel cost for the one-way trip is:
$35
If you are returning by approximately the same route, the total distance would be about 600 miles.
The estimated round-trip fuel cost would then be:
600 ÷ 30 × $3.50 = $70
This assumes that fuel economy and fuel price remain approximately the same throughout the journey.
Fuel Cost Formula Using L/100km
Many countries express vehicle fuel consumption as liters per 100 kilometers (L/100km).
In this system, a lower number represents better fuel efficiency because the vehicle uses fewer liters to travel the same distance.
The formula for fuel required is:
Liters Needed = (Distance in km × L/100km) ÷ 100
Then:
Fuel Cost = Liters Needed × Price per Liter
For example, suppose:
Distance: 500 km
Fuel consumption: 7.5 L/100km
Fuel price: $1.60 per liter
Calculate the fuel required:
500 × 7.5 ÷ 100 = 37.5 liters
Then calculate the cost:
37.5 × $1.60 = $60
The estimated fuel cost is:
$60
MPG and L/100km Work Differently
It is important not to compare MPG and L/100km as though higher numbers mean the same thing.
With MPG, a higher number generally means better fuel economy.
For example:
40 MPG is more fuel-efficient than 25 MPG.
With L/100km, a lower number generally means better fuel economy.
For example:
6 L/100km is more fuel-efficient than 10 L/100km.
If you need to move between the two systems, the ZU Calculator Fuel Economy Converter can help convert common fuel economy units.
How Fuel Economy Changes Trip Cost
Fuel economy can make a noticeable difference on longer journeys.
Consider a 600-mile trip with fuel priced at $3.50 per gallon.
| Fuel Economy | Fuel Needed | Estimated Cost |
|---|---|---|
| 20 MPG | 30 gallons | $105.00 |
| 25 MPG | 24 gallons | $84.00 |
| 30 MPG | 20 gallons | $70.00 |
| 35 MPG | 17.14 gallons | $60.00 |
| 40 MPG | 15 gallons | $52.50 |
The difference between a vehicle achieving 20 MPG and one achieving 40 MPG is approximately $52.50 on this 600-mile example.
For one trip, that difference may or may not be significant to your budget. For someone who drives thousands of miles every year, fuel economy can have a much larger cumulative effect.
How to Calculate Fuel Cost per Mile
Fuel cost per mile is useful when estimating commuting expenses or comparing vehicles.
The formula is:
Fuel Cost per Mile = Price per Gallon ÷ MPG
Suppose fuel costs $3.50 per gallon and your vehicle averages 30 MPG:
$3.50 ÷ 30 ≈ $0.1167
That means the estimated fuel cost is approximately:
11.7 cents per mile
If you drive 1,000 miles under similar conditions:
1,000 × $0.1167 ≈ $116.70
Remember that this represents fuel only. It does not include maintenance, tires, insurance, depreciation, tolls, parking, or other vehicle expenses.
How to Calculate Fuel Cost per Kilometer
If fuel consumption is expressed in L/100km, you can estimate the fuel cost per kilometer.
Suppose:
Fuel consumption: 8 L/100km
Fuel price: $1.50 per liter
First calculate fuel consumption per kilometer:
8 ÷ 100 = 0.08 liters per km
Then:
0.08 × $1.50 = $0.12 per km
The estimated fuel cost is therefore:
$0.12 per kilometer
For a 400 km trip:
400 × $0.12 = $48
One-Way vs. Round-Trip Distance
A common mistake when estimating travel costs is entering only the distance to the destination when the actual journey includes a return trip.
If your destination is 250 miles away, a basic round trip is approximately:
250 × 2 = 500 miles
You may need to add even more distance for:
- Local driving at the destination
- Hotel trips
- Restaurants
- Sightseeing
- Detours
- Fuel stops
- Picking up passengers
Using your expected total driving distance will produce a more useful estimate.
Real-World MPG May Differ From the Vehicle Rating
Manufacturer fuel economy ratings are useful for comparison, but your actual fuel economy may differ.
Real-world fuel consumption can be affected by:
- Driving speed
- Traffic
- Stop-and-go driving
- Road conditions
- Vehicle load
- Tire pressure
- Weather
- Air conditioning or heating
- Hills and elevation changes
- Towing
- Driving habits
If you already know your vehicle's actual average MPG from previous driving, that number may provide a more realistic trip estimate than relying only on an advertised figure.
Highway and City Fuel Economy
Many vehicles have different fuel economy ratings for city and highway driving.
A long road trip may involve mostly highway driving, while a daily commute might include heavy urban traffic.
If your journey includes both, consider using a realistic combined fuel economy estimate rather than automatically using the highest highway MPG figure.
For example, if your vehicle can achieve 35 MPG on an open highway but your trip includes significant traffic and city driving, estimating the entire journey at 35 MPG could underestimate the fuel required.
Fuel Prices Can Change During a Trip
Fuel prices are not necessarily the same everywhere.
A long journey may cross cities, states, provinces, or regions where prices differ significantly.
For a quick estimate, you can use an average expected fuel price.
For a more conservative travel budget, you might use a slightly higher realistic price rather than assuming you will always find the cheapest fuel.
The goal is not to predict the exact amount you will spend to the cent. It is to create a reasonable travel budget before leaving.
How to Estimate Fuel Cost for a Daily Commute
Fuel calculations are also useful for understanding the cost of commuting.
Suppose your workplace is 15 miles from home.
Your daily round-trip commute is:
15 × 2 = 30 miles
If you work 5 days per week:
30 × 5 = 150 miles per week
Suppose your vehicle averages 30 MPG:
150 ÷ 30 = 5 gallons per week
At $3.50 per gallon:
5 × $3.50 = $17.50 per week
Over approximately 50 commuting weeks:
$17.50 × 50 = $875
That gives an estimated annual commuting fuel cost of $875, assuming the distance, fuel economy, fuel price, and commuting schedule remain similar.
Again, this is fuel cost only, not the total cost of operating the vehicle.
How to Split Fuel Cost Between Passengers
If several people are sharing a road trip, you may want to divide the fuel expense.
Suppose the estimated fuel cost is:
$96
If four people are splitting the fuel equally:
$96 ÷ 4 = $24 per person
This calculation is simple, but make sure everyone agrees on what is being shared.
For example, your travel budget might also include tolls, parking, rental charges, or other driving expenses.
Fuel Cost Is Not the Same as Total Driving Cost
Fuel is only one part of the cost of using a vehicle.
A complete driving-cost estimate may also consider:
- Tolls
- Parking
- Maintenance
- Oil and fluids
- Tires
- Insurance
- Vehicle depreciation
- Rental fees
- Road charges
For a vacation budget, you may only need a quick fuel estimate.
For business mileage or a detailed vehicle ownership comparison, fuel alone does not represent the full cost.
Should You Choose a Longer Route to Save Fuel?
The shortest route is not always the most fuel-efficient, but neither is the longest route automatically better.
A slightly longer highway route may sometimes use less fuel than a shorter route with heavy congestion and frequent stops. On the other hand, adding substantial distance can increase fuel consumption even if driving conditions are better.
When comparing routes, consider both:
Distance and expected fuel economy
Travel time, tolls, road conditions, and traffic may also influence the better practical choice.
Common Fuel Cost Calculation Mistakes
Mixing Miles and Kilometers
If your distance is in kilometers but your fuel economy is in miles per gallon, the units do not match.
Convert the measurements before calculating.
Using MPG as Gallons per Mile
A vehicle rated at 30 MPG can travel approximately 30 miles per gallon. It does not use 30 gallons per mile.
To calculate gallons needed:
Distance ÷ MPG
Forgetting the Return Journey
If you are planning a round trip, include both directions.
Using an Unrealistic Fuel Economy Figure
Using the vehicle's best possible highway MPG for a trip dominated by city traffic can underestimate fuel consumption.
Ignoring Additional Driving
The distance between your home and destination may not include all the driving you will do during the trip.
Treating the Estimate as an Exact Cost
Fuel prices and actual fuel economy can change during the journey. The result should be treated as a planning estimate.
How to Make Your Estimate More Realistic
For a more useful fuel budget, use realistic inputs rather than ideal ones.
Start with the full expected trip distance. Use your vehicle's actual recent fuel economy if you know it. Check a reasonable fuel price for the areas where you expect to drive.
If the trip includes mountains, heavy traffic, towing, or a heavily loaded vehicle, remember that actual fuel consumption may differ from your normal driving.
For long journeys, building a small buffer into your travel budget can also help account for unexpected extra mileage or price changes.
Use a Fuel Cost Calculator
Manual calculations are useful for understanding the formula, but a calculator is faster when comparing several routes, vehicles, or fuel prices.
The ZU Calculator Fuel Cost Calculator can help estimate how much fuel a journey may require and what that fuel could cost.
You can change the distance, fuel economy, or fuel price to compare different scenarios.
For example, compare the same 500-mile journey at:
25 MPG, 30 MPG, and 35 MPG
Then change the fuel price and see how the total cost changes.
If your vehicle's fuel economy uses a different unit, the Fuel Economy Converter can help convert between common fuel economy measurements before calculating your trip.
Frequently Asked Questions
How do I calculate fuel cost for a trip?
If your vehicle uses MPG:
Fuel Cost = (Distance ÷ MPG) × Fuel Price per Gallon
For L/100km:
Fuel Cost = (Distance × L/100km ÷ 100) × Price per Liter
How much fuel will I need for a 300-mile trip at 30 MPG?
Divide 300 miles by 30 MPG:
300 ÷ 30 = 10 gallons
How much would that trip cost at $3.50 per gallon?
Multiply 10 gallons by $3.50:
10 × $3.50 = $35
Should I use city or highway MPG?
Use the figure that most closely represents the type of driving expected on your trip. For mixed driving, a realistic combined estimate may be more appropriate.
Does driving faster increase fuel cost?
Driving conditions and speed can affect fuel economy. If actual MPG decreases, more fuel will be required to travel the same distance, increasing the estimated cost.
Does a fuel calculator include tolls and parking?
A basic fuel cost calculation normally covers fuel only. Tolls, parking, maintenance, and other travel expenses should be budgeted separately.
Final Thoughts
Estimating fuel cost before a journey can make travel budgeting much easier.
Start with the total distance you expect to drive, use a realistic fuel economy figure for your vehicle, and multiply the estimated fuel requirement by the expected fuel price.
For longer trips, remember to include the return journey and any additional driving at your destination.
The final amount will still be an estimate because fuel prices and real-world fuel economy can change. However, a sensible calculation gives you a much clearer idea of what to budget before you start the trip.
Note: Fuel calculations are estimates for planning purposes. Actual fuel consumption and cost can vary based on fuel prices, traffic, driving speed, weather, road conditions, vehicle condition, load, route, and driving habits.