Enter the total amount paid ($) and the total gallons received (gallons) into the Gas Price Calculator. The calculator will evaluate and display the Gas Price. 

Gas Price Formula

The following formula is used to calculate the Gas Price. 

GP = AP / G

  • Where GP is the Gas Price ($/gallon)
  • AP is the total amount paid ($) 
  • G is the total gallons received (gallons) 

How to Calculate Gas Price?

The following example problems outline how to calculate Gas Price.

Example Problem #1:

  1. First, determine the total amount paid ($). 
    1. The total amount paid ($) is given as: 150.
  2. Next, determine the total gallons received (gallons). 
    1. The total gallons received (gallons) is provided as: 50.
  3. Finally, calculate the Gas Price using the equation above: 

GP = AP / G

The values given above are inserted into the equation below:

GP = 150/ 50 = 3.00 ($/gallon)


Example Problem #2: 

For this problem, the variables needed are provided below:

total amount paid ($) = 60

total gallons received (gallons) = 5

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

GP = AP / G = ?