FuelTripCost guide

How to Calculate Gas Cost Per Mile

By FuelTripCost · Published 27 September 2026 · Updated 30 September 2026

Quick answer

Gas cost per mile equals the price per US gallon divided by your vehicle's US MPG. This is a fuel-only rate.

Fuel price per US gallon ÷ US MPG = gas cost per mile.

What you need

Step-by-step method

  1. Confirm the economy and price both use US gallons.
  2. Divide price per gallon by US MPG.
  3. Multiply the per-mile rate by a planned distance when you need a trip total.

Worked examples

Core example

At $3.60 per gallon and 30 US MPG, the gas cost is $0.12 per mile. A 50 mile drive would use about $6 of gas.

30 MPG at $3.60

$3.60 ÷ 30 = $0.12 per mile. Fifty miles costs $6 and 500 miles costs $60.

Economy sensitivity

At $3.50 per gallon, 20 MPG costs $0.175 per mile, 25 MPG costs $0.14, and 35 MPG costs $0.10.

Price sensitivity

At 25 MPG, each $0.50 change in price changes fuel cost by $0.02 per mile.

Interpreting a per-mile fuel rate

Cost per mile separates fuel spending from trip length. Under fixed assumptions, a 50-mile and a 500-mile journey share the same per-mile fuel rate even though their totals differ by a factor of ten.

A lower rate means less fuel money for the same distance. It does not measure the full cost of operating or owning the vehicle.

Using the rate for planning

Multiply the unrounded rate by the planned miles, then round the final currency result. Rounding a small rate too early can create a noticeable error over a long distance.

If a route combines very different city and highway conditions, estimate each segment with an appropriate MPG value or use one conservative blended figure and state that assumption.

Real-world considerations

Common mistakes

How to make the estimate more useful

Limits of this calculation

The rate assumes a stable price and economy. It excludes insurance, depreciation, repairs, parking, and tolls.

Questions

Can I multiply this rate by any distance?

Yes, for a rough fuel estimate when fuel economy and price remain similar across the drive.

When should I recalculate the rate?

Recalculate when fuel price, route conditions, vehicle load, or measured economy changes enough to make the old assumptions unrepresentative.

Is a lower rate better?

For fuel spending alone, a lower cost per mile means less fuel money for the same distance.

Use the calculation

Try the Cost Per Mile Calculator or review the calculation methodology and unit constants.

Related guides

Browse all FuelTripCost guides