Skip to content
CalculatPage

Fuel Cost Calculator

Budget your next road trip's gas cost.

Updated November 2026 · How we build calculators

Optional. Roof boxes, towing and AC use can cut mpg by 10–25%.

Optional. Highway speeds above 65 mph reduce mpg.

Result

Your result will appear here

Enter your numbers, then press Calculate.

How the Fuel Cost Calculator works

Gallons used equal distance divided by mpg. Cost equals gallons times price per gallon.

Formula used

Gallons = miles ÷ mpg

Cost = gallons × price per gallon

Step-by-step example

Using the default values in the calculator above:

  1. Trip distance (one way): 320 miles
  2. Trip type: One way
  3. Vehicle fuel economy: 28 mpg
  4. Fuel price per gallon: $3.45
  5. People sharing the cost: 1
  6. Fuel economy penalty (AC, cargo, towing, hills): 0 %
  7. Tolls and parking (total): $0
  8. Share of trip on highways: 50 %

The calculator then applies the formula above and returns:

  • Fuel cost: $40.44 (11.7 gallons)
  • Total distance: 320 miles
  • Cost per mile (fuel only): $0.126
  • Effective fuel economy used: 27.3 mpg
  • Cost per person: $40.44

Notes on the inputs

Fuel economy penalty (AC, cargo, towing, hills)
Optional. Roof boxes, towing and AC use can cut mpg by 10–25%.
Share of trip on highways
Optional. Highway speeds above 65 mph reduce mpg.

What-if scenarios

Each table changes one input and keeps everything else at the calculator's default values.

If you change “Trip distance (one way)”
Trip distance (one way)Fuel cost
160 miles$20.22
240 miles$30.33
320 miles (default)$40.44
480 miles$60.66
640 miles$80.88
If you change “Vehicle fuel economy”
Vehicle fuel economyFuel cost
14 mpg$80.88
21 mpg$53.92
28 mpg (default)$40.44
42 mpg$26.96
56 mpg$20.22

Fuel cost for different trip distance (one way) and vehicle fuel economy

Every other input is left at its default value.

Fuel cost: Trip distance (one way) (rows) by Vehicle fuel economy (columns)
Trip distance (one way)14 mpg28 mpg42 mpg56 mpg
160 miles$40.44$20.22$13.48$10.11
240 miles$60.66$30.33$20.22$15.16
320 miles$80.88$40.44$26.96$20.22
480 miles$121.32$60.66$40.44$30.33
640 miles$161.76$80.88$53.92$40.44

Tips and background

Tire pressure, speed and cargo all affect fuel economy.

How much gas for a 320 mile trip?

At exactly 28 mpg, 320 miles uses about 11.4 gallons. With the default setting of 50% highway driving, the calculator trims fuel economy to about 27.3 mpg and shows 11.7 gallons, or $40.44 at $3.45 a gallon one way. Set the highway share to 0 to use your mpg unchanged. A round trip doubles it. Highway speeds above about 65 mph, cargo, towing and AC reduce mpg, which the adjustment fields model.

Split costs and budget extras

Divide fuel, tolls and parking between passengers. The chart shows how the total changes if gas prices move by a dollar either way. For your actual mileage use the gas mileage calculator, convert units with the fuel economy converter, and budget car costs with the auto loan calculator.

How does fuel economy change a 320 mile trip?

These use $3.45 a gallon, one way, with the default 50% highway share.

Entered mpgFuel cost
20$56.62
28$40.44
40$28.31

The calculator lowers your mpg slightly for highway driving. With 28 mpg and the highway share set to 0, the cost is $39.43.

How do load, return trips and sharing affect it?

At 28 mpg, a round trip costs $80.88, or $20.22 each when four people share. A 15% penalty for towing, cargo or hills raises the one-way cost to $47.58. That percentage is your own estimate. The result covers fuel plus any tolls you enter, not wear, tires, insurance or parking you leave out. Use a current local price and your own measured mpg from the gas mileage calculator.

Common mistakes to avoid with the Fuel Cost Calculator

  • Using sticker mpg instead of real-world mpg.
  • Forgetting tolls and parking.
  • Ignoring the extra fuel burned by speed and cargo.

Frequently asked questions

How do I find my car's mpg?

Use the gas mileage calculator.

Does speed affect fuel cost?

Yes, economy drops sharply above 60 mph.

Should I include tolls?

Add them separately.

How do I calculate gas cost for a trip?

Distance ÷ mpg × price per gallon.

How can I improve fuel economy?

Keep tires inflated, slow down on highways and remove roof racks.

How do I split gas money?

Divide the total fuel and tolls by the number of people.