calculate-loan

01 Loan payments

Cost of Fuel: Calculate Your Trip’s Fuel Expense

Calculator No. 01-27576 · Updated · Formula and assumptions shown below

Estimated fuel cost $42.00
Fuel needed
12.00 gallons
= Trip distance ÷ fuel economy
Trip distance
300 miles
Input
Fuel economy
25 miles per gallon
Input
You enter
Trip distance (miles), Fuel economy (miles per gallon), Fuel price ($ per gallon)
You get
Estimated fuel cost ($), Fuel needed (gallons)
Rounding
2 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

Fuel cost depends on how far you travel, your vehicle’s fuel consumption, and the price you pay per unit of fuel. Use this calculator to estimate the fuel expense for a trip: enter the distance, fuel economy, and price per gallon, and it returns the estimated gallons needed and total cost.

Formula

Fuel cost = distance ÷ fuel economy × fuel price. In symbols, C = D / E × P.

  • C is estimated fuel cost in dollars.
  • D is trip distance in miles.
  • E is fuel economy in miles per gallon (mpg).
  • P is fuel price in dollars per gallon.

The calculator first estimates the gallons required, G = D / E, then multiplies that amount by the price per gallon. The first result is the estimated trip cost; gallons needed is shown as a supporting result. Use compatible units: if your distance is in kilometers or your vehicle’s rating is in liters per 100 kilometers, convert them before entering values.

Worked Example

Using the calculator’s default inputs—300 miles, 25 miles per gallon, and $3.50 per gallon—the calculation is:

  1. Fuel needed = 300 miles ÷ 25 miles per gallon = 12 gallons.
  2. Fuel cost = 12 gallons × $3.50 per gallon = $42.00.

The estimated cost is $42.00, with 12.00 gallons of fuel needed. This is a mathematical estimate; actual purchases may differ because of changing prices, driving conditions, and how fuel is sold.

What Changes the Cost of Fuel?

The calculation has three inputs, and each has a direct effect. Holding the other values constant, a longer trip costs more; a higher price per gallon raises the estimate; and better fuel economy lowers the amount of fuel required. For example, at 25 mpg and $3.50 per gallon, a 600-mile trip has an estimated fuel cost of $84: 600 ÷ 25 × 3.50.

  • Distance: Include the full route, not just the distance to the destination. For a round trip, include both directions.
  • Fuel economy: Use a realistic figure for the vehicle and trip. Stop-and-go traffic, hills, speed, load, weather, and vehicle condition can change actual consumption.
  • Fuel price: Enter the price you expect to pay, in dollars per gallon. If prices vary along the route, a single price gives only an approximate average.

When a route involves a detour or multiple legs, add the distances together or calculate each leg separately using its expected fuel price and economy, then add the costs. Separate calculations are more useful when fuel prices or driving conditions differ substantially between legs.

How to Choose Inputs

For the most useful estimate, use figures that match your planned trip rather than relying on a vehicle’s advertised rating or a price remembered from a different location. A dashboard’s recent average fuel economy, or a calculation based on fuel used and distance driven, may better reflect your driving pattern.

  • Check the route distance in miles and decide whether it includes return travel and planned stops.
  • Use the vehicle’s fuel type and the relevant price per gallon. Do not enter a price per liter in this calculator.
  • If you know your usual fuel economy, use it. If not, calculate a conservative and a more efficient scenario to see how sensitive the estimate is.
  • For several passengers or vehicles, calculate each vehicle separately when their fuel economy differs.

To estimate observed fuel economy, divide miles driven by gallons used over the same period. For example, 350 miles divided by 14 gallons gives 25 mpg. This method is more representative when the distance and fuel quantity are measured consistently, although one tank or trip can still be affected by driving conditions and refueling variation.

Limits and Common Mistakes

This is a basic fuel-only estimate. It does not account for tolls, parking, vehicle wear, maintenance, food, lodging, or the value of time. It also assumes the entered fuel economy applies across the whole journey and that the entered price represents the fuel bought. The result is not a forecast of the exact amount charged at a pump.

  • Mixing units: Miles per gallon must be paired with miles and gallons. Entering kilometers or a per-liter price without conversion produces a misleading result.
  • Forgetting the return journey: A one-way distance estimates one direction only. Double the distance only when the return route is approximately the same.
  • Using an unrealistic mpg figure: Published or displayed fuel economy may not match a particular trip, especially with congestion, steep terrain, heavy cargo, or frequent stops.
  • Rounding too early: Keep more precision for intermediate fuel use, then round the displayed money to cents. Real fuel purchases may be rounded differently.

Fuel economy and fuel price are not guaranteed to remain constant throughout a trip. If either is uncertain, test multiple input values rather than treating one result as exact. For a broader travel budget, add other trip expenses separately instead of assuming this figure covers them.

Frequently Asked Questions

How do I calculate fuel cost for a trip?
Divide the trip distance in miles by fuel economy in miles per gallon to estimate gallons needed. Multiply gallons by the price per gallon to estimate cost.

How much will fuel cost for 100 miles?
It depends on your vehicle’s mpg and the fuel price. At 25 mpg and $3.50 per gallon, 100 miles requires about 4 gallons and costs about $14.

Does this calculator work with kilometers and liters?
Not directly. It uses miles, miles per gallon, and dollars per gallon. Convert your measurements to those units before entering them, or use a calculator designed for kilometers and liters.

Why is my actual fuel cost different from the estimate?
The estimate assumes a fixed fuel economy and price. Traffic, route changes, weather, load, driving style, price changes, and the amount of fuel actually purchased can all cause a difference.

Should I use city or highway mpg?
Use the figure most representative of your route. For a mixed journey, a realistic average for the trip is more useful than a city-only or highway-only number.

Using the Estimate

Fuel cost is one part of planning a journey, and the result is most useful when its assumptions are visible. Save the distance, fuel economy, and price used if you want to compare a revised route or another vehicle. Recalculate when the route or expected fuel price changes; a small difference in mpg or price can add up over a long distance.

Related

Formula used
in dist | Trip distance | miles | 300 | 0 | 1000000
in mpg | Fuel economy | miles per gallon | 25 | 0.01 | 1000
in price | Fuel price | $ per gallon | 3.50 | 0 | 1000
out cost | Estimated fuel cost | $ | dist / mpg * price | 2
out gal | Fuel needed | gallons | dist / mpg | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →