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.
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.

More from our team
Our other websites and shops, from the makers of 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
- US Sales Tax Calculator by State — Add or remove sales tax with every state’s base rate plus your local rate.
- US Overtime Pay Calculator (Federal & California) — Overtime pay under the federal 40-hour rule or California’s daily overtime rules.
- US to Metric Converter — Miles, feet, pounds, gallons and °F to metric — and back.
Results are estimates for general information only and are not financial, tax, legal, medical or professional advice. See our Disclaimer.
