Fuel cost per mile is the fuel price divided by your miles per gallon. At $3.995 a gallon, the US average the Energy Information Administration (EIA) reported for the week of 9 November 2026, a vehicle that does 30 MPG burns about 13.3 cents of fuel per mile. A 300-mile trip costs about $39.95. This guide shows the formula, a worked example for one vehicle and for a fleet, and the levers that move the number: idling, route order and driving style.

The formula

Three inputs give you the fuel cost of any trip:

  1. Distance of the trip, in miles or kilometres.
  2. Fuel economy of the vehicle, in MPG (US), MPG (UK), L/100 km or km/L.
  3. Fuel price per gallon or litre.

The steps:

  • Fuel used = distance ÷ fuel economy
  • Trip fuel cost = fuel used × price
  • Fuel cost per mile = price ÷ MPG

The last line is the shortcut. You do not need the trip distance to get a per-mile figure, only the price and the economy.

Keep the units consistent. A US gallon is smaller than a UK gallon, so the same car shows a higher MPG in UK units. If your economy figure comes from a UK source and your price is per US gallon, the answer will be wrong. Convert first, or use a tool that converts for you.

A worked example: one trip

A car does 30 MPG and drives 300 miles. The starting price is $3.995 a gallon, the weekly US national average from the EIA, week of 9 November 2026. It includes taxes and is an average across the country, so your local pump price will differ.

  • 300 miles ÷ 30 MPG = 10 gallons
  • 10 gallons × $3.995 = $39.95
  • $39.95 ÷ 300 miles = $0.133 per mile

Change one input and watch the result. At 25 MPG the same trip uses 12 gallons and costs $47.94, or $0.160 per mile. Five MPG of difference between two vehicles is worth about 2.7 cents on every mile.

Source for the price: the EIA gasoline and diesel fuel update. Prices move every week, so check the date before you reuse the number. The fuel cost calculator always starts from the current default.

Per vehicle versus the whole fleet

A single trip is a good way to learn the formula. A fleet needs the same arithmetic over a week.

Take four vans, each driving 500 miles a week at 25 MPG:

  • Each van uses 500 ÷ 25 = 20 gallons a week.
  • Four vans use 80 gallons a week.
  • At $3.995 a gallon, that is 80 × $3.995 = $319.60 a week.
  • Over 52 weeks, about $16,619 a year.
  • Per mile, $319.60 ÷ 2,000 fleet miles = $0.160.

That figure is a plan, not a measurement. Actual consumption depends on load, speed, terrain and how long the engines run while parked.

Per-vehicle numbers matter more than the fleet average, because averages hide the outliers. Two vans on the same route can burn different amounts because of the load, the driver or the state of the engine. Keep a per-vehicle cost per mile and compare each van with its own history, not only with the fleet.

Fuel is also only one line of the cost of running a vehicle. Maintenance, tyres, insurance, tolls and driver time add to it. For a decision such as pricing a delivery, fuel per mile is the part you can estimate in a minute, and the rest you take from your own records.

Where the cost per mile goes wrong

Four mistakes show up often:

  • Using the sticker economy. The manufacturer's MPG comes from test conditions. Work out your own by dividing the miles driven by the gallons filled, over several tanks.
  • Mixing units. US versus UK gallons, miles versus kilometres, litres versus gallons. Write the unit next to every number.
  • Using an old price. If you rely on a figure from last quarter, update it.
  • Counting only driving miles. Miles driven with no load, or back to the depot, are still paid for.

Lever 1: idling

An engine that runs while the vehicle is parked burns fuel and covers zero miles. It adds to the cost of a trip without adding to the distance, so it raises your cost per mile in a way the formula above does not show.

Here is how to size it for your own fleet. Idle burn varies by engine, so the figure below is an assumption for the example, not a measured value. Measure yours from a few real idling periods.

  • Assume a van burns 0.4 gallons for each hour it idles.
  • At $3.995 a gallon, that is about $1.60 an hour.
  • If the van idles one hour a day over 250 working days, that is about 100 gallons and $400 a year, for a single van.

Multiply by the number of vehicles. The same sum on 10 vans is about $4,000 a year, still on that assumed burn rate. The way to replace the assumption is to record how long each vehicle idles, which is what idle time reduction means in practice: you see the idling per vehicle, set a threshold and act on the worst cases.

Lever 2: route order and distance

Every extra mile on a route costs the per-mile figure you just calculated. Take the 30 MPG example at $0.133 a mile: an order of stops that saves 20 miles a day saves about $2.66 a day per vehicle. Over 250 days, that is about $665 a vehicle, before time and wear.

The hard part is the sequence. A route with 10 stops has 3,628,800 possible orders (10 factorial), so doing it by eye misses the shorter options. Our free multi-stop route planner orders a list of stops for you and shows the result, so you can feed the distance into the formula. The glossary entry on route optimization explains the idea behind it, and the route optimization feature in Traxelio covers planning the stops and then checking them against what the vehicle actually drove.

Planning also means grouping stops by area and respecting time windows, since a late first stop pushes the whole day later.

Lever 3: driving style and speed

Hard acceleration, hard braking and high speed raise consumption on the same route. You do not need a number to act on it: compare each driver's MPG on similar routes and look at the gap. Where a gap shows up, the driving behaviour data from the vehicle is what explains it. Speed limits and harsh-event alerts help drivers to correct the habit quickly.

Use the calculator for your own numbers

The fuel cost calculator runs this formula for a trip or for a fleet, in US or UK units, and starts from the EIA price for the United States. For other countries, you enter the local price yourself. Nothing you type is uploaded: the calculation runs in the browser.

To turn the plan into a measurement, you need the real distance and idle time each vehicle logged. That is what Traxelio's GPS tracking records: trips, distance and idling per vehicle, so you can compare the fuel cost you planned with what each vehicle actually did. See the delivery use case for how that looks for a route-based fleet.

Frequently asked questions

How do I calculate fuel cost per mile? Divide the fuel price by the vehicle's MPG. At $3.995 a gallon and 30 MPG, that is $0.133 a mile.

How do I calculate the fuel cost of a trip? Divide the distance by the MPG to get the fuel used, then multiply by the price per gallon. For 300 miles at 30 MPG and $3.995, that is $39.95.

Which fuel price should I use? Use the price you pay at the pump. The EIA weekly national average is a starting point, not your price.

Does this include tolls, parking and wear? No. This is a fuel-only calculation. Add other costs from your own records.