Trip Fuel Volume Calculator

Before any long drive it helps to know exactly how much fuel the journey will swallow, and this trip fuel volume calculator answers that in seconds. Enter the distance you plan to travel and your vehicle's fuel economy in miles per gallon, and the tool divides one by the other to show the gallons of fuel the trip will use. Add a price per gallon and it also reports the fuel cost for the journey, which makes it easy to set a travel budget, compare two possible routes, or decide whether a more efficient vehicle is worth taking. Matching the mpg to the type of driving gives the best estimate: use the highway figure for a motorway run, the city figure for stop-start traffic, or the combined rating for a mixed route. Keep in mind that the result is the fuel the trip needs at the economy you enter, with no safety margin, so real-world conditions like hills, headwinds and a loaded car can raise actual consumption. For that reason the inputs are fully editable rather than fixed. The calculation is a single division, shown in the formula below, with a worked example that reconciles exactly to the calculator defaults so you can confirm it yourself.

Trip fuel is distance divided by economy: gallons = distance / mpg. A 360 mile trip in a car returning 30 mpg needs 12.00 gallons of fuel, about $42.00 at $3.50 a gallon.

Source: US Centers for Disease Control and Prevention (CDC). As at 25 June 2026.

Fuel economy used--
Estimated fuel cost--
Fuel needed--

Trip fuel volume formula

Gallons = D / E
Fuel cost = Gallons x P
D = trip distance in miles
E = fuel economy in miles per gallon
P = price per gallon

Dividing distance by miles per gallon gives the gallons the trip consumes, and multiplying by the price per gallon converts that volume into a fuel cost for the journey.

Worked example

You plan a 360 mile trip in a car that returns 30 mpg, with gas at 3.50 a gallon.

  1. Gallons = 360 / 30 = 12 gallons
  2. Fuel cost = 12 x 3.50 = 42.00

The trip needs 12 gallons, costing about 42.00. These are the calculator's default inputs, so the result above matches the widget exactly.

Trip fuel volume calculator: frequently asked questions

How many gallons will my trip use?

Divide the trip distance by your vehicle's miles per gallon. A 360 mile trip in a car returning 30 mpg needs 360 / 30 = 12 gallons of fuel. The calculator does this for you and, if you add a price per gallon, multiplies the gallons by the price to show the fuel cost for the journey.

Should I use city or highway mpg?

Match the mpg to the kind of driving the trip involves. A mostly highway journey should use the highway figure, while a stop-start city route should use the lower city figure. For a mixed trip the combined rating is a reasonable middle ground. Because conditions change the result, the calculator lets you enter whatever mpg fits the drive.

How much fuel should I carry as a buffer?

The calculation gives the fuel the trip needs at the mpg you enter, with no margin. Headwinds, hills, traffic, cargo and lower real-world economy can push actual use higher, so plan to start with more than the bare minimum and refuel before the tank gets low, especially on remote routes with few gas stations.

Can I use this to budget fuel for the journey?

Yes. Once you know the gallons the trip needs, multiply by the price per gallon to get the fuel cost. The calculator shows both the volume and, when you enter a price, the estimated cost, which is handy for comparing routes or vehicles and for setting a realistic travel budget.

What is the trip fuel volume formula?

Gallons needed equals trip distance divided by miles per gallon. With a 360 mile trip and 30 mpg, that is 360 / 30, which equals 12 gallons. Multiplying by the price per gallon gives the fuel cost for the trip.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 25 June 2026. See our methodology. This is general information, not financial, tax, legal or investment advice.