Gas Trip Cost Calculator
Estimate the fuel cost of any drive from the distance, your vehicle's MPG, and the current gas price.
Total miles you plan to drive, including the return leg if applicable.
Your vehicle's miles per gallon.
Results update as you type.
How it works
A gas trip cost calculator estimates what fuel will cost for a specific drive by combining the distance you will travel, how many miles your vehicle squeezes from a gallon, and the current pump price. Whether you are planning a cross-country road trip, weighing a weekend getaway, or splitting fuel with friends, seeing the number before you leave turns a vague sense of expense into a firm figure you can budget around. The calculation follows the fuel from distance to dollars. Dividing the trip distance by your miles per gallon gives the gallons the drive consumes, and multiplying those gallons by the price per gallon produces the total cost. Because each input scales the result directly, the tool also shows how a more efficient vehicle, a shorter route, or a cheaper fill-up changes what you pay. Road trippers comparing routes, carpoolers dividing costs fairly, and commuters checking a longer detour all use this to make driving expenses visible. Remember that fuel is only one slice of the true cost of driving — tolls, wear, and depreciation add more — so treat the result as the fuel baseline. Entering your vehicle's real-world MPG rather than the sticker figure keeps the estimate honest for the roads you actually drive.
Gallons Used = Distance ÷ MPG; Trip Cost = Gallons Used × Gas Price per Gallon
Fuel economy tells you how far one gallon carries your vehicle, so dividing the trip distance by miles per gallon returns the number of gallons the drive will burn. Multiplying that gallon count by the price you pay at the pump converts fuel into dollars. The two steps trace the trip from miles to gallons to money, isolating the three levers — distance, efficiency, and price — that each move the final cost up or down in direct proportion.
Source:Standard cost calculation
We review all our tools from time to time to ensure accuracy.
Worked example
How to use this calculator
- 1
Enter your values
Enter trip distance (miles), fuel economy (mpg) and gas price ($/gallon).
- 2
Adjust the options
Fine-tune any options to match your situation.
- 3
Read your result
Trip Fuel Cost updates instantly as you type — no button to press.
Frequently asked questions
Should I use city or highway MPG?
Match the figure to the roads you will actually drive. Long highway trips return close to the higher rated highway MPG, while stop-and-go city driving lands nearer the lower city figure. For a mixed route, use the combined rating on the fuel-economy label, or better still, your own observed average from the trip computer, which already reflects your terrain, speed, and driving style for the most accurate estimate.
Do I enter one-way or round-trip distance?
Enter whichever distance you actually intend to drive. For a round trip, add both legs together — the miles out plus the miles back — since you burn fuel in each direction. If you only know the one-way distance and plan to return the same way, double it before entering. Include any planned detours or side trips, because those extra miles consume fuel and belong in a realistic total.
Why does my real fuel cost differ from the estimate?
Real driving rarely holds a single steady MPG. Headwinds, hills, heavy loads, roof racks, air conditioning, and aggressive acceleration all lower fuel economy, while gentle highway cruising raises it. Pump prices also vary between stations and states along a route. Treat the result as a solid planning estimate, and enter a slightly conservative MPG if your trip includes mountains, towing, or lots of cold-weather idling to avoid underestimating.
How can I lower the fuel cost of a trip?
Reduce any of the three inputs. Choose a shorter or flatter route to cut distance, keep tires properly inflated and remove excess weight and roof cargo to raise MPG, and maintain a steady moderate speed since fuel economy drops sharply above about 60 mph. Filling up at cheaper stations, using fuel apps to find low prices, and carpooling to split the total all shrink what the drive costs you.
Does this work for electric vehicles?
This calculator is built for gasoline vehicles priced per gallon, so it does not directly fit EVs, which are measured in kilowatt-hours and cost per kWh. To estimate an EV trip, you would instead divide the distance by the car's miles-per-kWh efficiency and multiply by your electricity rate. The same logic applies — distance divided by efficiency, times price — but the units differ, so use an EV-specific tool for accuracy.
Related calculators
Commute Cost Calculator
Estimate the fuel cost of your daily commute per day, week, and year from distance, fuel economy, and gas price.
Split Bill Calculator
Evenly split a restaurant bill or any shared expense among any number of people, including tip.
Subscription Cost Calculator
See what your monthly subscriptions truly cost per year, over several years, and per day.