Skip to content
ToolZone

Fuel Cost Calculator

Estimate the cost of a trip based on distance, your vehicle's fuel efficiency, and the current price of fuel, useful for budgeting road trips.

Runs in your browser. Nothing you enter or upload leaves your device.

$58.33
Total fuel cost

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Fuel Cost Calculator

Fuel is often the biggest variable cost of a road trip. This fuel cost calculator estimates it from three numbers: how far you are driving, how many miles per gallon your vehicle gets, and what gas costs per gallon.

How it works

In US (mpg) mode, the calculator divides the distance in miles by your fuel economy to get the gallons needed, then multiplies by the price per gallon: cost = miles / mpg x price.

The answer is rounded to two decimal places. For a round trip, enter the total distance both ways, since the calculation covers exactly the distance you type.

How to use

  1. 1

    Keep the US (mpg) mode selected.

  2. 2

    Enter the trip length in Distance (mi), counting both directions for a round trip.

  3. 3

    Enter your vehicle's Efficiency (mpg) and the Fuel price ($/gal).

  4. 4

    Read the Total fuel cost.

Worked examples

Default trip

A 500-mile drive in a car that gets 30 mpg, with gas at $3.50 per gallon.

Input
Distance = 500, Efficiency = 30, Fuel price = 3.50
Result
Total fuel cost = $58.33

Longer road trip

A 1,200-mile round trip at 25 mpg with gas at $3.89.

Input
Distance = 1200, Efficiency = 25, Fuel price = 3.89
Result
Total fuel cost = $186.72

1200 / 25 = 48 gallons, and 48 x 3.89 = 186.72. Split four ways, that is about $46.68 each.

Limitations
Only the US (mpg) mode gives a reliable result. The UK (L/100km) mode does not apply the standard L/100km formula, so its output should not be relied on; convert your figures to miles and mpg with the unit converter instead. It assumes constant fuel economy for the whole trip and ignores traffic, terrain and load. Tolls, parking and other travel costs are not included.
Assumptions
Fuel economy stays at the value you enter for the whole distance. The fuel price is the average you expect to pay per US gallon.
Privacy
The estimate is calculated in your browser and none of your trip details are stored or sent.

Frequently asked questions

How do I calculate fuel cost for a trip?+

Divide the distance by your vehicle's miles per gallon to get gallons needed, then multiply by the price per gallon. A 300-mile trip at 30 mpg with $3.50 gas costs 10 x 3.50 = $35.

Where can I find my vehicle's fuel efficiency?+

The owner's manual, the manufacturer's website or the official window sticker lists it. For a more accurate figure, divide the miles driven between fill-ups by the gallons you added.

Does this account for changes in driving conditions?+

No. It uses one average efficiency figure. Traffic, hills, speed and load can raise or lower actual fuel use.

Does it calculate a round trip automatically?+

No. Enter the total distance you will drive, so double the one-way distance for a return journey.

Can I use liters and kilometers?+

The US (mpg) mode is the one to use. If your figures are metric, convert the distance to miles and L/100km to mpg with the unit converter first.

Related tools