FuelTripCost guide

How to Calculate Fuel Cost From MPG

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

Quick answer

Divide planned miles by US MPG to find US gallons. Multiply gallons by your entered price per US gallon to estimate fuel expense.

(Miles ÷ US MPG) × price per US gallon = fuel cost.

What you need

Step-by-step method

  1. Divide miles by US MPG to find gallons.
  2. Multiply gallons by price per gallon.
  3. Check whether distance includes every trip leg.

Worked examples

Core example

A 240 mile drive at 30 US MPG uses 8 gallons. At $3.25 per gallon, the fuel estimate is $26.

240 miles

At 30 MPG, 240 miles uses 8 gallons. At $3.25, fuel is $26.

500-mile comparison

At $3.50 per gallon, 20 MPG costs $87.50, 25 MPG costs $70, 30 MPG costs about $58.33, and 35 MPG costs $50.

Decimal economy

At 27.5 MPG, 330 miles uses 12 gallons. At $3.40, that is $40.80.

Why distance is divided by MPG

MPG describes miles available from each gallon. Dividing total miles by miles per gallon cancels the distance unit and leaves gallons required. Multiplying miles by MPG would produce the wrong relationship and an unusable unit.

Once gallons are known, multiply by a price per the same gallon type. US MPG must use a US-gallon price unless both economy and price are converted.

Choosing a useful MPG input

A measured value from similar roads, load, season, and driving style can be more useful for budgeting than a rating from different conditions. If only a rating is available, treat it as an assumption and test a lower-economy scenario.

Use a combined figure for mixed driving or calculate distinct segments separately when city and highway portions are known and materially different.

Real-world considerations

Common mistakes

How to make the estimate more useful

Limits of this calculation

MPG is an assumption about average consumption. The result cannot predict traffic, idling, weather, load, or changing fuel prices.

Questions

What if I only have L/100 km?

Choose L/100 km in the calculator and enter your distance and price in matching metric units.

How do I keep gallons and price compatible?

Pair US MPG with a price per US gallon and Imperial MPG with a price per Imperial gallon, or use the synchronized calculator presets.

Does a round trip always double fuel?

The estimate doubles when the return distance and conditions are assumed equal.

Use the calculation

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

Related guides

Browse all FuelTripCost guides