Gas cost calculator for road trips Calculate

Gas cost calculator for road trips

Enter the distance, fuel economy and pump price. See total fuel, trip cost and each traveler's approximate share.

Updated 2 sources

Gas cost calculator for road trips

MyCalc · Calculation date 2026-12-01
https://mycalc.xyz/gas-cost-calculator/?fuel-cost.units=imperial#fuel-cost
Range: 0–62,137
Range: 0.23522–23,521
Range: 0–10,000
Range: 1–100
Inputs
Distance200 mi
Fuel economy28 US mpg
Fuel price3.5
Price perUS gallon
Round tripfalse
People sharing1

Results

Fuel cost
$25.00
Per person
$25.00
Fuel needed
7.143 US gal
Full trip distance
200 mi

Embed

How it’s calculated
  1. Estimate the fuel volume
    F = D × c ÷ 100
    321.8688 × 8.4005208333333 ÷ 100 = 27.0386556 L
  2. Multiply by the pump price
    C = F × p
    7.1428571428571 US gal × 3.5 = $25.00
  3. Split the fuel cost
    S = C ÷ n
    $25.00 ÷ 1 = $25.00

How to use the gas cost calculator

  1. Enter your Distance and check the selected unit.
  2. Set Fuel economy for the route and enter the posted Fuel price.
  3. Match Price per to the volume unit used by the pump.
  4. Select Round trip for an equal return leg. Enter the People sharing if you want an estimated split.

Road trip fuel formula

F=De,C=Fp,S=CnF=\frac{D}{e},\qquad C=F p,\qquad S=\frac{C}{n}

For miles and miles per gallon, DD is miles and ee is MPG. FF is gallons, pp is the price per gallon, CC is cost and nn is the number of people splitting it. For liters per hundred kilometers, multiply kilometers by consumption and divide by one hundred to get liters.

Worked example

Split the fuel cost on an interstate drive

A group knows the one-way distance, expected US miles per gallon and a pump price quoted to three decimals. Compare the total with each traveler's share.

Distance: 240 mi · Fuel economy: 30 US mpg · Fuel price: 3.759 · Price per: US gallon · Round trip: false · People sharing: 3

Fuel cost
$30.07
Per person
$10.02
Fuel needed
8 US gal
Full trip distance
240 mi

Fuel and cost for common trip distances

The vehicle and fuel price are held constant. Use your own pump price and economy for a budget.

DistanceFuel neededFuel cost
50 mi 1.786 US gal$6.25
100 mi 3.571 US gal$12.50
200 mi 7.143 US gal$25.00
300 mi 10.714 US gal$37.50
500 mi 17.857 US gal$62.50

Use one price or break a long trip into legs

For a short drive, a single pump price and recent fuel economy may be enough. On a trip that crosses into a region with different prices, estimate each leg using the price and economy that fit it. Add the totals, then compare the change with the percentage calculator if you are weighing routes.

Keep fuel separate from other road costs

The total covers fuel only. Account for tolls, parking or a rental in separate budget lines. If you are comparing with an electric vehicle and have an estimate of the charging energy, you can enter it in the meter mode of the electricity cost calculator with the energy price. Keep any fixed charging-session fee separate.

Frequently asked questions

How do I calculate the gas cost of a road trip?

Divide miles by miles per gallon to estimate US gallons. Multiply that amount by the price per US gallon. Use the full route distance, including planned stops. If your economy is in liters per hundred kilometers, the formula multiplies distance by the consumption rate after converting units.

When should I select the round trip option?

Select it if the distance you entered is for one way and you plan to make the same journey back. If the navigation app already gives the total or the legs are different lengths, add the leg distances yourself and leave the round trip option off.

Should I enter the highway or combined MPG rating?

Use the figure closest to the type of driving you expect. A route with urban stops, steep grades, a roof box or towing may use more fuel than a published highway figure suggests. A recent tank measurement from similar travel can be a useful comparison.

How should we split the cost among passengers?

The calculator divides the rounded fuel cost by the number of people sharing the expense. Include the driver in the count if they are paying a share. If people come and go along the route, split the trip into legs and allocate the cost for each separately.

Are US and imperial gallons the same size?

They are different units. A car's rating in UK miles per gallon cannot be treated as US MPG. Choose the corresponding economy unit and select the unit displayed on the pump separately. The engine converts the estimated volume into that price unit before multiplying.

Method and sources

Distance and fuel economy are converted to meters and cubic meters per meter. Fuel is converted into the selected price unit before costing. The engine rounds the total and each share to the nearest minor currency unit.

Sources

  1. U.S. Department of Energy · Fuel Economy Trip Calculator
  2. Natural Resources Canada · Understanding fuel consumption ratings

Updated

Search calculators