Trip Fuel Cost Calculator
Estimate gallons needed and gas cost for a trip or road trip from distance, MPG and gas price.
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.
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.
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.
Trip gas cost examples
| Trip distance | MPG | Gallons needed | Fuel cost |
|---|---|---|---|
| 100 miles | 25 MPG | 4.00 gal | $14.00 |
| 300 miles | 30 MPG | 10.00 gal | $35.00 |
| 500 miles | 28 MPG | 17.86 gal | $62.50 |
| 1,000 miles | 35 MPG | 28.57 gal | $100.00 |
These are estimates only. Real fuel use changes with speed, traffic, weather, load, tire pressure and driving style.
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.