Skip to main content
travelStandard Reference Formulas

Fuel Cost Calculator – Trip Gas & Cost/Mile

Calculate total gasoline or diesel expense for any driving trip based on distance, vehicle fuel economy (MPG or L/100km), and fuel price.

Estimated Gas Cost
$43.13
For 350 miles
Gallons Consumed
12.50 gal
Cost per Mile
$0.123 / mi

How It's Calculated: The Exact Mathematical Formula

We display the exact algebraic formula used by our JavaScript engine so you can verify results manually.

Road Trip Fuel Cost & Mileage Expense Formula
Fuel Cost = (Trip Distance / MPG) Γ— Fuel Price per Gallon

Calculates the fuel expense for road trips and commutes and computes cost per mile.

MPG:Miles per Gallon average fuel economy

Step-by-Step Worked Examples

350 Miles at 28 MPG with $3.45/gal GasExample #1

"Weekend driving trip budget."

Given Inputs:
Distance:350 miles
Fuel Economy:28 MPG
Gas Price:$3.45/gal
Calculation Steps:
  1. Gallons required = 350 / 28 = 12.50 gallons
  2. Total gas expense = 12.50 * $3.45 = $43.13
  3. Cost per mile = $43.13 / 350 = $0.123 / mile
Final Output:$43.13 Trip Fuel Cost

Important Considerations & Limitations

  • β€’City driving with frequent stop-and-go idling reduces realized fuel economy compared to highway cruise conditions.

Frequently Asked Questions

Clear, practical answers to common questions about this calculation.

Maintaining steady highway speeds, ensuring proper tire inflation pressures, and avoiding roof cargo drag can improve fuel economy by up to 15% to 20%.

Related Calculators & Converters