Fuel Cost Calculator

Use this free fuel cost calculator to estimate gallons needed, trip fuel cost, and cost per mile from distance, MPG, and fuel price.

All tools
Research-backed assumptions Formula steps Examples included Private in-browser use
Estimated round-trip fuel cost$32.14

240 mi at 28 MPG

Gallons needed
8.5714285714
Cost per mile
$0.13
Total distance
240 mi

Formula steps

  1. Double the one-way distance for a round trip.
  2. Divide miles by MPG to estimate gallons needed.
  3. Multiply gallons by price per gallon to estimate trip fuel cost.

How to use the fuel cost calculator

  1. Enter one-way distance, MPG, price per gallon, and whether the trip is round trip.
  2. Press Estimate fuel cost to see gallons needed, total cost, and cost per mile.
  3. Use your actual fuel price and realistic MPG when you want a closer estimate.
  4. Open Gas Mileage Calculator first if you need to calculate MPG from a tank.

Common uses

Estimate fuel cost for a trip before driving.

Compare one-way and round-trip fuel cost.

See gallons needed and cost per mile.

Plan quick travel budgets with your own MPG and fuel price.

Examples

Weekend drive 120 mi, 28 MPG, $3.75/gal, round trip

About $32.14 fuel cost

Commute 18 mi, 31 MPG, $3.60/gal, round trip

About $4.18 per day

One-way move 450 mi, 22 MPG, $3.90/gal

About $79.77 fuel cost

Frequently asked questions

Plain-language answers about when to use the tool, what it does with your inputs, what to double-check, and how privacy works.

When should I use the Fuel Cost Calculator?

Use it when your task matches one of these common needs: Estimate fuel cost for a trip before driving. Compare one-way and round-trip fuel cost. It works best when you already know the values, dates, units, or settings the page asks for.

What is the Fuel Cost Calculator doing with my inputs?

In plain language: The calculator divides trip miles by miles per gallon to estimate gallons needed, then multiplies gallons by the price per gallon. The examples on the page are there so you can compare your inputs with a filled-out calculation before copying the answer.

What should I double-check before trusting the answer?

Real fuel cost changes with traffic, speed, weather, terrain, vehicle load, maintenance, fuel blend, and the actual price you pay. Also check that you used the right unit, date, scale, or mode because small input changes can change the result.

Does the site save what I enter?

No. The calculator runs in your browser tab. Your recent answers stay only on the page while you use it, and they are not sent to a server.

Related tools