Home / Fuel Cost Calculator

Fuel Cost Calculator

Enter how far you are driving, your car's fuel economy and the price of gas. Add passengers to split the cost.

Your trip

mi
mpg
$/gal
Tank size (optional)
gal
Trip fuel cost
$0
Total distance
0 mi
Gas needed
0 gal
Cost per person
$0
Cost per mile
$0
Fill-ups needed
-
Highway MPG is usually higher than city MPG. Use your real number from the gas mileage calculator.

Estimates for planning only, not financial, tax or mechanical advice. Check with a professional before you decide. Terms

Question about this calculator? Ask us.

How to estimate the gas cost of a trip

  1. Get the distance from your map app. Tick Round trip if you are driving back the same way.
  2. Enter your car's MPG. Use your highway figure for long trips; it is usually 15% to 30% better than city driving.
  3. Enter the gas price along your route. Prices vary a lot between states.
  4. Add the number of people sharing the cost to see each person's share.

Fuel cost formula

Gallons = distance (mi) ÷ MPG
Fuel cost = gallons × price per gallon
Cost per person = fuel cost ÷ people

Worked example

A 600 mile drive in a car that gets 30 mpg needs 600 ÷ 30 = 20 gallons. At $3.25 a gallon that is $65.00 one way, or $130.00 for the round trip. Split between three friends, each pays about $43.33.

How MPG changes the cost of a 1,000 mile trip

Fuel economyGallonsCost at $3.25/gal
18 mpg (large SUV, pickup)55.6$180.56
25 mpg (midsize SUV)40.0$130.00
32 mpg (sedan)31.3$101.56
50 mpg (hybrid)20.0$65.00

Ways to spend less on gas on a road trip

Driving electric? Use the EV charging cost calculator instead.

Which input moves the trip cost the most

The base case is a 600 mile one-way drive at 30 mpg and $3.25 a gallon: 20 gallons and $65.00. Change one input at a time:

Fuel economy (mpg)GallonsCost at $3.25
2425.0$81.25
2623.1$75.00
2821.4$69.64
3020.0$65.00
3218.8$60.94
Gas price (30 mpg)Cost for 600 mi
$2.75$55.00
$3.25$65.00
$3.75$75.00
$4.25$85.00

Every 50 cents on the pump price is $10 on this trip. Every 2 mpg is roughly $4 to $6. If your car drops from 30 to 26 mpg because you drive faster or load it up, that costs about the same as gas getting 50 cents more expensive.

Mistakes that make the estimate wrong

Reading the fill-ups line

If you enter a tank size, the calculator shows how many stops you need after starting full: gallons needed divided by tank size, rounded up, minus one. For a 1,200 mile round trip at 30 mpg you need 40 gallons. With a 14 gallon tank that shows 2 stops. In practice nobody drives to empty, so assume you stop at about a quarter of a tank. With only 10.5 gallons usable per tank, the same trip needs 3 stops. Enter a smaller tank size than the real one to get a cautious number.

What it leaves out

The result is fuel only. Tolls, parking, food, lodging and wear on the car are not included. The calculator also assumes one steady fuel economy figure, so a trip with long climbs, headwinds or heavy city traffic will land away from it. For the full cost of owning and driving a car per mile, use the cost per mile calculator, and see worked trips in the road trip gas cost examples.

Frequently asked questions

How do I calculate gas cost for a trip?

Divide the distance by your car's miles per gallon to get gallons, then multiply by the price per gallon. A 600 mile trip at 30 mpg and $3.25 a gallon costs $65.

How much gas does a 1,000 mile trip take?

It depends on your fuel economy. At 25 mpg you need 40 gallons; at 32 mpg about 31 gallons; at 50 mpg only 20 gallons.

Should I use city or highway MPG for a road trip?

Use highway MPG for long interstate drives. If the trip includes a lot of city traffic or mountains, use a figure between the two or your measured average.

How do you split gas money fairly?

Calculate the total fuel cost for the trip and divide it by the number of people riding. Some groups exclude the driver or add a share for wear and tear on the car.

Add this calculator to your website

Free for car blogs, auto shops, tire shops and dealers: paste this code into your page (WordPress: Custom HTML block). No ads inside the widget. More options on the free calculator widgets page.

Guides for this calculator

More car calculators

Last updated November 2026.