Skip to content
TravelCostKit

Fuel cost · United States

Road trip gas cost calculator

Enter your miles, your car's mpg and the price per gallon you're paying. You'll get the gas cost, gallons needed and each passenger's share.

Your trip

miles
mpg (US)

US mpg, as on the EPA window sticker.

$/ gallon

Example value — enter the price you actually pay.

Estimated gas cost

$42.00

Total distance
300 miles
Fuel needed
12 US gal (45.4 L)
Cost per mile
$0.140
Economy in other units
9.4 L/100km · 25 US mpg · 30 UK mpg

Other countries: United Kingdom · Canada · Australia

How the gas cost is calculated

gallons = miles ÷ mpg
cost = gallons × price per gallon

Everything uses US gallons (3.785 litres). If you're comparing with a UK figure, note that a UK gallon is about 20% bigger, so UK mpg numbers look higher for the same car.

Worked example

A 300-mile drive in a car that averages 25 mpg uses 300 ÷ 25 = 12 gallons. At $3.50 a gallon that's 12 × 3.50 = $42.00 one way, or $84.00 there and back. Split between four friends, the round trip is $21.00 each.

Getting a realistic mpg

  • The EPA rating on the window sticker gives city, highway and combined mpg. For interstate driving, start from the highway figure.
  • Roof boxes, a full load, towing, air conditioning and speeds well above 65 mph all cut real-world mpg. Knock off a few mpg if any apply.
  • The most accurate number is your own: fill up, reset the trip meter, and divide miles driven by gallons at the next fill.

Prices change along the route

Gas prices vary a lot between states because of different fuel taxes, so a cross-country trip rarely has one price. Use an average of what you expect to pay, or run the calculator once per leg. This calculator never fetches prices — the price shown is only an example.

Not sure whether to drive at all? Compare it with flying in the driving vs flying calculator. Using km and litres? Try the Canada or Australia version.

Frequently asked questions

How do I split gas money with friends?
Set "People sharing the cost" to the number of people in the car. The calculator divides the total equally. For uneven splits across a whole trip, use the trip expense splitter.
Does this include tolls?
No — it's fuel only. The driving vs flying calculator lets you add tolls, parking and overnight stays.
Can I use it for an electric car?
Use the EV charging cost calculator instead — it works in kWh and includes charging losses.
Where does the gas price come from?
From you. The pre-filled price is only an example; we don't provide live or average prices, so enter what you actually see at the pump.