Trip Fuel Cost Calculator

Estimate gallons needed and gas cost for a trip or road trip from distance, MPG and gas price.

Enter a number greater than 0. One-way miles from your map app.
Enter a number greater than 0. Not sure? Use the Calculate MPG tab.
Enter a price greater than 0.

Trip fuel cost

$0.00

Enter distance, MPG and gas price.

Gas needed
—
Cost per mile
—
Total miles
—
Cost per 100 miles
—

Estimate only: real use changes with speed, traffic, load and weather.

Formula

How to calculate fuel cost for a trip

Gallons needed = trip miles ÷ MPG. Then multiply gallons by the gas price: trip fuel cost = gallons needed × price per gallon.

Gallons needed = trip miles ÷ MPG
Trip fuel cost = gallons needed × price per gallon

Road trip example

A 450-mile drive in a car that gets 28 MPG, with gas at $3.50 per gallon:

450 ÷ 28 = 16.07 gallons
16.07 × $3.50 = $56.25 one way
Round trip: 900 miles = 32.14 gallons = $112.50

Calculate gas for a road trip

Use the one-way distance from your map app, turn on round trip if you are returning by the same route, and enter the MPG your car really gets. Highway driving often uses less fuel than city driving, so your actual trip MPG may be a little better than your everyday average.

After the trip, divide the miles you actually drove by the gallons you put in to check your real trip MPG with the MPG guide.

Examples

Trip gas cost examples

Examples use $3.50 per gallon. Change the gas price in the calculator to see your own trip cost.
Trip distanceMPGGallons neededFuel cost
100 miles25 MPG4.00 gal$14.00
300 miles30 MPG10.00 gal$35.00
500 miles28 MPG17.86 gal$62.50
1,000 miles35 MPG28.57 gal$100.00

These are estimates only. Real fuel use changes with speed, traffic, weather, load, tire pressure and driving style.

FAQ

Trip fuel cost questions

How do I calculate gas cost for a trip?

Divide the trip miles by your car's MPG to get gallons needed, then multiply by the gas price. For example, 450 miles ÷ 28 MPG = 16.07 gallons, and 16.07 × $3.50 = $56.25.

How much gas do I need for a road trip?

Gas needed = trip miles ÷ MPG. A 900-mile round trip at 28 MPG needs 900 ÷ 28 = 32.14 gallons.

Should I use city MPG or highway MPG for a trip?

Use the MPG that matches the drive. Mostly highway trips usually get better MPG than city driving, so a measured highway MPG gives the closest estimate.

Does this include tolls, food or hotels?

No. This calculator estimates fuel cost only. Add tolls, parking, food and lodging separately for a full trip budget.