Travel
Gallons of fuel needed
Divide the distance by the fuel efficiency. Both must use the same distance unit and the efficiency must be expressed as distance per gallon, not the other way round.
Last updated
The Formula
G = d / e
Divide the distance by the fuel efficiency. Both must use the same distance unit and the efficiency must be expressed as distance per gallon, not the other way round.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| d | Distance travelled | miles | The full distance of the trip in miles. |
| e | Fuel efficiency | miles/gallon | Miles travelled per gallon of fuel. |
What Each Symbol Means
dmiles
Distance travelled
The full distance of the trip in miles.
emiles/gallon
Fuel efficiency
Miles travelled per 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 Gallons of fuel needed?
The formula for Gallons of fuel needed is G = d / e. Divide the distance by the fuel efficiency. Both must use the same distance unit and the efficiency must be expressed as distance per gallon, not the other way round.
What units should I use with Gallons of fuel needed?
Substitute d in miles, e in miles/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 Gallons of fuel needed?
Mixing distance and efficiency units. If the distance is in kilometres but the efficiency is in miles per gallon, the gallons figure is wrong before you begin. Convert everything to one consistent set of units first, and remember that kilometres per litre is not the same quantity as miles per gallon.