Travel
Fuel cost for the trip
Multiply the gallons needed by the price charged per gallon. Do this after finding the gallons, because the price applies to the whole quantity.
Last updated
The Formula
F = G x p
Multiply the gallons needed by the price charged per gallon. Do this after finding the gallons, because the price applies to the whole quantity.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| G | Gallons needed | gallons | The quantity obtained from the distance and efficiency. |
| p | Fuel price | currency/gallon | The price of one gallon of fuel. |
What Each Symbol Means
Ggallons
Gallons needed
The quantity obtained from the distance and efficiency.
pcurrency/gallon
Fuel price
The price of one gallon of fuel.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate a road trip cost page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate A Road Trip Cost, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Fuel cost for the trip?
The formula for Fuel cost for the trip is F = G x p. Multiply the gallons needed by the price charged per gallon. Do this after finding the gallons, because the price applies to the whole quantity.
What units should I use with Fuel cost for the trip?
Substitute G in gallons, p in currency/gallon. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Fuel cost for the trip?
Treating efficiency as gallons per mile. The denominator must be distance per gallon, not the reciprocal. A figure of 25 means 25 miles to the gallon; using it as 25 gallons per mile would produce an absurdly small fuel quantity. Check the units printed beside the number before dividing.