Skip to content

Gas Cost Calculator for a Trip (Fuel Cost, Round Trip, Split)

Fuel and cost for a road trip, one way or round trip, split between passengers, in miles or km.

Inputs

Round-trip fuel cost
42.93

Use this calculator on your own site

Free embed

  • Two lines of HTML, unlimited views
  • Shows a small CalculateEveryday bar, with a credit link under the calculator

What each Gas Cost for a Trip input means

Trip distance
One-way distance in kilometres or miles, from a map app. Choose 'round trip' below rather than doubling it yourself.
Fuel efficiency
Your car's fuel economy in km/L, or mpg in US units. The figure from your own fill-ups beats the window sticker; highway driving usually gets more than the combined rating, and towns less.
Fuel price
What you pay per litre, or per gallon in US units. Use the price where you will fill up; prices along a motorway are often higher than in town.
Trip
One way or there and back. A round trip doubles the distance and the fuel.
People sharing the cost
How many people are sharing the fuel cost, driver included. Set to 1 for the whole cost.
Units
Metric (km, km/L, price per litre) or US (miles, mpg, price per gallon). Switching converts the numbers already entered.

Gas Cost for a Trip formula

fuel = distance ÷ economy (mpg or km/L) · cost = fuel × price · each = cost ÷ people

cost=de×p\text{cost} = \frac{d}{e} \times p

Divide the distance by the car's fuel economy to get the fuel the trip burns — miles ÷ mpg gives gallons, kilometres ÷ km/L gives litres — and multiply by the price you pay at the pump. A round trip doubles the distance; sharing the car divides the cost. The page shows the working, the cost per mile or kilometre, and each passenger's share. Use the economy your car actually gets on the road you will drive: highway figures beat city ones, and a loaded car, roof box or headwind uses more.

Gas Cost for a Trip worked example

A 350 km drive there and back is 700 km; at 15 km/L that is 46.67 litres, and at $0.92 a litre $42.93, or $21.47 each for two. In US terms, 220 miles each way at 35 mpg and $3.50 a gallon is 440 ÷ 35 = 12.57 gallons, $44, or $14.67 each for three.

More Gas Cost for a Trip examples

A 220-mile drive each way at 35 mpg, gas at $3.50 a gallon, three people sharing: 440 ÷ 35 = 12.57 gallons, and 12.57 × 3.50 = 44.00 for the round trip — $14.67 each.

500 miles one way in an SUV that gets 25 mpg: 500 ÷ 25 = 20 gallons, and at $3.15 a gallon that is 20 × 3.15 = 63.00, about $0.13 a mile.

Where the Gas Cost for a Trip calculator can give the wrong answer

  • The price is what you type. Fuel prices change by the week and by the station, so budget with a little extra.
  • Real economy is usually below the label, especially in traffic, at high speed, with air conditioning or a heavy load.
  • Tolls, parking and wear on the car are not fuel and are not included.
  • For an electric car, use the cost per kWh and kWh per mile instead; this page is for fuel.

Spotted a mistake? Tell us

Gas Cost for a Trip reference table

Fuel used over 100 miles at different fuel economies, and its cost at 3.50 a gallon
Fuel economy (mpg, US)Gallons per 100 milesLitres per 100 kmCost per 100 miles at 3.50 a gallon
156.6715.6823.33
205.0011.7617.50
254.009.4114.00
303.337.8411.67
352.866.7210.00
402.505.888.75
502.004.707.00
Source: Arithmetic: 100 ÷ mpg; L/100 km = 235.215 ÷ mpg, from 1 US gallon = 3.785411784 L and 1 mile = 1.609344 km (NIST)

Gas Cost for a Trip FAQ

Miles ÷ mpg × price per gallon. 300 miles at 30 mpg is 10 gallons; at {{$3.50}} a gallon, {{$35}}.