Number of people sharing the gas cost.

Gas cost $37.50 for 300 miles

Gas needed
10.71 gallons
Cost per mile
$0.125

Highway driving usually gets better MPG than city driving; check your car's rating or your own fill-up records.

Your entries are saved in this browser only.

How to calculate gas cost for a trip

Divide the distance by your car's miles per gallon (MPG) to get the gallons you'll use, then multiply by the price of gas:

  • Gallons = miles ÷ MPG
  • Gas cost = gallons × price per gallon

Worked example

A 300-mile drive in a car that gets 28 MPG uses about 10.71 gallons. At $3.50 a gallon, that's $37.50, or 12.5 cents a mile. Make it a round trip and it's $75.00, which works out to $25.00 each if three people split it.

What does my commute cost in gas?

Use the round-trip option for a daily commute, then multiply by your workdays. Driving 20 miles each way, five days a week, in a car that gets 25 MPG is 200 miles a week. At $3.50 a gallon, that's 8 gallons and about $28 a week, or roughly $1,456 a year.

Planning fuel stops on a road trip

Multiply your tank size by your MPG to see how far one tank goes. A 14-gallon tank at 28 MPG covers about 392 miles, so a 600-mile round trip needs at least one fill-up along the way. Plan to stop before the tank gets low, especially in rural areas.

Tips to spend less on gas

  • Ease off the speed: fuel economy usually drops quickly above about 50 to 60 mph.
  • Check your tires: underinflated tires waste fuel.
  • Pack light: extra weight and roof racks lower your MPG.
  • Compare gas prices along your route: prices can vary a lot from one exit to the next.

Frequently asked questions

How do I find my car's MPG?

Look up the official rating for your make and model, or measure it yourself: fill the tank, note the trip odometer at the next fill-up, and divide miles driven by gallons added. Our MPG calculator can do the math.

Does this include tolls or wear on the car?

No, it covers gas only. Tolls, parking, and wear and tear add to the real cost of driving.