Enter the total trip distance (miles), the fuel efficiency of the car (MPG), and the average cost of gas ($/gallon) into the Trip Gas Price Calculator. The calculator will evaluate and display the Trip Gas Price. 

Trip Gas Price Formula

The following formula is used to calculate the Trip Gas Price. 

GP = D / FE * C

  • Where GP is the Trip Gas Price ($)
  • D is the total trip distance (miles) 
  • FE is the fuel efficiency of the car (MPG) 
  • C is the average cost of gas ($/gallon) 

How to Calculate Trip Gas Price?

The following example problems outline how to calculate Trip Gas Price.

Example Problem #1

  1. First, determine the total trip distance (miles).
    1. The total trip distance (miles) is given as 250.
  2. Next, determine the fuel efficiency of the car (MPG). 
    1. The fuel efficiency of the car (MPG) is calculated as: 30.
  3. Next, determine the average cost of gas ($/gallon). 
    1. The average cost of gas ($/gallon) is found to be: 3.00.
  4. Finally, calculate the Trip Gas Price using the formula above: 

GP = D / FE * C

Inserting the values from above yields: 

GP = 250 / 30 * 3 = 25.00 ($)


Example Problem #2

The variables needed for this problem are provided below:

total trip distance (miles) = 700

fuel efficiency of the car (MPG) = 25

average cost of gas ($/gallon) = 4.50

This example problem is a test of your knowledge on the subject. Use the calculator above to check your answer. 

GP = D / FE * C = ($)