CALCULATOR · FREE免费 · Free

Fuel Cost Calculator

Fuel cost is distance divided by MPG times fuel price. A round trip doubles the distance, and multi-day trips multiply by days; cost per mile is better than total cost for comparing routes and vehicles.

Updated 2026-10-31 · Formula shown · No signup
--Total miles · mi
--Gallons · gal
--Total fuel · $
--Per mile · $/mi

Estimates only; verify on site before ordering or building.

Example

ItemValueUnit
One-way distance300miles
MPG30mpg
Fuel price3.5$/gal
One-way trips2trips
Total miles600mi
Gallons20gal
Total fuel70$
Per mile0.117$/mi

Where people go wrong

  • Counting only one leg of a round trip.
  • Inverting MPG.
  • Mixing gallons and liters.

FAQ

Does higher MPG always save more?

At the same fuel price, yes; but vehicle cost, insurance and maintenance also matter.

How do I estimate an EV?

Use kWh per 100 miles and electricity price instead of MPG and gas price.

What if fuel is priced per liter?

One gallon is 3.785 liters; multiply the per-liter price by 3.785.