Gas Cost Calculator (MPG)

This gas cost calculator estimates the fuel cost of any road trip from miles, MPG and the price per gallon — and splits it between riders. Find out how much gas your road trip will cost using miles, MPG and price per gallon, and split it fairly between everyone in the car.

miles
MPG
$per gal
people

Result

Fill in the fields to see your result.

How to use the gas cost calculator

Gallons needed = miles ÷ MPG. Trip cost = gallons × price per gallon.

Real-world MPG is usually lower than the window-sticker number at high speeds, in heavy traffic or with a loaded car.

Use the gas cost calculator to plan a road trip budget, compare driving with flying or the bus, or share costs fairly with friends. Try a few gas prices to see how much filling up in a cheaper state can save.

Highway speeds, air conditioning and a loaded car all lower your real MPG, so round your estimate up a little for long trips.

Planning a trip in Canada instead? Use our fuel cost calculator for kilometres and litres. For rentals, check whether the car must be returned with a full tank, and add the refuelling cost to your budget if you won’t have time to fill up before drop-off.

Learn more: FuelEconomy.gov — official MPG ratings.

Gas cost calculator — United States on WebTechyTools

Frequently asked questions

Where do I find my car’s MPG?

Check your dashboard’s trip computer or look up your model on fueleconomy.gov.

More United States

See all free tools →

Results are estimates for general information only and are not financial, tax, legal, medical or professional advice. See our Disclaimer.

Scroll to Top