Estimate a trip’s fuel cost: distance divided by MPG gives gallons, times the price per gallon gives the dollar cost. One formula plans any drive.
The example
450 miles, 30 MPG, $3.50/gal.
| A | B | |
|---|---|---|
| 1 | Item | Value |
| 2 | 450 / 30 | 15 gal |
| 3 | × $3.50 | → $52.50 |
The formula
The formula:
How it works
How it works:
distance / MPGgives the gallons the trip needs.- Multiply by price per gallon for the dollar cost.
- Split a shared trip by passengers:
cost / people. - For a round trip, double the distance first.
Compare two vehicles instantly. The same trip at 30 MPG vs 20 MPG: 450/30×3.50 = $52.50 vs 450/20×3.50 = $78.75. Building a tiny comparison — trip cost per vehicle in a column — turns “which car for the road trip” into a one-glance answer, and scales to a fleet routing decision.
Try it: interactive demo
Distance, MPG, fuel price.
Variations
Round trip
Double distance:
Cost per person
Split it:
Gallons needed
Plan fill-ups:
Pitfalls & errors
Real-world MPG. Highway vs city differ — use a realistic figure.
Round trip. Double the one-way distance if returning.
Price changes. Use the price you’ll actually pay en route.
Practice workbook
Frequently asked questions
How do I calculate trip fuel cost in Excel?
How do I split a trip's fuel among riders?
How do I handle a round trip?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class